diff --git a/DLL/arControl.Net4.dll b/DLL/arControl.Net4.dll
index 3a9c65a..a139966 100644
Binary files a/DLL/arControl.Net4.dll and b/DLL/arControl.Net4.dll differ
diff --git a/DLL/arControl.Net4.pdb b/DLL/arControl.Net4.pdb
index af9795e..a4d327f 100644
Binary files a/DLL/arControl.Net4.pdb and b/DLL/arControl.Net4.pdb differ
diff --git a/EETGW.v12.suo b/EETGW.v12.suo
index 8575ce4..dbd19da 100644
Binary files a/EETGW.v12.suo and b/EETGW.v12.suo differ
diff --git a/Project/fMain.Designer.cs b/Project/fMain.Designer.cs
index 6007875..4debd52 100644
--- a/Project/fMain.Designer.cs
+++ b/Project/fMain.Designer.cs
@@ -55,6 +55,8 @@
this.staffGridToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
this.userInfoToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
this.boardsToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
+ this.minutesToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
+ this.holidayToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
this.freeBoardToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
this.bugReportToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
this.todoListToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
@@ -81,7 +83,7 @@
this.printPreviewToolStripButton = new System.Windows.Forms.ToolStripButton();
this.toolStripSeparator2 = new System.Windows.Forms.ToolStripSeparator();
this.tbpProject = new System.Windows.Forms.ToolStripButton();
- this.minutesToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
+ this.mailFormToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
this.cmVision.SuspendLayout();
this.statusStrip1.SuspendLayout();
this.menuStrip1.SuspendLayout();
@@ -226,7 +228,8 @@
this.codesToolStripMenuItem,
this.lineCodeToolStripMenuItem,
this.staffGridToolStripMenuItem,
- this.userInfoToolStripMenuItem});
+ this.userInfoToolStripMenuItem,
+ this.mailFormToolStripMenuItem});
this.commonToolStripMenuItem.Name = "commonToolStripMenuItem";
this.commonToolStripMenuItem.Size = new System.Drawing.Size(70, 20);
this.commonToolStripMenuItem.Text = "Common";
@@ -234,35 +237,35 @@
// itemsToolStripMenuItem
//
this.itemsToolStripMenuItem.Name = "itemsToolStripMenuItem";
- this.itemsToolStripMenuItem.Size = new System.Drawing.Size(128, 22);
+ this.itemsToolStripMenuItem.Size = new System.Drawing.Size(152, 22);
this.itemsToolStripMenuItem.Text = "Items";
this.itemsToolStripMenuItem.Click += new System.EventHandler(this.itemsToolStripMenuItem_Click);
//
// codesToolStripMenuItem
//
- this.codesToolStripMenuItem.Enabled = false;
this.codesToolStripMenuItem.Name = "codesToolStripMenuItem";
- this.codesToolStripMenuItem.Size = new System.Drawing.Size(128, 22);
+ this.codesToolStripMenuItem.Size = new System.Drawing.Size(152, 22);
this.codesToolStripMenuItem.Text = "Codes";
+ this.codesToolStripMenuItem.Click += new System.EventHandler(this.codesToolStripMenuItem_Click);
//
// lineCodeToolStripMenuItem
//
this.lineCodeToolStripMenuItem.Name = "lineCodeToolStripMenuItem";
- this.lineCodeToolStripMenuItem.Size = new System.Drawing.Size(128, 22);
+ this.lineCodeToolStripMenuItem.Size = new System.Drawing.Size(152, 22);
this.lineCodeToolStripMenuItem.Text = "Line Code";
this.lineCodeToolStripMenuItem.Click += new System.EventHandler(this.lineCodeToolStripMenuItem_Click);
//
// staffGridToolStripMenuItem
//
this.staffGridToolStripMenuItem.Name = "staffGridToolStripMenuItem";
- this.staffGridToolStripMenuItem.Size = new System.Drawing.Size(128, 22);
+ this.staffGridToolStripMenuItem.Size = new System.Drawing.Size(152, 22);
this.staffGridToolStripMenuItem.Text = "Staff Grid";
this.staffGridToolStripMenuItem.Click += new System.EventHandler(this.staffGridToolStripMenuItem_Click);
//
// userInfoToolStripMenuItem
//
this.userInfoToolStripMenuItem.Name = "userInfoToolStripMenuItem";
- this.userInfoToolStripMenuItem.Size = new System.Drawing.Size(128, 22);
+ this.userInfoToolStripMenuItem.Size = new System.Drawing.Size(152, 22);
this.userInfoToolStripMenuItem.Text = "User Info";
this.userInfoToolStripMenuItem.Click += new System.EventHandler(this.userInfoToolStripMenuItem_Click);
//
@@ -270,6 +273,7 @@
//
this.boardsToolStripMenuItem.DropDownItems.AddRange(new System.Windows.Forms.ToolStripItem[] {
this.minutesToolStripMenuItem,
+ this.holidayToolStripMenuItem,
this.freeBoardToolStripMenuItem,
this.bugReportToolStripMenuItem,
this.todoListToolStripMenuItem});
@@ -277,25 +281,39 @@
this.boardsToolStripMenuItem.Size = new System.Drawing.Size(55, 20);
this.boardsToolStripMenuItem.Text = "Boards";
//
+ // minutesToolStripMenuItem
+ //
+ this.minutesToolStripMenuItem.Name = "minutesToolStripMenuItem";
+ this.minutesToolStripMenuItem.Size = new System.Drawing.Size(134, 22);
+ this.minutesToolStripMenuItem.Text = "Minutes";
+ this.minutesToolStripMenuItem.Click += new System.EventHandler(this.minutesToolStripMenuItem_Click);
+ //
+ // holidayToolStripMenuItem
+ //
+ this.holidayToolStripMenuItem.Name = "holidayToolStripMenuItem";
+ this.holidayToolStripMenuItem.Size = new System.Drawing.Size(134, 22);
+ this.holidayToolStripMenuItem.Text = "holiday";
+ this.holidayToolStripMenuItem.Click += new System.EventHandler(this.holidayToolStripMenuItem_Click);
+ //
// freeBoardToolStripMenuItem
//
this.freeBoardToolStripMenuItem.Enabled = false;
this.freeBoardToolStripMenuItem.Name = "freeBoardToolStripMenuItem";
- this.freeBoardToolStripMenuItem.Size = new System.Drawing.Size(152, 22);
+ this.freeBoardToolStripMenuItem.Size = new System.Drawing.Size(134, 22);
this.freeBoardToolStripMenuItem.Text = "Free Board";
//
// bugReportToolStripMenuItem
//
this.bugReportToolStripMenuItem.Enabled = false;
this.bugReportToolStripMenuItem.Name = "bugReportToolStripMenuItem";
- this.bugReportToolStripMenuItem.Size = new System.Drawing.Size(152, 22);
+ this.bugReportToolStripMenuItem.Size = new System.Drawing.Size(134, 22);
this.bugReportToolStripMenuItem.Text = "Bug Report";
//
// todoListToolStripMenuItem
//
this.todoListToolStripMenuItem.Enabled = false;
this.todoListToolStripMenuItem.Name = "todoListToolStripMenuItem";
- this.todoListToolStripMenuItem.Size = new System.Drawing.Size(152, 22);
+ this.todoListToolStripMenuItem.Size = new System.Drawing.Size(134, 22);
this.todoListToolStripMenuItem.Text = "Todo List";
//
// managementToolStripMenuItem
@@ -489,12 +507,12 @@
this.tbpProject.Text = "Project";
this.tbpProject.Click += new System.EventHandler(this.helpToolStripButton_Click);
//
- // minutesToolStripMenuItem
+ // mailFormToolStripMenuItem
//
- this.minutesToolStripMenuItem.Name = "minutesToolStripMenuItem";
- this.minutesToolStripMenuItem.Size = new System.Drawing.Size(152, 22);
- this.minutesToolStripMenuItem.Text = "Minutes";
- this.minutesToolStripMenuItem.Click += new System.EventHandler(this.minutesToolStripMenuItem_Click);
+ this.mailFormToolStripMenuItem.Name = "mailFormToolStripMenuItem";
+ this.mailFormToolStripMenuItem.Size = new System.Drawing.Size(152, 22);
+ this.mailFormToolStripMenuItem.Text = "Mail Form";
+ this.mailFormToolStripMenuItem.Click += new System.EventHandler(this.mailFormToolStripMenuItem_Click);
//
// fMain
//
@@ -580,6 +598,8 @@
private System.Windows.Forms.ToolStripMenuItem closeAllToolStripMenuItem;
private System.Windows.Forms.ToolStripMenuItem arrangeIconsToolStripMenuItem;
private System.Windows.Forms.ToolStripMenuItem minutesToolStripMenuItem;
+ private System.Windows.Forms.ToolStripMenuItem holidayToolStripMenuItem;
+ private System.Windows.Forms.ToolStripMenuItem mailFormToolStripMenuItem;
}
}
diff --git a/Project/fMain.cs b/Project/fMain.cs
index 7a01cfc..c5c065b 100644
--- a/Project/fMain.cs
+++ b/Project/fMain.cs
@@ -17,8 +17,7 @@ namespace Project
InitializeComponent();
this.KeyDown += (s1, e1) =>
{
- if (e1.KeyCode == Keys.Escape) this.Close();
- else if (e1.KeyCode == Keys.F12) btSetting.PerformClick();
+ if (e1.KeyCode == Keys.F12) btSetting.PerformClick();
else if (e1.KeyCode == Keys.F11) btLog.PerformClick();
else if (e1.KeyCode == Keys.F1 && e1.Control && e1.Shift)
{
@@ -310,5 +309,26 @@ namespace Project
f.Show();
}
+ private void holidayToolStripMenuItem_Click(object sender, EventArgs e)
+ {
+ var f = new FBS0000.fHolyday();
+ f.MdiParent = this;
+ f.Show();
+ }
+
+ private void codesToolStripMenuItem_Click(object sender, EventArgs e)
+ {
+ var f = new FCM0000.fCode();
+ f.MdiParent = this;
+ f.Show();
+ }
+
+ private void mailFormToolStripMenuItem_Click(object sender, EventArgs e)
+ {
+ FCM0000.fMailform f = new FCM0000.fMailform();
+ f.MdiParent = this;
+ f.Show();
+ }
+
}
}
diff --git a/Project/obj/Debug/EETGW.csproj.GenerateResource.Cache b/Project/obj/Debug/EETGW.csproj.GenerateResource.Cache
index b686e9f..b6d3cc8 100644
Binary files a/Project/obj/Debug/EETGW.csproj.GenerateResource.Cache and b/Project/obj/Debug/EETGW.csproj.GenerateResource.Cache differ
diff --git a/Project/obj/Debug/EETGW.csprojResolveAssemblyReference.cache b/Project/obj/Debug/EETGW.csprojResolveAssemblyReference.cache
index 98d7931..93085bf 100644
Binary files a/Project/obj/Debug/EETGW.csprojResolveAssemblyReference.cache and b/Project/obj/Debug/EETGW.csprojResolveAssemblyReference.cache differ
diff --git a/Project/obj/Debug/GWEE.exe b/Project/obj/Debug/GWEE.exe
index e5fc8be..4efddd1 100644
Binary files a/Project/obj/Debug/GWEE.exe and b/Project/obj/Debug/GWEE.exe differ
diff --git a/Project/obj/Debug/GWEE.pdb b/Project/obj/Debug/GWEE.pdb
index 840f95a..3d6d991 100644
Binary files a/Project/obj/Debug/GWEE.pdb and b/Project/obj/Debug/GWEE.pdb differ
diff --git a/Sub/StaffLayoutCtl/bin/Debug/StaffLayoutCtl.dll b/Sub/StaffLayoutCtl/bin/Debug/StaffLayoutCtl.dll
index 404259a..d2a7202 100644
Binary files a/Sub/StaffLayoutCtl/bin/Debug/StaffLayoutCtl.dll and b/Sub/StaffLayoutCtl/bin/Debug/StaffLayoutCtl.dll differ
diff --git a/Sub/StaffLayoutCtl/bin/Debug/StaffLayoutCtl.pdb b/Sub/StaffLayoutCtl/bin/Debug/StaffLayoutCtl.pdb
index f8009c4..8920f16 100644
Binary files a/Sub/StaffLayoutCtl/bin/Debug/StaffLayoutCtl.pdb and b/Sub/StaffLayoutCtl/bin/Debug/StaffLayoutCtl.pdb differ
diff --git a/Sub/StaffLayoutCtl/obj/Debug/StaffLayoutCtl.csproj.FileListAbsolute.txt b/Sub/StaffLayoutCtl/obj/Debug/StaffLayoutCtl.csproj.FileListAbsolute.txt
index 78a9b37..13dafb7 100644
--- a/Sub/StaffLayoutCtl/obj/Debug/StaffLayoutCtl.csproj.FileListAbsolute.txt
+++ b/Sub/StaffLayoutCtl/obj/Debug/StaffLayoutCtl.csproj.FileListAbsolute.txt
@@ -11,3 +11,4 @@ D:\Source\GroupWare\EET_GroupWare_180917_0000\Sub\StaffLayoutCtl\bin\Debug\Staff
D:\Source\GroupWare\EET_GroupWare_180917_0000\Sub\StaffLayoutCtl\bin\Debug\StaffLayoutCtl.pdb
D:\Source\GroupWare\EET_GroupWare_180917_0000\Sub\StaffLayoutCtl\obj\Debug\StaffLayoutCtl.dll
D:\Source\GroupWare\EET_GroupWare_180917_0000\Sub\StaffLayoutCtl\obj\Debug\StaffLayoutCtl.pdb
+D:\Source\GroupWare\EET_GroupWare_180917_0000\Sub\StaffLayoutCtl\obj\Debug\StaffLayoutCtl.csprojResolveAssemblyReference.cache
diff --git a/Sub/StaffLayoutCtl/obj/Debug/StaffLayoutCtl.dll b/Sub/StaffLayoutCtl/obj/Debug/StaffLayoutCtl.dll
index 404259a..d2a7202 100644
Binary files a/Sub/StaffLayoutCtl/obj/Debug/StaffLayoutCtl.dll and b/Sub/StaffLayoutCtl/obj/Debug/StaffLayoutCtl.dll differ
diff --git a/Sub/StaffLayoutCtl/obj/Debug/StaffLayoutCtl.pdb b/Sub/StaffLayoutCtl/obj/Debug/StaffLayoutCtl.pdb
index f8009c4..8920f16 100644
Binary files a/Sub/StaffLayoutCtl/obj/Debug/StaffLayoutCtl.pdb and b/Sub/StaffLayoutCtl/obj/Debug/StaffLayoutCtl.pdb differ
diff --git a/SubProject/FBS0000/FBS0000.csproj b/SubProject/FBS0000/FBS0000.csproj
index ca1a34b..5a841a7 100644
--- a/SubProject/FBS0000/FBS0000.csproj
+++ b/SubProject/FBS0000/FBS0000.csproj
@@ -40,6 +40,21 @@
+
+ ..\..\packages\NetOffice.Core.1.7.4.4\lib\net40\NetOffice.dll
+ False
+ True
+
+
+ ..\..\packages\NetOffice.Core.1.7.4.4\lib\net40\OfficeApi.dll
+ False
+ True
+
+
+ ..\..\packages\NetOffice.Outlook.1.7.4.4\lib\net40\OutlookApi.dll
+ False
+ True
+
@@ -51,6 +66,11 @@
+
+ ..\..\packages\NetOffice.Core.1.7.4.4\lib\net40\VBIDEApi.dll
+ False
+ True
+
@@ -58,6 +78,12 @@
True
dsMSSQL.xsd
+
+ Form
+
+
+ fHolyday.cs
+
Form
@@ -70,14 +96,26 @@
fMinutesDetail.cs
+
+ Form
+
+
+ fHolyday_Add.cs
+
+
+ fHolyday.cs
+
fMinutes.cs
fMinutesDetail.cs
+
+ fHolyday_Add.cs
+
ResXFileCodeGenerator
Resources.Designer.cs
@@ -100,6 +138,7 @@
dsMSSQL.xsd
+
SettingsSingleFileGenerator
Settings.Designer.cs
diff --git a/SubProject/FCM0000/FCM0000.csproj b/SubProject/FCM0000/FCM0000.csproj
index a77d9f5..6cf9e2d 100644
--- a/SubProject/FCM0000/FCM0000.csproj
+++ b/SubProject/FCM0000/FCM0000.csproj
@@ -58,6 +58,12 @@
True
dsMSSQL.xsd
+
+ Form
+
+
+ fCode.cs
+
Form
@@ -82,9 +88,18 @@
fLovItem.cs
+
+ Form
+
+
+ fMailform.cs
+
+
+ fCode.cs
+
fInventory.cs
@@ -97,6 +112,9 @@
fLovItem.cs
+
+ fMailform.cs
+
ResXFileCodeGenerator
Resources.Designer.cs
diff --git a/SubProject/FCM0000/bin/Debug/FCM0000.exe b/SubProject/FCM0000/bin/Debug/FCM0000.exe
index bce8d47..ddd210c 100644
Binary files a/SubProject/FCM0000/bin/Debug/FCM0000.exe and b/SubProject/FCM0000/bin/Debug/FCM0000.exe differ
diff --git a/SubProject/FCM0000/bin/Debug/FCM0000.pdb b/SubProject/FCM0000/bin/Debug/FCM0000.pdb
index b96d405..c376783 100644
Binary files a/SubProject/FCM0000/bin/Debug/FCM0000.pdb and b/SubProject/FCM0000/bin/Debug/FCM0000.pdb differ
diff --git a/SubProject/FCM0000/bin/Debug/FCOMMON.dll b/SubProject/FCM0000/bin/Debug/FCOMMON.dll
index 2dcd25c..aa2b4eb 100644
Binary files a/SubProject/FCM0000/bin/Debug/FCOMMON.dll and b/SubProject/FCM0000/bin/Debug/FCOMMON.dll differ
diff --git a/SubProject/FCM0000/bin/Debug/FCOMMON.pdb b/SubProject/FCM0000/bin/Debug/FCOMMON.pdb
index fce4fd1..7396ba6 100644
Binary files a/SubProject/FCM0000/bin/Debug/FCOMMON.pdb and b/SubProject/FCM0000/bin/Debug/FCOMMON.pdb differ
diff --git a/SubProject/FCM0000/bin/Debug/arControl.Net4.dll b/SubProject/FCM0000/bin/Debug/arControl.Net4.dll
index 3a9c65a..a139966 100644
Binary files a/SubProject/FCM0000/bin/Debug/arControl.Net4.dll and b/SubProject/FCM0000/bin/Debug/arControl.Net4.dll differ
diff --git a/SubProject/FCM0000/bin/Debug/arControl.Net4.pdb b/SubProject/FCM0000/bin/Debug/arControl.Net4.pdb
index af9795e..a4d327f 100644
Binary files a/SubProject/FCM0000/bin/Debug/arControl.Net4.pdb and b/SubProject/FCM0000/bin/Debug/arControl.Net4.pdb differ
diff --git a/SubProject/FCM0000/dsMSSQL.Designer.cs b/SubProject/FCM0000/dsMSSQL.Designer.cs
index 87de834..11f99ab 100644
--- a/SubProject/FCM0000/dsMSSQL.Designer.cs
+++ b/SubProject/FCM0000/dsMSSQL.Designer.cs
@@ -30,6 +30,10 @@ namespace FCM0000 {
private ProjectsDataTable tableProjects;
+ private CommonDataTable tableCommon;
+
+ private MailFormDataTable tableMailForm;
+
private global::System.Data.SchemaSerializationMode _schemaSerializationMode = global::System.Data.SchemaSerializationMode.IncludeSchema;
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
@@ -67,6 +71,12 @@ namespace FCM0000 {
if ((ds.Tables["Projects"] != null)) {
base.Tables.Add(new ProjectsDataTable(ds.Tables["Projects"]));
}
+ if ((ds.Tables["Common"] != null)) {
+ base.Tables.Add(new CommonDataTable(ds.Tables["Common"]));
+ }
+ if ((ds.Tables["MailForm"] != null)) {
+ base.Tables.Add(new MailFormDataTable(ds.Tables["MailForm"]));
+ }
this.DataSetName = ds.DataSetName;
this.Prefix = ds.Prefix;
this.Namespace = ds.Namespace;
@@ -115,6 +125,26 @@ namespace FCM0000 {
}
}
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ [global::System.ComponentModel.Browsable(false)]
+ [global::System.ComponentModel.DesignerSerializationVisibility(global::System.ComponentModel.DesignerSerializationVisibility.Content)]
+ public CommonDataTable Common {
+ get {
+ return this.tableCommon;
+ }
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ [global::System.ComponentModel.Browsable(false)]
+ [global::System.ComponentModel.DesignerSerializationVisibility(global::System.ComponentModel.DesignerSerializationVisibility.Content)]
+ public MailFormDataTable MailForm {
+ get {
+ return this.tableMailForm;
+ }
+ }
+
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
[global::System.ComponentModel.BrowsableAttribute(true)]
@@ -191,6 +221,12 @@ namespace FCM0000 {
if ((ds.Tables["Projects"] != null)) {
base.Tables.Add(new ProjectsDataTable(ds.Tables["Projects"]));
}
+ if ((ds.Tables["Common"] != null)) {
+ base.Tables.Add(new CommonDataTable(ds.Tables["Common"]));
+ }
+ if ((ds.Tables["MailForm"] != null)) {
+ base.Tables.Add(new MailFormDataTable(ds.Tables["MailForm"]));
+ }
this.DataSetName = ds.DataSetName;
this.Prefix = ds.Prefix;
this.Namespace = ds.Namespace;
@@ -242,6 +278,18 @@ namespace FCM0000 {
this.tableProjects.InitVars();
}
}
+ this.tableCommon = ((CommonDataTable)(base.Tables["Common"]));
+ if ((initTable == true)) {
+ if ((this.tableCommon != null)) {
+ this.tableCommon.InitVars();
+ }
+ }
+ this.tableMailForm = ((MailFormDataTable)(base.Tables["MailForm"]));
+ if ((initTable == true)) {
+ if ((this.tableMailForm != null)) {
+ this.tableMailForm.InitVars();
+ }
+ }
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
@@ -258,6 +306,10 @@ namespace FCM0000 {
base.Tables.Add(this.tableInventory);
this.tableProjects = new ProjectsDataTable();
base.Tables.Add(this.tableProjects);
+ this.tableCommon = new CommonDataTable();
+ base.Tables.Add(this.tableCommon);
+ this.tableMailForm = new MailFormDataTable();
+ base.Tables.Add(this.tableMailForm);
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
@@ -278,6 +330,18 @@ namespace FCM0000 {
return false;
}
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ private bool ShouldSerializeCommon() {
+ return false;
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ private bool ShouldSerializeMailForm() {
+ return false;
+ }
+
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
private void SchemaChanged(object sender, global::System.ComponentModel.CollectionChangeEventArgs e) {
@@ -342,6 +406,12 @@ namespace FCM0000 {
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
public delegate void ProjectsRowChangeEventHandler(object sender, ProjectsRowChangeEvent e);
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ public delegate void CommonRowChangeEventHandler(object sender, CommonRowChangeEvent e);
+
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ public delegate void MailFormRowChangeEventHandler(object sender, MailFormRowChangeEvent e);
+
///
///Represents the strongly named DataTable class.
///
@@ -1649,6 +1719,811 @@ namespace FCM0000 {
}
}
+ ///
+ ///Represents the strongly named DataTable class.
+ ///
+ [global::System.Serializable()]
+ [global::System.Xml.Serialization.XmlSchemaProviderAttribute("GetTypedTableSchema")]
+ public partial class CommonDataTable : global::System.Data.TypedTableBase {
+
+ private global::System.Data.DataColumn columnidx;
+
+ private global::System.Data.DataColumn columngrp;
+
+ private global::System.Data.DataColumn columncode;
+
+ private global::System.Data.DataColumn columnsvalue;
+
+ private global::System.Data.DataColumn columnivalue;
+
+ private global::System.Data.DataColumn columnfvalue;
+
+ private global::System.Data.DataColumn columnmemo;
+
+ private global::System.Data.DataColumn columnwuid;
+
+ private global::System.Data.DataColumn columnwdate;
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ public CommonDataTable() {
+ this.TableName = "Common";
+ this.BeginInit();
+ this.InitClass();
+ this.EndInit();
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ internal CommonDataTable(global::System.Data.DataTable table) {
+ this.TableName = table.TableName;
+ if ((table.CaseSensitive != table.DataSet.CaseSensitive)) {
+ this.CaseSensitive = table.CaseSensitive;
+ }
+ if ((table.Locale.ToString() != table.DataSet.Locale.ToString())) {
+ this.Locale = table.Locale;
+ }
+ if ((table.Namespace != table.DataSet.Namespace)) {
+ this.Namespace = table.Namespace;
+ }
+ this.Prefix = table.Prefix;
+ this.MinimumCapacity = table.MinimumCapacity;
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ protected CommonDataTable(global::System.Runtime.Serialization.SerializationInfo info, global::System.Runtime.Serialization.StreamingContext context) :
+ base(info, context) {
+ this.InitVars();
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ public global::System.Data.DataColumn idxColumn {
+ get {
+ return this.columnidx;
+ }
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ public global::System.Data.DataColumn grpColumn {
+ get {
+ return this.columngrp;
+ }
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ public global::System.Data.DataColumn codeColumn {
+ get {
+ return this.columncode;
+ }
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ public global::System.Data.DataColumn svalueColumn {
+ get {
+ return this.columnsvalue;
+ }
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ public global::System.Data.DataColumn ivalueColumn {
+ get {
+ return this.columnivalue;
+ }
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ public global::System.Data.DataColumn fvalueColumn {
+ get {
+ return this.columnfvalue;
+ }
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ public global::System.Data.DataColumn memoColumn {
+ get {
+ return this.columnmemo;
+ }
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ public global::System.Data.DataColumn wuidColumn {
+ get {
+ return this.columnwuid;
+ }
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ public global::System.Data.DataColumn wdateColumn {
+ get {
+ return this.columnwdate;
+ }
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ [global::System.ComponentModel.Browsable(false)]
+ public int Count {
+ get {
+ return this.Rows.Count;
+ }
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ public CommonRow this[int index] {
+ get {
+ return ((CommonRow)(this.Rows[index]));
+ }
+ }
+
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ public event CommonRowChangeEventHandler CommonRowChanging;
+
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ public event CommonRowChangeEventHandler CommonRowChanged;
+
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ public event CommonRowChangeEventHandler CommonRowDeleting;
+
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ public event CommonRowChangeEventHandler CommonRowDeleted;
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ public void AddCommonRow(CommonRow row) {
+ this.Rows.Add(row);
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ public CommonRow AddCommonRow(string grp, string code, string svalue, int ivalue, double fvalue, string memo, string wuid, System.DateTime wdate) {
+ CommonRow rowCommonRow = ((CommonRow)(this.NewRow()));
+ object[] columnValuesArray = new object[] {
+ null,
+ grp,
+ code,
+ svalue,
+ ivalue,
+ fvalue,
+ memo,
+ wuid,
+ wdate};
+ rowCommonRow.ItemArray = columnValuesArray;
+ this.Rows.Add(rowCommonRow);
+ return rowCommonRow;
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ public CommonRow FindByidx(int idx) {
+ return ((CommonRow)(this.Rows.Find(new object[] {
+ idx})));
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ public override global::System.Data.DataTable Clone() {
+ CommonDataTable cln = ((CommonDataTable)(base.Clone()));
+ cln.InitVars();
+ return cln;
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ protected override global::System.Data.DataTable CreateInstance() {
+ return new CommonDataTable();
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ internal void InitVars() {
+ this.columnidx = base.Columns["idx"];
+ this.columngrp = base.Columns["grp"];
+ this.columncode = base.Columns["code"];
+ this.columnsvalue = base.Columns["svalue"];
+ this.columnivalue = base.Columns["ivalue"];
+ this.columnfvalue = base.Columns["fvalue"];
+ this.columnmemo = base.Columns["memo"];
+ this.columnwuid = base.Columns["wuid"];
+ this.columnwdate = base.Columns["wdate"];
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ private void InitClass() {
+ this.columnidx = new global::System.Data.DataColumn("idx", typeof(int), null, global::System.Data.MappingType.Element);
+ base.Columns.Add(this.columnidx);
+ this.columngrp = new global::System.Data.DataColumn("grp", typeof(string), null, global::System.Data.MappingType.Element);
+ base.Columns.Add(this.columngrp);
+ this.columncode = new global::System.Data.DataColumn("code", typeof(string), null, global::System.Data.MappingType.Element);
+ base.Columns.Add(this.columncode);
+ this.columnsvalue = new global::System.Data.DataColumn("svalue", typeof(string), null, global::System.Data.MappingType.Element);
+ base.Columns.Add(this.columnsvalue);
+ this.columnivalue = new global::System.Data.DataColumn("ivalue", typeof(int), null, global::System.Data.MappingType.Element);
+ base.Columns.Add(this.columnivalue);
+ this.columnfvalue = new global::System.Data.DataColumn("fvalue", typeof(double), null, global::System.Data.MappingType.Element);
+ base.Columns.Add(this.columnfvalue);
+ this.columnmemo = new global::System.Data.DataColumn("memo", typeof(string), null, global::System.Data.MappingType.Element);
+ base.Columns.Add(this.columnmemo);
+ this.columnwuid = new global::System.Data.DataColumn("wuid", typeof(string), null, global::System.Data.MappingType.Element);
+ base.Columns.Add(this.columnwuid);
+ this.columnwdate = new global::System.Data.DataColumn("wdate", typeof(global::System.DateTime), null, global::System.Data.MappingType.Element);
+ base.Columns.Add(this.columnwdate);
+ this.Constraints.Add(new global::System.Data.UniqueConstraint("Constraint1", new global::System.Data.DataColumn[] {
+ this.columnidx}, true));
+ this.columnidx.AutoIncrement = true;
+ this.columnidx.AutoIncrementSeed = -1;
+ this.columnidx.AutoIncrementStep = -1;
+ this.columnidx.AllowDBNull = false;
+ this.columnidx.ReadOnly = true;
+ this.columnidx.Unique = true;
+ this.columngrp.MaxLength = 10;
+ this.columncode.MaxLength = 10;
+ this.columnsvalue.MaxLength = 20;
+ this.columnmemo.MaxLength = 32767;
+ this.columnwuid.AllowDBNull = false;
+ this.columnwuid.MaxLength = 20;
+ this.columnwdate.AllowDBNull = false;
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ public CommonRow NewCommonRow() {
+ return ((CommonRow)(this.NewRow()));
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ protected override global::System.Data.DataRow NewRowFromBuilder(global::System.Data.DataRowBuilder builder) {
+ return new CommonRow(builder);
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ protected override global::System.Type GetRowType() {
+ return typeof(CommonRow);
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ protected override void OnRowChanged(global::System.Data.DataRowChangeEventArgs e) {
+ base.OnRowChanged(e);
+ if ((this.CommonRowChanged != null)) {
+ this.CommonRowChanged(this, new CommonRowChangeEvent(((CommonRow)(e.Row)), e.Action));
+ }
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ protected override void OnRowChanging(global::System.Data.DataRowChangeEventArgs e) {
+ base.OnRowChanging(e);
+ if ((this.CommonRowChanging != null)) {
+ this.CommonRowChanging(this, new CommonRowChangeEvent(((CommonRow)(e.Row)), e.Action));
+ }
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ protected override void OnRowDeleted(global::System.Data.DataRowChangeEventArgs e) {
+ base.OnRowDeleted(e);
+ if ((this.CommonRowDeleted != null)) {
+ this.CommonRowDeleted(this, new CommonRowChangeEvent(((CommonRow)(e.Row)), e.Action));
+ }
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ protected override void OnRowDeleting(global::System.Data.DataRowChangeEventArgs e) {
+ base.OnRowDeleting(e);
+ if ((this.CommonRowDeleting != null)) {
+ this.CommonRowDeleting(this, new CommonRowChangeEvent(((CommonRow)(e.Row)), e.Action));
+ }
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ public void RemoveCommonRow(CommonRow row) {
+ this.Rows.Remove(row);
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ public static global::System.Xml.Schema.XmlSchemaComplexType GetTypedTableSchema(global::System.Xml.Schema.XmlSchemaSet xs) {
+ global::System.Xml.Schema.XmlSchemaComplexType type = new global::System.Xml.Schema.XmlSchemaComplexType();
+ global::System.Xml.Schema.XmlSchemaSequence sequence = new global::System.Xml.Schema.XmlSchemaSequence();
+ dsMSSQL ds = new dsMSSQL();
+ global::System.Xml.Schema.XmlSchemaAny any1 = new global::System.Xml.Schema.XmlSchemaAny();
+ any1.Namespace = "http://www.w3.org/2001/XMLSchema";
+ any1.MinOccurs = new decimal(0);
+ any1.MaxOccurs = decimal.MaxValue;
+ any1.ProcessContents = global::System.Xml.Schema.XmlSchemaContentProcessing.Lax;
+ sequence.Items.Add(any1);
+ global::System.Xml.Schema.XmlSchemaAny any2 = new global::System.Xml.Schema.XmlSchemaAny();
+ any2.Namespace = "urn:schemas-microsoft-com:xml-diffgram-v1";
+ any2.MinOccurs = new decimal(1);
+ any2.ProcessContents = global::System.Xml.Schema.XmlSchemaContentProcessing.Lax;
+ sequence.Items.Add(any2);
+ global::System.Xml.Schema.XmlSchemaAttribute attribute1 = new global::System.Xml.Schema.XmlSchemaAttribute();
+ attribute1.Name = "namespace";
+ attribute1.FixedValue = ds.Namespace;
+ type.Attributes.Add(attribute1);
+ global::System.Xml.Schema.XmlSchemaAttribute attribute2 = new global::System.Xml.Schema.XmlSchemaAttribute();
+ attribute2.Name = "tableTypeName";
+ attribute2.FixedValue = "CommonDataTable";
+ type.Attributes.Add(attribute2);
+ type.Particle = sequence;
+ global::System.Xml.Schema.XmlSchema dsSchema = ds.GetSchemaSerializable();
+ if (xs.Contains(dsSchema.TargetNamespace)) {
+ global::System.IO.MemoryStream s1 = new global::System.IO.MemoryStream();
+ global::System.IO.MemoryStream s2 = new global::System.IO.MemoryStream();
+ try {
+ global::System.Xml.Schema.XmlSchema schema = null;
+ dsSchema.Write(s1);
+ for (global::System.Collections.IEnumerator schemas = xs.Schemas(dsSchema.TargetNamespace).GetEnumerator(); schemas.MoveNext(); ) {
+ schema = ((global::System.Xml.Schema.XmlSchema)(schemas.Current));
+ s2.SetLength(0);
+ schema.Write(s2);
+ if ((s1.Length == s2.Length)) {
+ s1.Position = 0;
+ s2.Position = 0;
+ for (; ((s1.Position != s1.Length)
+ && (s1.ReadByte() == s2.ReadByte())); ) {
+ ;
+ }
+ if ((s1.Position == s1.Length)) {
+ return type;
+ }
+ }
+ }
+ }
+ finally {
+ if ((s1 != null)) {
+ s1.Close();
+ }
+ if ((s2 != null)) {
+ s2.Close();
+ }
+ }
+ }
+ xs.Add(dsSchema);
+ return type;
+ }
+ }
+
+ ///
+ ///Represents the strongly named DataTable class.
+ ///
+ [global::System.Serializable()]
+ [global::System.Xml.Serialization.XmlSchemaProviderAttribute("GetTypedTableSchema")]
+ public partial class MailFormDataTable : global::System.Data.TypedTableBase {
+
+ private global::System.Data.DataColumn columnidx;
+
+ private global::System.Data.DataColumn columncate;
+
+ private global::System.Data.DataColumn columntitle;
+
+ private global::System.Data.DataColumn columntolist;
+
+ private global::System.Data.DataColumn columnbcc;
+
+ private global::System.Data.DataColumn columncc;
+
+ private global::System.Data.DataColumn columnsubject;
+
+ private global::System.Data.DataColumn columntail;
+
+ private global::System.Data.DataColumn columnbody;
+
+ private global::System.Data.DataColumn columnselfTo;
+
+ private global::System.Data.DataColumn columnselfCC;
+
+ private global::System.Data.DataColumn columnselfBCC;
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ public MailFormDataTable() {
+ this.TableName = "MailForm";
+ this.BeginInit();
+ this.InitClass();
+ this.EndInit();
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ internal MailFormDataTable(global::System.Data.DataTable table) {
+ this.TableName = table.TableName;
+ if ((table.CaseSensitive != table.DataSet.CaseSensitive)) {
+ this.CaseSensitive = table.CaseSensitive;
+ }
+ if ((table.Locale.ToString() != table.DataSet.Locale.ToString())) {
+ this.Locale = table.Locale;
+ }
+ if ((table.Namespace != table.DataSet.Namespace)) {
+ this.Namespace = table.Namespace;
+ }
+ this.Prefix = table.Prefix;
+ this.MinimumCapacity = table.MinimumCapacity;
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ protected MailFormDataTable(global::System.Runtime.Serialization.SerializationInfo info, global::System.Runtime.Serialization.StreamingContext context) :
+ base(info, context) {
+ this.InitVars();
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ public global::System.Data.DataColumn idxColumn {
+ get {
+ return this.columnidx;
+ }
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ public global::System.Data.DataColumn cateColumn {
+ get {
+ return this.columncate;
+ }
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ public global::System.Data.DataColumn titleColumn {
+ get {
+ return this.columntitle;
+ }
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ public global::System.Data.DataColumn tolistColumn {
+ get {
+ return this.columntolist;
+ }
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ public global::System.Data.DataColumn bccColumn {
+ get {
+ return this.columnbcc;
+ }
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ public global::System.Data.DataColumn ccColumn {
+ get {
+ return this.columncc;
+ }
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ public global::System.Data.DataColumn subjectColumn {
+ get {
+ return this.columnsubject;
+ }
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ public global::System.Data.DataColumn tailColumn {
+ get {
+ return this.columntail;
+ }
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ public global::System.Data.DataColumn bodyColumn {
+ get {
+ return this.columnbody;
+ }
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ public global::System.Data.DataColumn selfToColumn {
+ get {
+ return this.columnselfTo;
+ }
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ public global::System.Data.DataColumn selfCCColumn {
+ get {
+ return this.columnselfCC;
+ }
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ public global::System.Data.DataColumn selfBCCColumn {
+ get {
+ return this.columnselfBCC;
+ }
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ [global::System.ComponentModel.Browsable(false)]
+ public int Count {
+ get {
+ return this.Rows.Count;
+ }
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ public MailFormRow this[int index] {
+ get {
+ return ((MailFormRow)(this.Rows[index]));
+ }
+ }
+
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ public event MailFormRowChangeEventHandler MailFormRowChanging;
+
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ public event MailFormRowChangeEventHandler MailFormRowChanged;
+
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ public event MailFormRowChangeEventHandler MailFormRowDeleting;
+
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ public event MailFormRowChangeEventHandler MailFormRowDeleted;
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ public void AddMailFormRow(MailFormRow row) {
+ this.Rows.Add(row);
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ public MailFormRow AddMailFormRow(string cate, string title, string tolist, string bcc, string cc, string subject, string tail, string body, bool selfTo, bool selfCC, bool selfBCC) {
+ MailFormRow rowMailFormRow = ((MailFormRow)(this.NewRow()));
+ object[] columnValuesArray = new object[] {
+ null,
+ cate,
+ title,
+ tolist,
+ bcc,
+ cc,
+ subject,
+ tail,
+ body,
+ selfTo,
+ selfCC,
+ selfBCC};
+ rowMailFormRow.ItemArray = columnValuesArray;
+ this.Rows.Add(rowMailFormRow);
+ return rowMailFormRow;
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ public MailFormRow FindByidx(int idx) {
+ return ((MailFormRow)(this.Rows.Find(new object[] {
+ idx})));
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ public override global::System.Data.DataTable Clone() {
+ MailFormDataTable cln = ((MailFormDataTable)(base.Clone()));
+ cln.InitVars();
+ return cln;
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ protected override global::System.Data.DataTable CreateInstance() {
+ return new MailFormDataTable();
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ internal void InitVars() {
+ this.columnidx = base.Columns["idx"];
+ this.columncate = base.Columns["cate"];
+ this.columntitle = base.Columns["title"];
+ this.columntolist = base.Columns["tolist"];
+ this.columnbcc = base.Columns["bcc"];
+ this.columncc = base.Columns["cc"];
+ this.columnsubject = base.Columns["subject"];
+ this.columntail = base.Columns["tail"];
+ this.columnbody = base.Columns["body"];
+ this.columnselfTo = base.Columns["selfTo"];
+ this.columnselfCC = base.Columns["selfCC"];
+ this.columnselfBCC = base.Columns["selfBCC"];
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ private void InitClass() {
+ this.columnidx = new global::System.Data.DataColumn("idx", typeof(int), null, global::System.Data.MappingType.Element);
+ base.Columns.Add(this.columnidx);
+ this.columncate = new global::System.Data.DataColumn("cate", typeof(string), null, global::System.Data.MappingType.Element);
+ base.Columns.Add(this.columncate);
+ this.columntitle = new global::System.Data.DataColumn("title", typeof(string), null, global::System.Data.MappingType.Element);
+ base.Columns.Add(this.columntitle);
+ this.columntolist = new global::System.Data.DataColumn("tolist", typeof(string), null, global::System.Data.MappingType.Element);
+ base.Columns.Add(this.columntolist);
+ this.columnbcc = new global::System.Data.DataColumn("bcc", typeof(string), null, global::System.Data.MappingType.Element);
+ base.Columns.Add(this.columnbcc);
+ this.columncc = new global::System.Data.DataColumn("cc", typeof(string), null, global::System.Data.MappingType.Element);
+ base.Columns.Add(this.columncc);
+ this.columnsubject = new global::System.Data.DataColumn("subject", typeof(string), null, global::System.Data.MappingType.Element);
+ base.Columns.Add(this.columnsubject);
+ this.columntail = new global::System.Data.DataColumn("tail", typeof(string), null, global::System.Data.MappingType.Element);
+ base.Columns.Add(this.columntail);
+ this.columnbody = new global::System.Data.DataColumn("body", typeof(string), null, global::System.Data.MappingType.Element);
+ base.Columns.Add(this.columnbody);
+ this.columnselfTo = new global::System.Data.DataColumn("selfTo", typeof(bool), null, global::System.Data.MappingType.Element);
+ base.Columns.Add(this.columnselfTo);
+ this.columnselfCC = new global::System.Data.DataColumn("selfCC", typeof(bool), null, global::System.Data.MappingType.Element);
+ base.Columns.Add(this.columnselfCC);
+ this.columnselfBCC = new global::System.Data.DataColumn("selfBCC", typeof(bool), null, global::System.Data.MappingType.Element);
+ base.Columns.Add(this.columnselfBCC);
+ this.Constraints.Add(new global::System.Data.UniqueConstraint("Constraint1", new global::System.Data.DataColumn[] {
+ this.columnidx}, true));
+ this.columnidx.AutoIncrement = true;
+ this.columnidx.AutoIncrementSeed = -1;
+ this.columnidx.AutoIncrementStep = -1;
+ this.columnidx.AllowDBNull = false;
+ this.columnidx.ReadOnly = true;
+ this.columnidx.Unique = true;
+ this.columncate.MaxLength = 2;
+ this.columntitle.MaxLength = 100;
+ this.columntolist.MaxLength = 2147483647;
+ this.columnbcc.MaxLength = 2147483647;
+ this.columncc.MaxLength = 2147483647;
+ this.columnsubject.MaxLength = 2147483647;
+ this.columntail.MaxLength = 2147483647;
+ this.columnbody.MaxLength = 2147483647;
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ public MailFormRow NewMailFormRow() {
+ return ((MailFormRow)(this.NewRow()));
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ protected override global::System.Data.DataRow NewRowFromBuilder(global::System.Data.DataRowBuilder builder) {
+ return new MailFormRow(builder);
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ protected override global::System.Type GetRowType() {
+ return typeof(MailFormRow);
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ protected override void OnRowChanged(global::System.Data.DataRowChangeEventArgs e) {
+ base.OnRowChanged(e);
+ if ((this.MailFormRowChanged != null)) {
+ this.MailFormRowChanged(this, new MailFormRowChangeEvent(((MailFormRow)(e.Row)), e.Action));
+ }
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ protected override void OnRowChanging(global::System.Data.DataRowChangeEventArgs e) {
+ base.OnRowChanging(e);
+ if ((this.MailFormRowChanging != null)) {
+ this.MailFormRowChanging(this, new MailFormRowChangeEvent(((MailFormRow)(e.Row)), e.Action));
+ }
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ protected override void OnRowDeleted(global::System.Data.DataRowChangeEventArgs e) {
+ base.OnRowDeleted(e);
+ if ((this.MailFormRowDeleted != null)) {
+ this.MailFormRowDeleted(this, new MailFormRowChangeEvent(((MailFormRow)(e.Row)), e.Action));
+ }
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ protected override void OnRowDeleting(global::System.Data.DataRowChangeEventArgs e) {
+ base.OnRowDeleting(e);
+ if ((this.MailFormRowDeleting != null)) {
+ this.MailFormRowDeleting(this, new MailFormRowChangeEvent(((MailFormRow)(e.Row)), e.Action));
+ }
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ public void RemoveMailFormRow(MailFormRow row) {
+ this.Rows.Remove(row);
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ public static global::System.Xml.Schema.XmlSchemaComplexType GetTypedTableSchema(global::System.Xml.Schema.XmlSchemaSet xs) {
+ global::System.Xml.Schema.XmlSchemaComplexType type = new global::System.Xml.Schema.XmlSchemaComplexType();
+ global::System.Xml.Schema.XmlSchemaSequence sequence = new global::System.Xml.Schema.XmlSchemaSequence();
+ dsMSSQL ds = new dsMSSQL();
+ global::System.Xml.Schema.XmlSchemaAny any1 = new global::System.Xml.Schema.XmlSchemaAny();
+ any1.Namespace = "http://www.w3.org/2001/XMLSchema";
+ any1.MinOccurs = new decimal(0);
+ any1.MaxOccurs = decimal.MaxValue;
+ any1.ProcessContents = global::System.Xml.Schema.XmlSchemaContentProcessing.Lax;
+ sequence.Items.Add(any1);
+ global::System.Xml.Schema.XmlSchemaAny any2 = new global::System.Xml.Schema.XmlSchemaAny();
+ any2.Namespace = "urn:schemas-microsoft-com:xml-diffgram-v1";
+ any2.MinOccurs = new decimal(1);
+ any2.ProcessContents = global::System.Xml.Schema.XmlSchemaContentProcessing.Lax;
+ sequence.Items.Add(any2);
+ global::System.Xml.Schema.XmlSchemaAttribute attribute1 = new global::System.Xml.Schema.XmlSchemaAttribute();
+ attribute1.Name = "namespace";
+ attribute1.FixedValue = ds.Namespace;
+ type.Attributes.Add(attribute1);
+ global::System.Xml.Schema.XmlSchemaAttribute attribute2 = new global::System.Xml.Schema.XmlSchemaAttribute();
+ attribute2.Name = "tableTypeName";
+ attribute2.FixedValue = "MailFormDataTable";
+ type.Attributes.Add(attribute2);
+ type.Particle = sequence;
+ global::System.Xml.Schema.XmlSchema dsSchema = ds.GetSchemaSerializable();
+ if (xs.Contains(dsSchema.TargetNamespace)) {
+ global::System.IO.MemoryStream s1 = new global::System.IO.MemoryStream();
+ global::System.IO.MemoryStream s2 = new global::System.IO.MemoryStream();
+ try {
+ global::System.Xml.Schema.XmlSchema schema = null;
+ dsSchema.Write(s1);
+ for (global::System.Collections.IEnumerator schemas = xs.Schemas(dsSchema.TargetNamespace).GetEnumerator(); schemas.MoveNext(); ) {
+ schema = ((global::System.Xml.Schema.XmlSchema)(schemas.Current));
+ s2.SetLength(0);
+ schema.Write(s2);
+ if ((s1.Length == s2.Length)) {
+ s1.Position = 0;
+ s2.Position = 0;
+ for (; ((s1.Position != s1.Length)
+ && (s1.ReadByte() == s2.ReadByte())); ) {
+ ;
+ }
+ if ((s1.Position == s1.Length)) {
+ return type;
+ }
+ }
+ }
+ }
+ finally {
+ if ((s1 != null)) {
+ s1.Close();
+ }
+ if ((s2 != null)) {
+ s2.Close();
+ }
+ }
+ }
+ xs.Add(dsSchema);
+ return type;
+ }
+ }
+
///
///Represents strongly named DataRow class.
///
@@ -2605,6 +3480,556 @@ namespace FCM0000 {
}
}
+ ///
+ ///Represents strongly named DataRow class.
+ ///
+ public partial class CommonRow : global::System.Data.DataRow {
+
+ private CommonDataTable tableCommon;
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ internal CommonRow(global::System.Data.DataRowBuilder rb) :
+ base(rb) {
+ this.tableCommon = ((CommonDataTable)(this.Table));
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ public int idx {
+ get {
+ return ((int)(this[this.tableCommon.idxColumn]));
+ }
+ set {
+ this[this.tableCommon.idxColumn] = value;
+ }
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ public string grp {
+ get {
+ try {
+ return ((string)(this[this.tableCommon.grpColumn]));
+ }
+ catch (global::System.InvalidCastException e) {
+ throw new global::System.Data.StrongTypingException("\'Common\' 테이블의 \'grp\' 열의 값이 DBNull입니다.", e);
+ }
+ }
+ set {
+ this[this.tableCommon.grpColumn] = value;
+ }
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ public string code {
+ get {
+ try {
+ return ((string)(this[this.tableCommon.codeColumn]));
+ }
+ catch (global::System.InvalidCastException e) {
+ throw new global::System.Data.StrongTypingException("\'Common\' 테이블의 \'code\' 열의 값이 DBNull입니다.", e);
+ }
+ }
+ set {
+ this[this.tableCommon.codeColumn] = value;
+ }
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ public string svalue {
+ get {
+ try {
+ return ((string)(this[this.tableCommon.svalueColumn]));
+ }
+ catch (global::System.InvalidCastException e) {
+ throw new global::System.Data.StrongTypingException("\'Common\' 테이블의 \'svalue\' 열의 값이 DBNull입니다.", e);
+ }
+ }
+ set {
+ this[this.tableCommon.svalueColumn] = value;
+ }
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ public int ivalue {
+ get {
+ try {
+ return ((int)(this[this.tableCommon.ivalueColumn]));
+ }
+ catch (global::System.InvalidCastException e) {
+ throw new global::System.Data.StrongTypingException("\'Common\' 테이블의 \'ivalue\' 열의 값이 DBNull입니다.", e);
+ }
+ }
+ set {
+ this[this.tableCommon.ivalueColumn] = value;
+ }
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ public double fvalue {
+ get {
+ try {
+ return ((double)(this[this.tableCommon.fvalueColumn]));
+ }
+ catch (global::System.InvalidCastException e) {
+ throw new global::System.Data.StrongTypingException("\'Common\' 테이블의 \'fvalue\' 열의 값이 DBNull입니다.", e);
+ }
+ }
+ set {
+ this[this.tableCommon.fvalueColumn] = value;
+ }
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ public string memo {
+ get {
+ try {
+ return ((string)(this[this.tableCommon.memoColumn]));
+ }
+ catch (global::System.InvalidCastException e) {
+ throw new global::System.Data.StrongTypingException("\'Common\' 테이블의 \'memo\' 열의 값이 DBNull입니다.", e);
+ }
+ }
+ set {
+ this[this.tableCommon.memoColumn] = value;
+ }
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ public string wuid {
+ get {
+ return ((string)(this[this.tableCommon.wuidColumn]));
+ }
+ set {
+ this[this.tableCommon.wuidColumn] = value;
+ }
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ public System.DateTime wdate {
+ get {
+ return ((global::System.DateTime)(this[this.tableCommon.wdateColumn]));
+ }
+ set {
+ this[this.tableCommon.wdateColumn] = value;
+ }
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ public bool IsgrpNull() {
+ return this.IsNull(this.tableCommon.grpColumn);
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ public void SetgrpNull() {
+ this[this.tableCommon.grpColumn] = global::System.Convert.DBNull;
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ public bool IscodeNull() {
+ return this.IsNull(this.tableCommon.codeColumn);
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ public void SetcodeNull() {
+ this[this.tableCommon.codeColumn] = global::System.Convert.DBNull;
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ public bool IssvalueNull() {
+ return this.IsNull(this.tableCommon.svalueColumn);
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ public void SetsvalueNull() {
+ this[this.tableCommon.svalueColumn] = global::System.Convert.DBNull;
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ public bool IsivalueNull() {
+ return this.IsNull(this.tableCommon.ivalueColumn);
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ public void SetivalueNull() {
+ this[this.tableCommon.ivalueColumn] = global::System.Convert.DBNull;
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ public bool IsfvalueNull() {
+ return this.IsNull(this.tableCommon.fvalueColumn);
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ public void SetfvalueNull() {
+ this[this.tableCommon.fvalueColumn] = global::System.Convert.DBNull;
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ public bool IsmemoNull() {
+ return this.IsNull(this.tableCommon.memoColumn);
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ public void SetmemoNull() {
+ this[this.tableCommon.memoColumn] = global::System.Convert.DBNull;
+ }
+ }
+
+ ///
+ ///Represents strongly named DataRow class.
+ ///
+ public partial class MailFormRow : global::System.Data.DataRow {
+
+ private MailFormDataTable tableMailForm;
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ internal MailFormRow(global::System.Data.DataRowBuilder rb) :
+ base(rb) {
+ this.tableMailForm = ((MailFormDataTable)(this.Table));
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ public int idx {
+ get {
+ return ((int)(this[this.tableMailForm.idxColumn]));
+ }
+ set {
+ this[this.tableMailForm.idxColumn] = value;
+ }
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ public string cate {
+ get {
+ if (this.IscateNull()) {
+ return string.Empty;
+ }
+ else {
+ return ((string)(this[this.tableMailForm.cateColumn]));
+ }
+ }
+ set {
+ this[this.tableMailForm.cateColumn] = value;
+ }
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ public string title {
+ get {
+ if (this.IstitleNull()) {
+ return string.Empty;
+ }
+ else {
+ return ((string)(this[this.tableMailForm.titleColumn]));
+ }
+ }
+ set {
+ this[this.tableMailForm.titleColumn] = value;
+ }
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ public string tolist {
+ get {
+ if (this.IstolistNull()) {
+ return string.Empty;
+ }
+ else {
+ return ((string)(this[this.tableMailForm.tolistColumn]));
+ }
+ }
+ set {
+ this[this.tableMailForm.tolistColumn] = value;
+ }
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ public string bcc {
+ get {
+ if (this.IsbccNull()) {
+ return string.Empty;
+ }
+ else {
+ return ((string)(this[this.tableMailForm.bccColumn]));
+ }
+ }
+ set {
+ this[this.tableMailForm.bccColumn] = value;
+ }
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ public string cc {
+ get {
+ if (this.IsccNull()) {
+ return string.Empty;
+ }
+ else {
+ return ((string)(this[this.tableMailForm.ccColumn]));
+ }
+ }
+ set {
+ this[this.tableMailForm.ccColumn] = value;
+ }
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ public string subject {
+ get {
+ if (this.IssubjectNull()) {
+ return string.Empty;
+ }
+ else {
+ return ((string)(this[this.tableMailForm.subjectColumn]));
+ }
+ }
+ set {
+ this[this.tableMailForm.subjectColumn] = value;
+ }
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ public string tail {
+ get {
+ if (this.IstailNull()) {
+ return string.Empty;
+ }
+ else {
+ return ((string)(this[this.tableMailForm.tailColumn]));
+ }
+ }
+ set {
+ this[this.tableMailForm.tailColumn] = value;
+ }
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ public string body {
+ get {
+ if (this.IsbodyNull()) {
+ return string.Empty;
+ }
+ else {
+ return ((string)(this[this.tableMailForm.bodyColumn]));
+ }
+ }
+ set {
+ this[this.tableMailForm.bodyColumn] = value;
+ }
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ public bool selfTo {
+ get {
+ if (this.IsselfToNull()) {
+ return false;
+ }
+ else {
+ return ((bool)(this[this.tableMailForm.selfToColumn]));
+ }
+ }
+ set {
+ this[this.tableMailForm.selfToColumn] = value;
+ }
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ public bool selfCC {
+ get {
+ if (this.IsselfCCNull()) {
+ return false;
+ }
+ else {
+ return ((bool)(this[this.tableMailForm.selfCCColumn]));
+ }
+ }
+ set {
+ this[this.tableMailForm.selfCCColumn] = value;
+ }
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ public bool selfBCC {
+ get {
+ if (this.IsselfBCCNull()) {
+ return false;
+ }
+ else {
+ return ((bool)(this[this.tableMailForm.selfBCCColumn]));
+ }
+ }
+ set {
+ this[this.tableMailForm.selfBCCColumn] = value;
+ }
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ public bool IscateNull() {
+ return this.IsNull(this.tableMailForm.cateColumn);
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ public void SetcateNull() {
+ this[this.tableMailForm.cateColumn] = global::System.Convert.DBNull;
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ public bool IstitleNull() {
+ return this.IsNull(this.tableMailForm.titleColumn);
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ public void SettitleNull() {
+ this[this.tableMailForm.titleColumn] = global::System.Convert.DBNull;
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ public bool IstolistNull() {
+ return this.IsNull(this.tableMailForm.tolistColumn);
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ public void SettolistNull() {
+ this[this.tableMailForm.tolistColumn] = global::System.Convert.DBNull;
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ public bool IsbccNull() {
+ return this.IsNull(this.tableMailForm.bccColumn);
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ public void SetbccNull() {
+ this[this.tableMailForm.bccColumn] = global::System.Convert.DBNull;
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ public bool IsccNull() {
+ return this.IsNull(this.tableMailForm.ccColumn);
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ public void SetccNull() {
+ this[this.tableMailForm.ccColumn] = global::System.Convert.DBNull;
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ public bool IssubjectNull() {
+ return this.IsNull(this.tableMailForm.subjectColumn);
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ public void SetsubjectNull() {
+ this[this.tableMailForm.subjectColumn] = global::System.Convert.DBNull;
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ public bool IstailNull() {
+ return this.IsNull(this.tableMailForm.tailColumn);
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ public void SettailNull() {
+ this[this.tableMailForm.tailColumn] = global::System.Convert.DBNull;
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ public bool IsbodyNull() {
+ return this.IsNull(this.tableMailForm.bodyColumn);
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ public void SetbodyNull() {
+ this[this.tableMailForm.bodyColumn] = global::System.Convert.DBNull;
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ public bool IsselfToNull() {
+ return this.IsNull(this.tableMailForm.selfToColumn);
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ public void SetselfToNull() {
+ this[this.tableMailForm.selfToColumn] = global::System.Convert.DBNull;
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ public bool IsselfCCNull() {
+ return this.IsNull(this.tableMailForm.selfCCColumn);
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ public void SetselfCCNull() {
+ this[this.tableMailForm.selfCCColumn] = global::System.Convert.DBNull;
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ public bool IsselfBCCNull() {
+ return this.IsNull(this.tableMailForm.selfBCCColumn);
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ public void SetselfBCCNull() {
+ this[this.tableMailForm.selfBCCColumn] = global::System.Convert.DBNull;
+ }
+ }
+
///
///Row event argument class
///
@@ -2706,6 +4131,74 @@ namespace FCM0000 {
}
}
}
+
+ ///
+ ///Row event argument class
+ ///
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ public class CommonRowChangeEvent : global::System.EventArgs {
+
+ private CommonRow eventRow;
+
+ private global::System.Data.DataRowAction eventAction;
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ public CommonRowChangeEvent(CommonRow row, global::System.Data.DataRowAction action) {
+ this.eventRow = row;
+ this.eventAction = action;
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ public CommonRow Row {
+ get {
+ return this.eventRow;
+ }
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ public global::System.Data.DataRowAction Action {
+ get {
+ return this.eventAction;
+ }
+ }
+ }
+
+ ///
+ ///Row event argument class
+ ///
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ public class MailFormRowChangeEvent : global::System.EventArgs {
+
+ private MailFormRow eventRow;
+
+ private global::System.Data.DataRowAction eventAction;
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ public MailFormRowChangeEvent(MailFormRow row, global::System.Data.DataRowAction action) {
+ this.eventRow = row;
+ this.eventAction = action;
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ public MailFormRow Row {
+ get {
+ return this.eventRow;
+ }
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ public global::System.Data.DataRowAction Action {
+ get {
+ return this.eventAction;
+ }
+ }
+ }
}
}
namespace FCM0000.dsMSSQLTableAdapters {
@@ -5100,6 +6593,1220 @@ SELECT idx, name, pdate, request, reqstaff, sdate, edate, odate, memo, wuid, wda
}
}
+ ///
+ ///Represents the connection and commands used to retrieve and save data.
+ ///
+ [global::System.ComponentModel.DesignerCategoryAttribute("code")]
+ [global::System.ComponentModel.ToolboxItem(true)]
+ [global::System.ComponentModel.DataObjectAttribute(true)]
+ [global::System.ComponentModel.DesignerAttribute("Microsoft.VSDesigner.DataSource.Design.TableAdapterDesigner, Microsoft.VSDesigner" +
+ ", Version=10.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a")]
+ [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")]
+ public partial class CommonTableAdapter : global::System.ComponentModel.Component {
+
+ private global::System.Data.SqlClient.SqlDataAdapter _adapter;
+
+ private global::System.Data.SqlClient.SqlConnection _connection;
+
+ private global::System.Data.SqlClient.SqlTransaction _transaction;
+
+ private global::System.Data.SqlClient.SqlCommand[] _commandCollection;
+
+ private bool _clearBeforeFill;
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ public CommonTableAdapter() {
+ this.ClearBeforeFill = true;
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ protected internal global::System.Data.SqlClient.SqlDataAdapter Adapter {
+ get {
+ if ((this._adapter == null)) {
+ this.InitAdapter();
+ }
+ return this._adapter;
+ }
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ internal global::System.Data.SqlClient.SqlConnection Connection {
+ get {
+ if ((this._connection == null)) {
+ this.InitConnection();
+ }
+ return this._connection;
+ }
+ set {
+ this._connection = value;
+ if ((this.Adapter.InsertCommand != null)) {
+ this.Adapter.InsertCommand.Connection = value;
+ }
+ if ((this.Adapter.DeleteCommand != null)) {
+ this.Adapter.DeleteCommand.Connection = value;
+ }
+ if ((this.Adapter.UpdateCommand != null)) {
+ this.Adapter.UpdateCommand.Connection = value;
+ }
+ for (int i = 0; (i < this.CommandCollection.Length); i = (i + 1)) {
+ if ((this.CommandCollection[i] != null)) {
+ ((global::System.Data.SqlClient.SqlCommand)(this.CommandCollection[i])).Connection = value;
+ }
+ }
+ }
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ internal global::System.Data.SqlClient.SqlTransaction Transaction {
+ get {
+ return this._transaction;
+ }
+ set {
+ this._transaction = value;
+ for (int i = 0; (i < this.CommandCollection.Length); i = (i + 1)) {
+ this.CommandCollection[i].Transaction = this._transaction;
+ }
+ if (((this.Adapter != null)
+ && (this.Adapter.DeleteCommand != null))) {
+ this.Adapter.DeleteCommand.Transaction = this._transaction;
+ }
+ if (((this.Adapter != null)
+ && (this.Adapter.InsertCommand != null))) {
+ this.Adapter.InsertCommand.Transaction = this._transaction;
+ }
+ if (((this.Adapter != null)
+ && (this.Adapter.UpdateCommand != null))) {
+ this.Adapter.UpdateCommand.Transaction = this._transaction;
+ }
+ }
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ protected global::System.Data.SqlClient.SqlCommand[] CommandCollection {
+ get {
+ if ((this._commandCollection == null)) {
+ this.InitCommandCollection();
+ }
+ return this._commandCollection;
+ }
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ public bool ClearBeforeFill {
+ get {
+ return this._clearBeforeFill;
+ }
+ set {
+ this._clearBeforeFill = value;
+ }
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ private void InitAdapter() {
+ this._adapter = new global::System.Data.SqlClient.SqlDataAdapter();
+ global::System.Data.Common.DataTableMapping tableMapping = new global::System.Data.Common.DataTableMapping();
+ tableMapping.SourceTable = "Table";
+ tableMapping.DataSetTable = "Common";
+ tableMapping.ColumnMappings.Add("idx", "idx");
+ tableMapping.ColumnMappings.Add("grp", "grp");
+ tableMapping.ColumnMappings.Add("code", "code");
+ tableMapping.ColumnMappings.Add("svalue", "svalue");
+ tableMapping.ColumnMappings.Add("ivalue", "ivalue");
+ tableMapping.ColumnMappings.Add("fvalue", "fvalue");
+ tableMapping.ColumnMappings.Add("memo", "memo");
+ tableMapping.ColumnMappings.Add("wuid", "wuid");
+ tableMapping.ColumnMappings.Add("wdate", "wdate");
+ this._adapter.TableMappings.Add(tableMapping);
+ this._adapter.DeleteCommand = new global::System.Data.SqlClient.SqlCommand();
+ this._adapter.DeleteCommand.Connection = this.Connection;
+ this._adapter.DeleteCommand.CommandText = @"DELETE FROM [Common] WHERE (([idx] = @Original_idx) AND ((@IsNull_grp = 1 AND [grp] IS NULL) OR ([grp] = @Original_grp)) AND ((@IsNull_code = 1 AND [code] IS NULL) OR ([code] = @Original_code)) AND ((@IsNull_svalue = 1 AND [svalue] IS NULL) OR ([svalue] = @Original_svalue)) AND ((@IsNull_ivalue = 1 AND [ivalue] IS NULL) OR ([ivalue] = @Original_ivalue)) AND ((@IsNull_fvalue = 1 AND [fvalue] IS NULL) OR ([fvalue] = @Original_fvalue)) AND ((@IsNull_memo = 1 AND [memo] IS NULL) OR ([memo] = @Original_memo)) AND ([wuid] = @Original_wuid) AND ([wdate] = @Original_wdate))";
+ this._adapter.DeleteCommand.CommandType = global::System.Data.CommandType.Text;
+ this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_idx", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "idx", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
+ this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IsNull_grp", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "grp", global::System.Data.DataRowVersion.Original, true, null, "", "", ""));
+ this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_grp", global::System.Data.SqlDbType.VarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "grp", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
+ this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IsNull_code", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "code", global::System.Data.DataRowVersion.Original, true, null, "", "", ""));
+ this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_code", global::System.Data.SqlDbType.VarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "code", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
+ this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IsNull_svalue", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "svalue", global::System.Data.DataRowVersion.Original, true, null, "", "", ""));
+ this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_svalue", global::System.Data.SqlDbType.VarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "svalue", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
+ this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IsNull_ivalue", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "ivalue", global::System.Data.DataRowVersion.Original, true, null, "", "", ""));
+ this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_ivalue", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "ivalue", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
+ this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IsNull_fvalue", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "fvalue", global::System.Data.DataRowVersion.Original, true, null, "", "", ""));
+ this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_fvalue", global::System.Data.SqlDbType.Float, 0, global::System.Data.ParameterDirection.Input, 0, 0, "fvalue", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
+ this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IsNull_memo", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "memo", global::System.Data.DataRowVersion.Original, true, null, "", "", ""));
+ this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_memo", global::System.Data.SqlDbType.VarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "memo", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
+ this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_wuid", global::System.Data.SqlDbType.VarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "wuid", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
+ this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_wdate", global::System.Data.SqlDbType.DateTime, 0, global::System.Data.ParameterDirection.Input, 0, 0, "wdate", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
+ this._adapter.InsertCommand = new global::System.Data.SqlClient.SqlCommand();
+ this._adapter.InsertCommand.Connection = this.Connection;
+ this._adapter.InsertCommand.CommandText = @"INSERT INTO [Common] ([grp], [code], [svalue], [ivalue], [fvalue], [memo], [wuid], [wdate]) VALUES (@grp, @code, @svalue, @ivalue, @fvalue, @memo, @wuid, @wdate);
+SELECT idx, grp, code, svalue, ivalue, fvalue, memo, wuid, wdate FROM Common WHERE (idx = SCOPE_IDENTITY())";
+ this._adapter.InsertCommand.CommandType = global::System.Data.CommandType.Text;
+ this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@grp", global::System.Data.SqlDbType.VarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "grp", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
+ this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@code", global::System.Data.SqlDbType.VarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "code", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
+ this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@svalue", global::System.Data.SqlDbType.VarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "svalue", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
+ this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@ivalue", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "ivalue", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
+ this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@fvalue", global::System.Data.SqlDbType.Float, 0, global::System.Data.ParameterDirection.Input, 0, 0, "fvalue", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
+ this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@memo", global::System.Data.SqlDbType.VarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "memo", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
+ this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@wuid", global::System.Data.SqlDbType.VarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "wuid", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
+ this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@wdate", global::System.Data.SqlDbType.DateTime, 0, global::System.Data.ParameterDirection.Input, 0, 0, "wdate", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
+ this._adapter.UpdateCommand = new global::System.Data.SqlClient.SqlCommand();
+ this._adapter.UpdateCommand.Connection = this.Connection;
+ this._adapter.UpdateCommand.CommandText = @"UPDATE [Common] SET [grp] = @grp, [code] = @code, [svalue] = @svalue, [ivalue] = @ivalue, [fvalue] = @fvalue, [memo] = @memo, [wuid] = @wuid, [wdate] = @wdate WHERE (([idx] = @Original_idx) AND ((@IsNull_grp = 1 AND [grp] IS NULL) OR ([grp] = @Original_grp)) AND ((@IsNull_code = 1 AND [code] IS NULL) OR ([code] = @Original_code)) AND ((@IsNull_svalue = 1 AND [svalue] IS NULL) OR ([svalue] = @Original_svalue)) AND ((@IsNull_ivalue = 1 AND [ivalue] IS NULL) OR ([ivalue] = @Original_ivalue)) AND ((@IsNull_fvalue = 1 AND [fvalue] IS NULL) OR ([fvalue] = @Original_fvalue)) AND ((@IsNull_memo = 1 AND [memo] IS NULL) OR ([memo] = @Original_memo)) AND ([wuid] = @Original_wuid) AND ([wdate] = @Original_wdate));
+SELECT idx, grp, code, svalue, ivalue, fvalue, memo, wuid, wdate FROM Common WHERE (idx = @idx)";
+ this._adapter.UpdateCommand.CommandType = global::System.Data.CommandType.Text;
+ this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@grp", global::System.Data.SqlDbType.VarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "grp", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
+ this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@code", global::System.Data.SqlDbType.VarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "code", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
+ this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@svalue", global::System.Data.SqlDbType.VarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "svalue", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
+ this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@ivalue", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "ivalue", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
+ this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@fvalue", global::System.Data.SqlDbType.Float, 0, global::System.Data.ParameterDirection.Input, 0, 0, "fvalue", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
+ this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@memo", global::System.Data.SqlDbType.VarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "memo", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
+ this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@wuid", global::System.Data.SqlDbType.VarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "wuid", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
+ this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@wdate", global::System.Data.SqlDbType.DateTime, 0, global::System.Data.ParameterDirection.Input, 0, 0, "wdate", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
+ this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_idx", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "idx", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
+ this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IsNull_grp", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "grp", global::System.Data.DataRowVersion.Original, true, null, "", "", ""));
+ this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_grp", global::System.Data.SqlDbType.VarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "grp", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
+ this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IsNull_code", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "code", global::System.Data.DataRowVersion.Original, true, null, "", "", ""));
+ this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_code", global::System.Data.SqlDbType.VarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "code", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
+ this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IsNull_svalue", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "svalue", global::System.Data.DataRowVersion.Original, true, null, "", "", ""));
+ this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_svalue", global::System.Data.SqlDbType.VarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "svalue", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
+ this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IsNull_ivalue", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "ivalue", global::System.Data.DataRowVersion.Original, true, null, "", "", ""));
+ this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_ivalue", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "ivalue", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
+ this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IsNull_fvalue", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "fvalue", global::System.Data.DataRowVersion.Original, true, null, "", "", ""));
+ this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_fvalue", global::System.Data.SqlDbType.Float, 0, global::System.Data.ParameterDirection.Input, 0, 0, "fvalue", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
+ this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IsNull_memo", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "memo", global::System.Data.DataRowVersion.Original, true, null, "", "", ""));
+ this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_memo", global::System.Data.SqlDbType.VarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "memo", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
+ this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_wuid", global::System.Data.SqlDbType.VarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "wuid", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
+ this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_wdate", global::System.Data.SqlDbType.DateTime, 0, global::System.Data.ParameterDirection.Input, 0, 0, "wdate", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
+ this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@idx", global::System.Data.SqlDbType.Int, 4, global::System.Data.ParameterDirection.Input, 0, 0, "idx", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ private void InitConnection() {
+ this._connection = new global::System.Data.SqlClient.SqlConnection();
+ this._connection.ConnectionString = global::FCM0000.Properties.Settings.Default.gwcs;
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ private void InitCommandCollection() {
+ this._commandCollection = new global::System.Data.SqlClient.SqlCommand[1];
+ this._commandCollection[0] = new global::System.Data.SqlClient.SqlCommand();
+ this._commandCollection[0].Connection = this.Connection;
+ this._commandCollection[0].CommandText = "SELECT idx, grp, code, svalue, ivalue, fvalue, memo, wuid, wdate\r\nFROM Commo" +
+ "n\r\nWHERE (grp = @grp)";
+ this._commandCollection[0].CommandType = global::System.Data.CommandType.Text;
+ this._commandCollection[0].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@grp", global::System.Data.SqlDbType.VarChar, 10, global::System.Data.ParameterDirection.Input, 0, 0, "grp", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")]
+ [global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Fill, true)]
+ public virtual int Fill(dsMSSQL.CommonDataTable dataTable, string grp) {
+ this.Adapter.SelectCommand = this.CommandCollection[0];
+ if ((grp == null)) {
+ this.Adapter.SelectCommand.Parameters[0].Value = global::System.DBNull.Value;
+ }
+ else {
+ this.Adapter.SelectCommand.Parameters[0].Value = ((string)(grp));
+ }
+ if ((this.ClearBeforeFill == true)) {
+ dataTable.Clear();
+ }
+ int returnValue = this.Adapter.Fill(dataTable);
+ return returnValue;
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")]
+ [global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Select, true)]
+ public virtual dsMSSQL.CommonDataTable GetData(string grp) {
+ this.Adapter.SelectCommand = this.CommandCollection[0];
+ if ((grp == null)) {
+ this.Adapter.SelectCommand.Parameters[0].Value = global::System.DBNull.Value;
+ }
+ else {
+ this.Adapter.SelectCommand.Parameters[0].Value = ((string)(grp));
+ }
+ dsMSSQL.CommonDataTable dataTable = new dsMSSQL.CommonDataTable();
+ this.Adapter.Fill(dataTable);
+ return dataTable;
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")]
+ public virtual int Update(dsMSSQL.CommonDataTable dataTable) {
+ return this.Adapter.Update(dataTable);
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")]
+ public virtual int Update(dsMSSQL dataSet) {
+ return this.Adapter.Update(dataSet, "Common");
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")]
+ public virtual int Update(global::System.Data.DataRow dataRow) {
+ return this.Adapter.Update(new global::System.Data.DataRow[] {
+ dataRow});
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")]
+ public virtual int Update(global::System.Data.DataRow[] dataRows) {
+ return this.Adapter.Update(dataRows);
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")]
+ [global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Delete, true)]
+ public virtual int Delete(int Original_idx, string Original_grp, string Original_code, string Original_svalue, global::System.Nullable Original_ivalue, global::System.Nullable Original_fvalue, string Original_memo, string Original_wuid, System.DateTime Original_wdate) {
+ this.Adapter.DeleteCommand.Parameters[0].Value = ((int)(Original_idx));
+ if ((Original_grp == null)) {
+ this.Adapter.DeleteCommand.Parameters[1].Value = ((object)(1));
+ this.Adapter.DeleteCommand.Parameters[2].Value = global::System.DBNull.Value;
+ }
+ else {
+ this.Adapter.DeleteCommand.Parameters[1].Value = ((object)(0));
+ this.Adapter.DeleteCommand.Parameters[2].Value = ((string)(Original_grp));
+ }
+ if ((Original_code == null)) {
+ this.Adapter.DeleteCommand.Parameters[3].Value = ((object)(1));
+ this.Adapter.DeleteCommand.Parameters[4].Value = global::System.DBNull.Value;
+ }
+ else {
+ this.Adapter.DeleteCommand.Parameters[3].Value = ((object)(0));
+ this.Adapter.DeleteCommand.Parameters[4].Value = ((string)(Original_code));
+ }
+ if ((Original_svalue == null)) {
+ this.Adapter.DeleteCommand.Parameters[5].Value = ((object)(1));
+ this.Adapter.DeleteCommand.Parameters[6].Value = global::System.DBNull.Value;
+ }
+ else {
+ this.Adapter.DeleteCommand.Parameters[5].Value = ((object)(0));
+ this.Adapter.DeleteCommand.Parameters[6].Value = ((string)(Original_svalue));
+ }
+ if ((Original_ivalue.HasValue == true)) {
+ this.Adapter.DeleteCommand.Parameters[7].Value = ((object)(0));
+ this.Adapter.DeleteCommand.Parameters[8].Value = ((int)(Original_ivalue.Value));
+ }
+ else {
+ this.Adapter.DeleteCommand.Parameters[7].Value = ((object)(1));
+ this.Adapter.DeleteCommand.Parameters[8].Value = global::System.DBNull.Value;
+ }
+ if ((Original_fvalue.HasValue == true)) {
+ this.Adapter.DeleteCommand.Parameters[9].Value = ((object)(0));
+ this.Adapter.DeleteCommand.Parameters[10].Value = ((double)(Original_fvalue.Value));
+ }
+ else {
+ this.Adapter.DeleteCommand.Parameters[9].Value = ((object)(1));
+ this.Adapter.DeleteCommand.Parameters[10].Value = global::System.DBNull.Value;
+ }
+ if ((Original_memo == null)) {
+ this.Adapter.DeleteCommand.Parameters[11].Value = ((object)(1));
+ this.Adapter.DeleteCommand.Parameters[12].Value = global::System.DBNull.Value;
+ }
+ else {
+ this.Adapter.DeleteCommand.Parameters[11].Value = ((object)(0));
+ this.Adapter.DeleteCommand.Parameters[12].Value = ((string)(Original_memo));
+ }
+ if ((Original_wuid == null)) {
+ throw new global::System.ArgumentNullException("Original_wuid");
+ }
+ else {
+ this.Adapter.DeleteCommand.Parameters[13].Value = ((string)(Original_wuid));
+ }
+ this.Adapter.DeleteCommand.Parameters[14].Value = ((System.DateTime)(Original_wdate));
+ global::System.Data.ConnectionState previousConnectionState = this.Adapter.DeleteCommand.Connection.State;
+ if (((this.Adapter.DeleteCommand.Connection.State & global::System.Data.ConnectionState.Open)
+ != global::System.Data.ConnectionState.Open)) {
+ this.Adapter.DeleteCommand.Connection.Open();
+ }
+ try {
+ int returnValue = this.Adapter.DeleteCommand.ExecuteNonQuery();
+ return returnValue;
+ }
+ finally {
+ if ((previousConnectionState == global::System.Data.ConnectionState.Closed)) {
+ this.Adapter.DeleteCommand.Connection.Close();
+ }
+ }
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")]
+ [global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Insert, true)]
+ public virtual int Insert(string grp, string code, string svalue, global::System.Nullable ivalue, global::System.Nullable fvalue, string memo, string wuid, System.DateTime wdate) {
+ if ((grp == null)) {
+ this.Adapter.InsertCommand.Parameters[0].Value = global::System.DBNull.Value;
+ }
+ else {
+ this.Adapter.InsertCommand.Parameters[0].Value = ((string)(grp));
+ }
+ if ((code == null)) {
+ this.Adapter.InsertCommand.Parameters[1].Value = global::System.DBNull.Value;
+ }
+ else {
+ this.Adapter.InsertCommand.Parameters[1].Value = ((string)(code));
+ }
+ if ((svalue == null)) {
+ this.Adapter.InsertCommand.Parameters[2].Value = global::System.DBNull.Value;
+ }
+ else {
+ this.Adapter.InsertCommand.Parameters[2].Value = ((string)(svalue));
+ }
+ if ((ivalue.HasValue == true)) {
+ this.Adapter.InsertCommand.Parameters[3].Value = ((int)(ivalue.Value));
+ }
+ else {
+ this.Adapter.InsertCommand.Parameters[3].Value = global::System.DBNull.Value;
+ }
+ if ((fvalue.HasValue == true)) {
+ this.Adapter.InsertCommand.Parameters[4].Value = ((double)(fvalue.Value));
+ }
+ else {
+ this.Adapter.InsertCommand.Parameters[4].Value = global::System.DBNull.Value;
+ }
+ if ((memo == null)) {
+ this.Adapter.InsertCommand.Parameters[5].Value = global::System.DBNull.Value;
+ }
+ else {
+ this.Adapter.InsertCommand.Parameters[5].Value = ((string)(memo));
+ }
+ if ((wuid == null)) {
+ throw new global::System.ArgumentNullException("wuid");
+ }
+ else {
+ this.Adapter.InsertCommand.Parameters[6].Value = ((string)(wuid));
+ }
+ this.Adapter.InsertCommand.Parameters[7].Value = ((System.DateTime)(wdate));
+ global::System.Data.ConnectionState previousConnectionState = this.Adapter.InsertCommand.Connection.State;
+ if (((this.Adapter.InsertCommand.Connection.State & global::System.Data.ConnectionState.Open)
+ != global::System.Data.ConnectionState.Open)) {
+ this.Adapter.InsertCommand.Connection.Open();
+ }
+ try {
+ int returnValue = this.Adapter.InsertCommand.ExecuteNonQuery();
+ return returnValue;
+ }
+ finally {
+ if ((previousConnectionState == global::System.Data.ConnectionState.Closed)) {
+ this.Adapter.InsertCommand.Connection.Close();
+ }
+ }
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")]
+ [global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Update, true)]
+ public virtual int Update(
+ string grp,
+ string code,
+ string svalue,
+ global::System.Nullable ivalue,
+ global::System.Nullable fvalue,
+ string memo,
+ string wuid,
+ System.DateTime wdate,
+ int Original_idx,
+ string Original_grp,
+ string Original_code,
+ string Original_svalue,
+ global::System.Nullable Original_ivalue,
+ global::System.Nullable Original_fvalue,
+ string Original_memo,
+ string Original_wuid,
+ System.DateTime Original_wdate,
+ int idx) {
+ if ((grp == null)) {
+ this.Adapter.UpdateCommand.Parameters[0].Value = global::System.DBNull.Value;
+ }
+ else {
+ this.Adapter.UpdateCommand.Parameters[0].Value = ((string)(grp));
+ }
+ if ((code == null)) {
+ this.Adapter.UpdateCommand.Parameters[1].Value = global::System.DBNull.Value;
+ }
+ else {
+ this.Adapter.UpdateCommand.Parameters[1].Value = ((string)(code));
+ }
+ if ((svalue == null)) {
+ this.Adapter.UpdateCommand.Parameters[2].Value = global::System.DBNull.Value;
+ }
+ else {
+ this.Adapter.UpdateCommand.Parameters[2].Value = ((string)(svalue));
+ }
+ if ((ivalue.HasValue == true)) {
+ this.Adapter.UpdateCommand.Parameters[3].Value = ((int)(ivalue.Value));
+ }
+ else {
+ this.Adapter.UpdateCommand.Parameters[3].Value = global::System.DBNull.Value;
+ }
+ if ((fvalue.HasValue == true)) {
+ this.Adapter.UpdateCommand.Parameters[4].Value = ((double)(fvalue.Value));
+ }
+ else {
+ this.Adapter.UpdateCommand.Parameters[4].Value = global::System.DBNull.Value;
+ }
+ if ((memo == null)) {
+ this.Adapter.UpdateCommand.Parameters[5].Value = global::System.DBNull.Value;
+ }
+ else {
+ this.Adapter.UpdateCommand.Parameters[5].Value = ((string)(memo));
+ }
+ if ((wuid == null)) {
+ throw new global::System.ArgumentNullException("wuid");
+ }
+ else {
+ this.Adapter.UpdateCommand.Parameters[6].Value = ((string)(wuid));
+ }
+ this.Adapter.UpdateCommand.Parameters[7].Value = ((System.DateTime)(wdate));
+ this.Adapter.UpdateCommand.Parameters[8].Value = ((int)(Original_idx));
+ if ((Original_grp == null)) {
+ this.Adapter.UpdateCommand.Parameters[9].Value = ((object)(1));
+ this.Adapter.UpdateCommand.Parameters[10].Value = global::System.DBNull.Value;
+ }
+ else {
+ this.Adapter.UpdateCommand.Parameters[9].Value = ((object)(0));
+ this.Adapter.UpdateCommand.Parameters[10].Value = ((string)(Original_grp));
+ }
+ if ((Original_code == null)) {
+ this.Adapter.UpdateCommand.Parameters[11].Value = ((object)(1));
+ this.Adapter.UpdateCommand.Parameters[12].Value = global::System.DBNull.Value;
+ }
+ else {
+ this.Adapter.UpdateCommand.Parameters[11].Value = ((object)(0));
+ this.Adapter.UpdateCommand.Parameters[12].Value = ((string)(Original_code));
+ }
+ if ((Original_svalue == null)) {
+ this.Adapter.UpdateCommand.Parameters[13].Value = ((object)(1));
+ this.Adapter.UpdateCommand.Parameters[14].Value = global::System.DBNull.Value;
+ }
+ else {
+ this.Adapter.UpdateCommand.Parameters[13].Value = ((object)(0));
+ this.Adapter.UpdateCommand.Parameters[14].Value = ((string)(Original_svalue));
+ }
+ if ((Original_ivalue.HasValue == true)) {
+ this.Adapter.UpdateCommand.Parameters[15].Value = ((object)(0));
+ this.Adapter.UpdateCommand.Parameters[16].Value = ((int)(Original_ivalue.Value));
+ }
+ else {
+ this.Adapter.UpdateCommand.Parameters[15].Value = ((object)(1));
+ this.Adapter.UpdateCommand.Parameters[16].Value = global::System.DBNull.Value;
+ }
+ if ((Original_fvalue.HasValue == true)) {
+ this.Adapter.UpdateCommand.Parameters[17].Value = ((object)(0));
+ this.Adapter.UpdateCommand.Parameters[18].Value = ((double)(Original_fvalue.Value));
+ }
+ else {
+ this.Adapter.UpdateCommand.Parameters[17].Value = ((object)(1));
+ this.Adapter.UpdateCommand.Parameters[18].Value = global::System.DBNull.Value;
+ }
+ if ((Original_memo == null)) {
+ this.Adapter.UpdateCommand.Parameters[19].Value = ((object)(1));
+ this.Adapter.UpdateCommand.Parameters[20].Value = global::System.DBNull.Value;
+ }
+ else {
+ this.Adapter.UpdateCommand.Parameters[19].Value = ((object)(0));
+ this.Adapter.UpdateCommand.Parameters[20].Value = ((string)(Original_memo));
+ }
+ if ((Original_wuid == null)) {
+ throw new global::System.ArgumentNullException("Original_wuid");
+ }
+ else {
+ this.Adapter.UpdateCommand.Parameters[21].Value = ((string)(Original_wuid));
+ }
+ this.Adapter.UpdateCommand.Parameters[22].Value = ((System.DateTime)(Original_wdate));
+ this.Adapter.UpdateCommand.Parameters[23].Value = ((int)(idx));
+ global::System.Data.ConnectionState previousConnectionState = this.Adapter.UpdateCommand.Connection.State;
+ if (((this.Adapter.UpdateCommand.Connection.State & global::System.Data.ConnectionState.Open)
+ != global::System.Data.ConnectionState.Open)) {
+ this.Adapter.UpdateCommand.Connection.Open();
+ }
+ try {
+ int returnValue = this.Adapter.UpdateCommand.ExecuteNonQuery();
+ return returnValue;
+ }
+ finally {
+ if ((previousConnectionState == global::System.Data.ConnectionState.Closed)) {
+ this.Adapter.UpdateCommand.Connection.Close();
+ }
+ }
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")]
+ [global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Update, true)]
+ public virtual int Update(
+ string grp,
+ string code,
+ string svalue,
+ global::System.Nullable ivalue,
+ global::System.Nullable fvalue,
+ string memo,
+ string wuid,
+ System.DateTime wdate,
+ int Original_idx,
+ string Original_grp,
+ string Original_code,
+ string Original_svalue,
+ global::System.Nullable Original_ivalue,
+ global::System.Nullable Original_fvalue,
+ string Original_memo,
+ string Original_wuid,
+ System.DateTime Original_wdate) {
+ return this.Update(grp, code, svalue, ivalue, fvalue, memo, wuid, wdate, Original_idx, Original_grp, Original_code, Original_svalue, Original_ivalue, Original_fvalue, Original_memo, Original_wuid, Original_wdate, Original_idx);
+ }
+ }
+
+ ///
+ ///Represents the connection and commands used to retrieve and save data.
+ ///
+ [global::System.ComponentModel.DesignerCategoryAttribute("code")]
+ [global::System.ComponentModel.ToolboxItem(true)]
+ [global::System.ComponentModel.DataObjectAttribute(true)]
+ [global::System.ComponentModel.DesignerAttribute("Microsoft.VSDesigner.DataSource.Design.TableAdapterDesigner, Microsoft.VSDesigner" +
+ ", Version=10.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a")]
+ [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")]
+ public partial class MailFormTableAdapter : global::System.ComponentModel.Component {
+
+ private global::System.Data.SqlClient.SqlDataAdapter _adapter;
+
+ private global::System.Data.SqlClient.SqlConnection _connection;
+
+ private global::System.Data.SqlClient.SqlTransaction _transaction;
+
+ private global::System.Data.SqlClient.SqlCommand[] _commandCollection;
+
+ private bool _clearBeforeFill;
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ public MailFormTableAdapter() {
+ this.ClearBeforeFill = true;
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ protected internal global::System.Data.SqlClient.SqlDataAdapter Adapter {
+ get {
+ if ((this._adapter == null)) {
+ this.InitAdapter();
+ }
+ return this._adapter;
+ }
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ internal global::System.Data.SqlClient.SqlConnection Connection {
+ get {
+ if ((this._connection == null)) {
+ this.InitConnection();
+ }
+ return this._connection;
+ }
+ set {
+ this._connection = value;
+ if ((this.Adapter.InsertCommand != null)) {
+ this.Adapter.InsertCommand.Connection = value;
+ }
+ if ((this.Adapter.DeleteCommand != null)) {
+ this.Adapter.DeleteCommand.Connection = value;
+ }
+ if ((this.Adapter.UpdateCommand != null)) {
+ this.Adapter.UpdateCommand.Connection = value;
+ }
+ for (int i = 0; (i < this.CommandCollection.Length); i = (i + 1)) {
+ if ((this.CommandCollection[i] != null)) {
+ ((global::System.Data.SqlClient.SqlCommand)(this.CommandCollection[i])).Connection = value;
+ }
+ }
+ }
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ internal global::System.Data.SqlClient.SqlTransaction Transaction {
+ get {
+ return this._transaction;
+ }
+ set {
+ this._transaction = value;
+ for (int i = 0; (i < this.CommandCollection.Length); i = (i + 1)) {
+ this.CommandCollection[i].Transaction = this._transaction;
+ }
+ if (((this.Adapter != null)
+ && (this.Adapter.DeleteCommand != null))) {
+ this.Adapter.DeleteCommand.Transaction = this._transaction;
+ }
+ if (((this.Adapter != null)
+ && (this.Adapter.InsertCommand != null))) {
+ this.Adapter.InsertCommand.Transaction = this._transaction;
+ }
+ if (((this.Adapter != null)
+ && (this.Adapter.UpdateCommand != null))) {
+ this.Adapter.UpdateCommand.Transaction = this._transaction;
+ }
+ }
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ protected global::System.Data.SqlClient.SqlCommand[] CommandCollection {
+ get {
+ if ((this._commandCollection == null)) {
+ this.InitCommandCollection();
+ }
+ return this._commandCollection;
+ }
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ public bool ClearBeforeFill {
+ get {
+ return this._clearBeforeFill;
+ }
+ set {
+ this._clearBeforeFill = value;
+ }
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ private void InitAdapter() {
+ this._adapter = new global::System.Data.SqlClient.SqlDataAdapter();
+ global::System.Data.Common.DataTableMapping tableMapping = new global::System.Data.Common.DataTableMapping();
+ tableMapping.SourceTable = "Table";
+ tableMapping.DataSetTable = "MailForm";
+ tableMapping.ColumnMappings.Add("idx", "idx");
+ tableMapping.ColumnMappings.Add("cate", "cate");
+ tableMapping.ColumnMappings.Add("title", "title");
+ tableMapping.ColumnMappings.Add("tolist", "tolist");
+ tableMapping.ColumnMappings.Add("bcc", "bcc");
+ tableMapping.ColumnMappings.Add("cc", "cc");
+ tableMapping.ColumnMappings.Add("subject", "subject");
+ tableMapping.ColumnMappings.Add("tail", "tail");
+ tableMapping.ColumnMappings.Add("body", "body");
+ tableMapping.ColumnMappings.Add("selfTo", "selfTo");
+ tableMapping.ColumnMappings.Add("selfCC", "selfCC");
+ tableMapping.ColumnMappings.Add("selfBCC", "selfBCC");
+ this._adapter.TableMappings.Add(tableMapping);
+ this._adapter.DeleteCommand = new global::System.Data.SqlClient.SqlCommand();
+ this._adapter.DeleteCommand.Connection = this.Connection;
+ this._adapter.DeleteCommand.CommandText = @"DELETE FROM [MailForm] WHERE (([idx] = @Original_idx) AND ((@IsNull_cate = 1 AND [cate] IS NULL) OR ([cate] = @Original_cate)) AND ((@IsNull_title = 1 AND [title] IS NULL) OR ([title] = @Original_title)) AND ((@IsNull_selfTo = 1 AND [selfTo] IS NULL) OR ([selfTo] = @Original_selfTo)) AND ((@IsNull_selfCC = 1 AND [selfCC] IS NULL) OR ([selfCC] = @Original_selfCC)) AND ((@IsNull_selfBCC = 1 AND [selfBCC] IS NULL) OR ([selfBCC] = @Original_selfBCC)))";
+ this._adapter.DeleteCommand.CommandType = global::System.Data.CommandType.Text;
+ this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_idx", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "idx", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
+ this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IsNull_cate", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "cate", global::System.Data.DataRowVersion.Original, true, null, "", "", ""));
+ this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_cate", global::System.Data.SqlDbType.VarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "cate", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
+ this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IsNull_title", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "title", global::System.Data.DataRowVersion.Original, true, null, "", "", ""));
+ this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_title", global::System.Data.SqlDbType.VarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "title", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
+ this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IsNull_selfTo", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "selfTo", global::System.Data.DataRowVersion.Original, true, null, "", "", ""));
+ this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_selfTo", global::System.Data.SqlDbType.Bit, 0, global::System.Data.ParameterDirection.Input, 0, 0, "selfTo", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
+ this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IsNull_selfCC", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "selfCC", global::System.Data.DataRowVersion.Original, true, null, "", "", ""));
+ this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_selfCC", global::System.Data.SqlDbType.Bit, 0, global::System.Data.ParameterDirection.Input, 0, 0, "selfCC", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
+ this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IsNull_selfBCC", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "selfBCC", global::System.Data.DataRowVersion.Original, true, null, "", "", ""));
+ this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_selfBCC", global::System.Data.SqlDbType.Bit, 0, global::System.Data.ParameterDirection.Input, 0, 0, "selfBCC", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
+ this._adapter.InsertCommand = new global::System.Data.SqlClient.SqlCommand();
+ this._adapter.InsertCommand.Connection = this.Connection;
+ this._adapter.InsertCommand.CommandText = @"INSERT INTO [MailForm] ([cate], [title], [tolist], [bcc], [cc], [subject], [tail], [body], [selfTo], [selfCC], [selfBCC]) VALUES (@cate, @title, @tolist, @bcc, @cc, @subject, @tail, @body, @selfTo, @selfCC, @selfBCC);
+SELECT idx, cate, title, tolist, bcc, cc, subject, tail, body, selfTo, selfCC, selfBCC FROM MailForm WHERE (idx = SCOPE_IDENTITY())";
+ this._adapter.InsertCommand.CommandType = global::System.Data.CommandType.Text;
+ this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@cate", global::System.Data.SqlDbType.VarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "cate", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
+ this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@title", global::System.Data.SqlDbType.VarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "title", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
+ this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@tolist", global::System.Data.SqlDbType.VarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "tolist", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
+ this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@bcc", global::System.Data.SqlDbType.VarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "bcc", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
+ this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@cc", global::System.Data.SqlDbType.VarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "cc", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
+ this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@subject", global::System.Data.SqlDbType.VarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "subject", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
+ this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@tail", global::System.Data.SqlDbType.VarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "tail", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
+ this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@body", global::System.Data.SqlDbType.VarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "body", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
+ this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@selfTo", global::System.Data.SqlDbType.Bit, 0, global::System.Data.ParameterDirection.Input, 0, 0, "selfTo", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
+ this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@selfCC", global::System.Data.SqlDbType.Bit, 0, global::System.Data.ParameterDirection.Input, 0, 0, "selfCC", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
+ this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@selfBCC", global::System.Data.SqlDbType.Bit, 0, global::System.Data.ParameterDirection.Input, 0, 0, "selfBCC", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
+ this._adapter.UpdateCommand = new global::System.Data.SqlClient.SqlCommand();
+ this._adapter.UpdateCommand.Connection = this.Connection;
+ this._adapter.UpdateCommand.CommandText = @"UPDATE [MailForm] SET [cate] = @cate, [title] = @title, [tolist] = @tolist, [bcc] = @bcc, [cc] = @cc, [subject] = @subject, [tail] = @tail, [body] = @body, [selfTo] = @selfTo, [selfCC] = @selfCC, [selfBCC] = @selfBCC WHERE (([idx] = @Original_idx) AND ((@IsNull_cate = 1 AND [cate] IS NULL) OR ([cate] = @Original_cate)) AND ((@IsNull_title = 1 AND [title] IS NULL) OR ([title] = @Original_title)) AND ((@IsNull_selfTo = 1 AND [selfTo] IS NULL) OR ([selfTo] = @Original_selfTo)) AND ((@IsNull_selfCC = 1 AND [selfCC] IS NULL) OR ([selfCC] = @Original_selfCC)) AND ((@IsNull_selfBCC = 1 AND [selfBCC] IS NULL) OR ([selfBCC] = @Original_selfBCC)));
+SELECT idx, cate, title, tolist, bcc, cc, subject, tail, body, selfTo, selfCC, selfBCC FROM MailForm WHERE (idx = @idx)";
+ this._adapter.UpdateCommand.CommandType = global::System.Data.CommandType.Text;
+ this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@cate", global::System.Data.SqlDbType.VarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "cate", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
+ this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@title", global::System.Data.SqlDbType.VarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "title", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
+ this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@tolist", global::System.Data.SqlDbType.VarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "tolist", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
+ this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@bcc", global::System.Data.SqlDbType.VarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "bcc", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
+ this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@cc", global::System.Data.SqlDbType.VarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "cc", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
+ this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@subject", global::System.Data.SqlDbType.VarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "subject", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
+ this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@tail", global::System.Data.SqlDbType.VarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "tail", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
+ this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@body", global::System.Data.SqlDbType.VarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "body", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
+ this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@selfTo", global::System.Data.SqlDbType.Bit, 0, global::System.Data.ParameterDirection.Input, 0, 0, "selfTo", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
+ this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@selfCC", global::System.Data.SqlDbType.Bit, 0, global::System.Data.ParameterDirection.Input, 0, 0, "selfCC", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
+ this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@selfBCC", global::System.Data.SqlDbType.Bit, 0, global::System.Data.ParameterDirection.Input, 0, 0, "selfBCC", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
+ this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_idx", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "idx", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
+ this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IsNull_cate", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "cate", global::System.Data.DataRowVersion.Original, true, null, "", "", ""));
+ this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_cate", global::System.Data.SqlDbType.VarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "cate", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
+ this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IsNull_title", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "title", global::System.Data.DataRowVersion.Original, true, null, "", "", ""));
+ this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_title", global::System.Data.SqlDbType.VarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "title", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
+ this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IsNull_selfTo", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "selfTo", global::System.Data.DataRowVersion.Original, true, null, "", "", ""));
+ this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_selfTo", global::System.Data.SqlDbType.Bit, 0, global::System.Data.ParameterDirection.Input, 0, 0, "selfTo", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
+ this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IsNull_selfCC", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "selfCC", global::System.Data.DataRowVersion.Original, true, null, "", "", ""));
+ this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_selfCC", global::System.Data.SqlDbType.Bit, 0, global::System.Data.ParameterDirection.Input, 0, 0, "selfCC", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
+ this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IsNull_selfBCC", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "selfBCC", global::System.Data.DataRowVersion.Original, true, null, "", "", ""));
+ this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_selfBCC", global::System.Data.SqlDbType.Bit, 0, global::System.Data.ParameterDirection.Input, 0, 0, "selfBCC", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
+ this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@idx", global::System.Data.SqlDbType.Int, 4, global::System.Data.ParameterDirection.Input, 0, 0, "idx", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ private void InitConnection() {
+ this._connection = new global::System.Data.SqlClient.SqlConnection();
+ this._connection.ConnectionString = global::FCM0000.Properties.Settings.Default.gwcs;
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ private void InitCommandCollection() {
+ this._commandCollection = new global::System.Data.SqlClient.SqlCommand[2];
+ this._commandCollection[0] = new global::System.Data.SqlClient.SqlCommand();
+ this._commandCollection[0].Connection = this.Connection;
+ this._commandCollection[0].CommandText = "SELECT idx, cate, title, tolist, bcc, cc, subject, tail, body, selfTo, selfCC, s" +
+ "elfBCC\r\nFROM MailForm";
+ this._commandCollection[0].CommandType = global::System.Data.CommandType.Text;
+ this._commandCollection[1] = new global::System.Data.SqlClient.SqlCommand();
+ this._commandCollection[1].Connection = this.Connection;
+ this._commandCollection[1].CommandText = "SELECT idx, cate, title, tolist, bcc, cc, subject, tail, body, selfTo, selfCC, s" +
+ "elfBCC\r\nFROM MailForm\r\nWHERE (cate = @cate)";
+ this._commandCollection[1].CommandType = global::System.Data.CommandType.Text;
+ this._commandCollection[1].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@cate", global::System.Data.SqlDbType.VarChar, 2, global::System.Data.ParameterDirection.Input, 0, 0, "cate", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")]
+ [global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Fill, true)]
+ public virtual int Fill(dsMSSQL.MailFormDataTable dataTable) {
+ this.Adapter.SelectCommand = this.CommandCollection[0];
+ if ((this.ClearBeforeFill == true)) {
+ dataTable.Clear();
+ }
+ int returnValue = this.Adapter.Fill(dataTable);
+ return returnValue;
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")]
+ [global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Select, true)]
+ public virtual dsMSSQL.MailFormDataTable GetData() {
+ this.Adapter.SelectCommand = this.CommandCollection[0];
+ dsMSSQL.MailFormDataTable dataTable = new dsMSSQL.MailFormDataTable();
+ this.Adapter.Fill(dataTable);
+ return dataTable;
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")]
+ [global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Fill, false)]
+ public virtual int FillByCate(dsMSSQL.MailFormDataTable dataTable, string cate) {
+ this.Adapter.SelectCommand = this.CommandCollection[1];
+ if ((cate == null)) {
+ this.Adapter.SelectCommand.Parameters[0].Value = global::System.DBNull.Value;
+ }
+ else {
+ this.Adapter.SelectCommand.Parameters[0].Value = ((string)(cate));
+ }
+ if ((this.ClearBeforeFill == true)) {
+ dataTable.Clear();
+ }
+ int returnValue = this.Adapter.Fill(dataTable);
+ return returnValue;
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")]
+ [global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Select, false)]
+ public virtual dsMSSQL.MailFormDataTable GetbyCate(string cate) {
+ this.Adapter.SelectCommand = this.CommandCollection[1];
+ if ((cate == null)) {
+ this.Adapter.SelectCommand.Parameters[0].Value = global::System.DBNull.Value;
+ }
+ else {
+ this.Adapter.SelectCommand.Parameters[0].Value = ((string)(cate));
+ }
+ dsMSSQL.MailFormDataTable dataTable = new dsMSSQL.MailFormDataTable();
+ this.Adapter.Fill(dataTable);
+ return dataTable;
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")]
+ public virtual int Update(dsMSSQL.MailFormDataTable dataTable) {
+ return this.Adapter.Update(dataTable);
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")]
+ public virtual int Update(dsMSSQL dataSet) {
+ return this.Adapter.Update(dataSet, "MailForm");
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")]
+ public virtual int Update(global::System.Data.DataRow dataRow) {
+ return this.Adapter.Update(new global::System.Data.DataRow[] {
+ dataRow});
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")]
+ public virtual int Update(global::System.Data.DataRow[] dataRows) {
+ return this.Adapter.Update(dataRows);
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")]
+ [global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Delete, true)]
+ public virtual int Delete(int Original_idx, string Original_cate, string Original_title, global::System.Nullable Original_selfTo, global::System.Nullable Original_selfCC, global::System.Nullable Original_selfBCC) {
+ this.Adapter.DeleteCommand.Parameters[0].Value = ((int)(Original_idx));
+ if ((Original_cate == null)) {
+ this.Adapter.DeleteCommand.Parameters[1].Value = ((object)(1));
+ this.Adapter.DeleteCommand.Parameters[2].Value = global::System.DBNull.Value;
+ }
+ else {
+ this.Adapter.DeleteCommand.Parameters[1].Value = ((object)(0));
+ this.Adapter.DeleteCommand.Parameters[2].Value = ((string)(Original_cate));
+ }
+ if ((Original_title == null)) {
+ this.Adapter.DeleteCommand.Parameters[3].Value = ((object)(1));
+ this.Adapter.DeleteCommand.Parameters[4].Value = global::System.DBNull.Value;
+ }
+ else {
+ this.Adapter.DeleteCommand.Parameters[3].Value = ((object)(0));
+ this.Adapter.DeleteCommand.Parameters[4].Value = ((string)(Original_title));
+ }
+ if ((Original_selfTo.HasValue == true)) {
+ this.Adapter.DeleteCommand.Parameters[5].Value = ((object)(0));
+ this.Adapter.DeleteCommand.Parameters[6].Value = ((bool)(Original_selfTo.Value));
+ }
+ else {
+ this.Adapter.DeleteCommand.Parameters[5].Value = ((object)(1));
+ this.Adapter.DeleteCommand.Parameters[6].Value = global::System.DBNull.Value;
+ }
+ if ((Original_selfCC.HasValue == true)) {
+ this.Adapter.DeleteCommand.Parameters[7].Value = ((object)(0));
+ this.Adapter.DeleteCommand.Parameters[8].Value = ((bool)(Original_selfCC.Value));
+ }
+ else {
+ this.Adapter.DeleteCommand.Parameters[7].Value = ((object)(1));
+ this.Adapter.DeleteCommand.Parameters[8].Value = global::System.DBNull.Value;
+ }
+ if ((Original_selfBCC.HasValue == true)) {
+ this.Adapter.DeleteCommand.Parameters[9].Value = ((object)(0));
+ this.Adapter.DeleteCommand.Parameters[10].Value = ((bool)(Original_selfBCC.Value));
+ }
+ else {
+ this.Adapter.DeleteCommand.Parameters[9].Value = ((object)(1));
+ this.Adapter.DeleteCommand.Parameters[10].Value = global::System.DBNull.Value;
+ }
+ global::System.Data.ConnectionState previousConnectionState = this.Adapter.DeleteCommand.Connection.State;
+ if (((this.Adapter.DeleteCommand.Connection.State & global::System.Data.ConnectionState.Open)
+ != global::System.Data.ConnectionState.Open)) {
+ this.Adapter.DeleteCommand.Connection.Open();
+ }
+ try {
+ int returnValue = this.Adapter.DeleteCommand.ExecuteNonQuery();
+ return returnValue;
+ }
+ finally {
+ if ((previousConnectionState == global::System.Data.ConnectionState.Closed)) {
+ this.Adapter.DeleteCommand.Connection.Close();
+ }
+ }
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")]
+ [global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Insert, true)]
+ public virtual int Insert(string cate, string title, string tolist, string bcc, string cc, string subject, string tail, string body, global::System.Nullable selfTo, global::System.Nullable selfCC, global::System.Nullable selfBCC) {
+ if ((cate == null)) {
+ this.Adapter.InsertCommand.Parameters[0].Value = global::System.DBNull.Value;
+ }
+ else {
+ this.Adapter.InsertCommand.Parameters[0].Value = ((string)(cate));
+ }
+ if ((title == null)) {
+ this.Adapter.InsertCommand.Parameters[1].Value = global::System.DBNull.Value;
+ }
+ else {
+ this.Adapter.InsertCommand.Parameters[1].Value = ((string)(title));
+ }
+ if ((tolist == null)) {
+ this.Adapter.InsertCommand.Parameters[2].Value = global::System.DBNull.Value;
+ }
+ else {
+ this.Adapter.InsertCommand.Parameters[2].Value = ((string)(tolist));
+ }
+ if ((bcc == null)) {
+ this.Adapter.InsertCommand.Parameters[3].Value = global::System.DBNull.Value;
+ }
+ else {
+ this.Adapter.InsertCommand.Parameters[3].Value = ((string)(bcc));
+ }
+ if ((cc == null)) {
+ this.Adapter.InsertCommand.Parameters[4].Value = global::System.DBNull.Value;
+ }
+ else {
+ this.Adapter.InsertCommand.Parameters[4].Value = ((string)(cc));
+ }
+ if ((subject == null)) {
+ this.Adapter.InsertCommand.Parameters[5].Value = global::System.DBNull.Value;
+ }
+ else {
+ this.Adapter.InsertCommand.Parameters[5].Value = ((string)(subject));
+ }
+ if ((tail == null)) {
+ this.Adapter.InsertCommand.Parameters[6].Value = global::System.DBNull.Value;
+ }
+ else {
+ this.Adapter.InsertCommand.Parameters[6].Value = ((string)(tail));
+ }
+ if ((body == null)) {
+ this.Adapter.InsertCommand.Parameters[7].Value = global::System.DBNull.Value;
+ }
+ else {
+ this.Adapter.InsertCommand.Parameters[7].Value = ((string)(body));
+ }
+ if ((selfTo.HasValue == true)) {
+ this.Adapter.InsertCommand.Parameters[8].Value = ((bool)(selfTo.Value));
+ }
+ else {
+ this.Adapter.InsertCommand.Parameters[8].Value = global::System.DBNull.Value;
+ }
+ if ((selfCC.HasValue == true)) {
+ this.Adapter.InsertCommand.Parameters[9].Value = ((bool)(selfCC.Value));
+ }
+ else {
+ this.Adapter.InsertCommand.Parameters[9].Value = global::System.DBNull.Value;
+ }
+ if ((selfBCC.HasValue == true)) {
+ this.Adapter.InsertCommand.Parameters[10].Value = ((bool)(selfBCC.Value));
+ }
+ else {
+ this.Adapter.InsertCommand.Parameters[10].Value = global::System.DBNull.Value;
+ }
+ global::System.Data.ConnectionState previousConnectionState = this.Adapter.InsertCommand.Connection.State;
+ if (((this.Adapter.InsertCommand.Connection.State & global::System.Data.ConnectionState.Open)
+ != global::System.Data.ConnectionState.Open)) {
+ this.Adapter.InsertCommand.Connection.Open();
+ }
+ try {
+ int returnValue = this.Adapter.InsertCommand.ExecuteNonQuery();
+ return returnValue;
+ }
+ finally {
+ if ((previousConnectionState == global::System.Data.ConnectionState.Closed)) {
+ this.Adapter.InsertCommand.Connection.Close();
+ }
+ }
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")]
+ [global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Update, true)]
+ public virtual int Update(
+ string cate,
+ string title,
+ string tolist,
+ string bcc,
+ string cc,
+ string subject,
+ string tail,
+ string body,
+ global::System.Nullable selfTo,
+ global::System.Nullable selfCC,
+ global::System.Nullable selfBCC,
+ int Original_idx,
+ string Original_cate,
+ string Original_title,
+ global::System.Nullable Original_selfTo,
+ global::System.Nullable Original_selfCC,
+ global::System.Nullable Original_selfBCC,
+ int idx) {
+ if ((cate == null)) {
+ this.Adapter.UpdateCommand.Parameters[0].Value = global::System.DBNull.Value;
+ }
+ else {
+ this.Adapter.UpdateCommand.Parameters[0].Value = ((string)(cate));
+ }
+ if ((title == null)) {
+ this.Adapter.UpdateCommand.Parameters[1].Value = global::System.DBNull.Value;
+ }
+ else {
+ this.Adapter.UpdateCommand.Parameters[1].Value = ((string)(title));
+ }
+ if ((tolist == null)) {
+ this.Adapter.UpdateCommand.Parameters[2].Value = global::System.DBNull.Value;
+ }
+ else {
+ this.Adapter.UpdateCommand.Parameters[2].Value = ((string)(tolist));
+ }
+ if ((bcc == null)) {
+ this.Adapter.UpdateCommand.Parameters[3].Value = global::System.DBNull.Value;
+ }
+ else {
+ this.Adapter.UpdateCommand.Parameters[3].Value = ((string)(bcc));
+ }
+ if ((cc == null)) {
+ this.Adapter.UpdateCommand.Parameters[4].Value = global::System.DBNull.Value;
+ }
+ else {
+ this.Adapter.UpdateCommand.Parameters[4].Value = ((string)(cc));
+ }
+ if ((subject == null)) {
+ this.Adapter.UpdateCommand.Parameters[5].Value = global::System.DBNull.Value;
+ }
+ else {
+ this.Adapter.UpdateCommand.Parameters[5].Value = ((string)(subject));
+ }
+ if ((tail == null)) {
+ this.Adapter.UpdateCommand.Parameters[6].Value = global::System.DBNull.Value;
+ }
+ else {
+ this.Adapter.UpdateCommand.Parameters[6].Value = ((string)(tail));
+ }
+ if ((body == null)) {
+ this.Adapter.UpdateCommand.Parameters[7].Value = global::System.DBNull.Value;
+ }
+ else {
+ this.Adapter.UpdateCommand.Parameters[7].Value = ((string)(body));
+ }
+ if ((selfTo.HasValue == true)) {
+ this.Adapter.UpdateCommand.Parameters[8].Value = ((bool)(selfTo.Value));
+ }
+ else {
+ this.Adapter.UpdateCommand.Parameters[8].Value = global::System.DBNull.Value;
+ }
+ if ((selfCC.HasValue == true)) {
+ this.Adapter.UpdateCommand.Parameters[9].Value = ((bool)(selfCC.Value));
+ }
+ else {
+ this.Adapter.UpdateCommand.Parameters[9].Value = global::System.DBNull.Value;
+ }
+ if ((selfBCC.HasValue == true)) {
+ this.Adapter.UpdateCommand.Parameters[10].Value = ((bool)(selfBCC.Value));
+ }
+ else {
+ this.Adapter.UpdateCommand.Parameters[10].Value = global::System.DBNull.Value;
+ }
+ this.Adapter.UpdateCommand.Parameters[11].Value = ((int)(Original_idx));
+ if ((Original_cate == null)) {
+ this.Adapter.UpdateCommand.Parameters[12].Value = ((object)(1));
+ this.Adapter.UpdateCommand.Parameters[13].Value = global::System.DBNull.Value;
+ }
+ else {
+ this.Adapter.UpdateCommand.Parameters[12].Value = ((object)(0));
+ this.Adapter.UpdateCommand.Parameters[13].Value = ((string)(Original_cate));
+ }
+ if ((Original_title == null)) {
+ this.Adapter.UpdateCommand.Parameters[14].Value = ((object)(1));
+ this.Adapter.UpdateCommand.Parameters[15].Value = global::System.DBNull.Value;
+ }
+ else {
+ this.Adapter.UpdateCommand.Parameters[14].Value = ((object)(0));
+ this.Adapter.UpdateCommand.Parameters[15].Value = ((string)(Original_title));
+ }
+ if ((Original_selfTo.HasValue == true)) {
+ this.Adapter.UpdateCommand.Parameters[16].Value = ((object)(0));
+ this.Adapter.UpdateCommand.Parameters[17].Value = ((bool)(Original_selfTo.Value));
+ }
+ else {
+ this.Adapter.UpdateCommand.Parameters[16].Value = ((object)(1));
+ this.Adapter.UpdateCommand.Parameters[17].Value = global::System.DBNull.Value;
+ }
+ if ((Original_selfCC.HasValue == true)) {
+ this.Adapter.UpdateCommand.Parameters[18].Value = ((object)(0));
+ this.Adapter.UpdateCommand.Parameters[19].Value = ((bool)(Original_selfCC.Value));
+ }
+ else {
+ this.Adapter.UpdateCommand.Parameters[18].Value = ((object)(1));
+ this.Adapter.UpdateCommand.Parameters[19].Value = global::System.DBNull.Value;
+ }
+ if ((Original_selfBCC.HasValue == true)) {
+ this.Adapter.UpdateCommand.Parameters[20].Value = ((object)(0));
+ this.Adapter.UpdateCommand.Parameters[21].Value = ((bool)(Original_selfBCC.Value));
+ }
+ else {
+ this.Adapter.UpdateCommand.Parameters[20].Value = ((object)(1));
+ this.Adapter.UpdateCommand.Parameters[21].Value = global::System.DBNull.Value;
+ }
+ this.Adapter.UpdateCommand.Parameters[22].Value = ((int)(idx));
+ global::System.Data.ConnectionState previousConnectionState = this.Adapter.UpdateCommand.Connection.State;
+ if (((this.Adapter.UpdateCommand.Connection.State & global::System.Data.ConnectionState.Open)
+ != global::System.Data.ConnectionState.Open)) {
+ this.Adapter.UpdateCommand.Connection.Open();
+ }
+ try {
+ int returnValue = this.Adapter.UpdateCommand.ExecuteNonQuery();
+ return returnValue;
+ }
+ finally {
+ if ((previousConnectionState == global::System.Data.ConnectionState.Closed)) {
+ this.Adapter.UpdateCommand.Connection.Close();
+ }
+ }
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")]
+ [global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Update, true)]
+ public virtual int Update(
+ string cate,
+ string title,
+ string tolist,
+ string bcc,
+ string cc,
+ string subject,
+ string tail,
+ string body,
+ global::System.Nullable selfTo,
+ global::System.Nullable selfCC,
+ global::System.Nullable selfBCC,
+ int Original_idx,
+ string Original_cate,
+ string Original_title,
+ global::System.Nullable Original_selfTo,
+ global::System.Nullable Original_selfCC,
+ global::System.Nullable Original_selfBCC) {
+ return this.Update(cate, title, tolist, bcc, cc, subject, tail, body, selfTo, selfCC, selfBCC, Original_idx, Original_cate, Original_title, Original_selfTo, Original_selfCC, Original_selfBCC, Original_idx);
+ }
+ }
+
///
///TableAdapterManager is used to coordinate TableAdapters in the dataset to enable Hierarchical Update scenarios
///
@@ -5118,6 +7825,10 @@ SELECT idx, name, pdate, request, reqstaff, sdate, edate, odate, memo, wuid, wda
private ProjectsTableAdapter _projectsTableAdapter;
+ private CommonTableAdapter _commonTableAdapter;
+
+ private MailFormTableAdapter _mailFormTableAdapter;
+
private bool _backupDataSetBeforeUpdate;
private global::System.Data.IDbConnection _connection;
@@ -5175,6 +7886,34 @@ SELECT idx, name, pdate, request, reqstaff, sdate, edate, odate, memo, wuid, wda
}
}
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ [global::System.ComponentModel.EditorAttribute("Microsoft.VSDesigner.DataSource.Design.TableAdapterManagerPropertyEditor, Microso" +
+ "ft.VSDesigner, Version=10.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3" +
+ "a", "System.Drawing.Design.UITypeEditor")]
+ public CommonTableAdapter CommonTableAdapter {
+ get {
+ return this._commonTableAdapter;
+ }
+ set {
+ this._commonTableAdapter = value;
+ }
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ [global::System.ComponentModel.EditorAttribute("Microsoft.VSDesigner.DataSource.Design.TableAdapterManagerPropertyEditor, Microso" +
+ "ft.VSDesigner, Version=10.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3" +
+ "a", "System.Drawing.Design.UITypeEditor")]
+ public MailFormTableAdapter MailFormTableAdapter {
+ get {
+ return this._mailFormTableAdapter;
+ }
+ set {
+ this._mailFormTableAdapter = value;
+ }
+ }
+
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
public bool BackupDataSetBeforeUpdate {
@@ -5206,6 +7945,14 @@ SELECT idx, name, pdate, request, reqstaff, sdate, edate, odate, memo, wuid, wda
&& (this._projectsTableAdapter.Connection != null))) {
return this._projectsTableAdapter.Connection;
}
+ if (((this._commonTableAdapter != null)
+ && (this._commonTableAdapter.Connection != null))) {
+ return this._commonTableAdapter.Connection;
+ }
+ if (((this._mailFormTableAdapter != null)
+ && (this._mailFormTableAdapter.Connection != null))) {
+ return this._mailFormTableAdapter.Connection;
+ }
return null;
}
set {
@@ -5228,6 +7975,12 @@ SELECT idx, name, pdate, request, reqstaff, sdate, edate, odate, memo, wuid, wda
if ((this._projectsTableAdapter != null)) {
count = (count + 1);
}
+ if ((this._commonTableAdapter != null)) {
+ count = (count + 1);
+ }
+ if ((this._mailFormTableAdapter != null)) {
+ count = (count + 1);
+ }
return count;
}
}
@@ -5266,6 +8019,24 @@ SELECT idx, name, pdate, request, reqstaff, sdate, edate, odate, memo, wuid, wda
allChangedRows.AddRange(updatedRows);
}
}
+ if ((this._commonTableAdapter != null)) {
+ global::System.Data.DataRow[] updatedRows = dataSet.Common.Select(null, null, global::System.Data.DataViewRowState.ModifiedCurrent);
+ updatedRows = this.GetRealUpdatedRows(updatedRows, allAddedRows);
+ if (((updatedRows != null)
+ && (0 < updatedRows.Length))) {
+ result = (result + this._commonTableAdapter.Update(updatedRows));
+ allChangedRows.AddRange(updatedRows);
+ }
+ }
+ if ((this._mailFormTableAdapter != null)) {
+ global::System.Data.DataRow[] updatedRows = dataSet.MailForm.Select(null, null, global::System.Data.DataViewRowState.ModifiedCurrent);
+ updatedRows = this.GetRealUpdatedRows(updatedRows, allAddedRows);
+ if (((updatedRows != null)
+ && (0 < updatedRows.Length))) {
+ result = (result + this._mailFormTableAdapter.Update(updatedRows));
+ allChangedRows.AddRange(updatedRows);
+ }
+ }
return result;
}
@@ -5300,6 +8071,22 @@ SELECT idx, name, pdate, request, reqstaff, sdate, edate, odate, memo, wuid, wda
allAddedRows.AddRange(addedRows);
}
}
+ if ((this._commonTableAdapter != null)) {
+ global::System.Data.DataRow[] addedRows = dataSet.Common.Select(null, null, global::System.Data.DataViewRowState.Added);
+ if (((addedRows != null)
+ && (0 < addedRows.Length))) {
+ result = (result + this._commonTableAdapter.Update(addedRows));
+ allAddedRows.AddRange(addedRows);
+ }
+ }
+ if ((this._mailFormTableAdapter != null)) {
+ global::System.Data.DataRow[] addedRows = dataSet.MailForm.Select(null, null, global::System.Data.DataViewRowState.Added);
+ if (((addedRows != null)
+ && (0 < addedRows.Length))) {
+ result = (result + this._mailFormTableAdapter.Update(addedRows));
+ allAddedRows.AddRange(addedRows);
+ }
+ }
return result;
}
@@ -5310,6 +8097,22 @@ SELECT idx, name, pdate, request, reqstaff, sdate, edate, odate, memo, wuid, wda
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
private int UpdateDeletedRows(dsMSSQL dataSet, global::System.Collections.Generic.List allChangedRows) {
int result = 0;
+ if ((this._mailFormTableAdapter != null)) {
+ global::System.Data.DataRow[] deletedRows = dataSet.MailForm.Select(null, null, global::System.Data.DataViewRowState.Deleted);
+ if (((deletedRows != null)
+ && (0 < deletedRows.Length))) {
+ result = (result + this._mailFormTableAdapter.Update(deletedRows));
+ allChangedRows.AddRange(deletedRows);
+ }
+ }
+ if ((this._commonTableAdapter != null)) {
+ global::System.Data.DataRow[] deletedRows = dataSet.Common.Select(null, null, global::System.Data.DataViewRowState.Deleted);
+ if (((deletedRows != null)
+ && (0 < deletedRows.Length))) {
+ result = (result + this._commonTableAdapter.Update(deletedRows));
+ allChangedRows.AddRange(deletedRows);
+ }
+ }
if ((this._projectsTableAdapter != null)) {
global::System.Data.DataRow[] deletedRows = dataSet.Projects.Select(null, null, global::System.Data.DataViewRowState.Deleted);
if (((deletedRows != null)
@@ -5385,6 +8188,14 @@ SELECT idx, name, pdate, request, reqstaff, sdate, edate, odate, memo, wuid, wda
&& (this.MatchTableAdapterConnection(this._projectsTableAdapter.Connection) == false))) {
throw new global::System.ArgumentException("TableAdapterManager에서 관리하는 모든 TableAdapter에는 동일한 연결 문자열을 사용해야 합니다.");
}
+ if (((this._commonTableAdapter != null)
+ && (this.MatchTableAdapterConnection(this._commonTableAdapter.Connection) == false))) {
+ throw new global::System.ArgumentException("TableAdapterManager에서 관리하는 모든 TableAdapter에는 동일한 연결 문자열을 사용해야 합니다.");
+ }
+ if (((this._mailFormTableAdapter != null)
+ && (this.MatchTableAdapterConnection(this._mailFormTableAdapter.Connection) == false))) {
+ throw new global::System.ArgumentException("TableAdapterManager에서 관리하는 모든 TableAdapter에는 동일한 연결 문자열을 사용해야 합니다.");
+ }
global::System.Data.IDbConnection workConnection = this.Connection;
if ((workConnection == null)) {
throw new global::System.ApplicationException("TableAdapterManager에 연결 정보가 없습니다. 각 TableAdapterManager TableAdapter 속성을 올바른 Tabl" +
@@ -5443,6 +8254,24 @@ SELECT idx, name, pdate, request, reqstaff, sdate, edate, odate, memo, wuid, wda
adaptersWithAcceptChangesDuringUpdate.Add(this._projectsTableAdapter.Adapter);
}
}
+ if ((this._commonTableAdapter != null)) {
+ revertConnections.Add(this._commonTableAdapter, this._commonTableAdapter.Connection);
+ this._commonTableAdapter.Connection = ((global::System.Data.SqlClient.SqlConnection)(workConnection));
+ this._commonTableAdapter.Transaction = ((global::System.Data.SqlClient.SqlTransaction)(workTransaction));
+ if (this._commonTableAdapter.Adapter.AcceptChangesDuringUpdate) {
+ this._commonTableAdapter.Adapter.AcceptChangesDuringUpdate = false;
+ adaptersWithAcceptChangesDuringUpdate.Add(this._commonTableAdapter.Adapter);
+ }
+ }
+ if ((this._mailFormTableAdapter != null)) {
+ revertConnections.Add(this._mailFormTableAdapter, this._mailFormTableAdapter.Connection);
+ this._mailFormTableAdapter.Connection = ((global::System.Data.SqlClient.SqlConnection)(workConnection));
+ this._mailFormTableAdapter.Transaction = ((global::System.Data.SqlClient.SqlTransaction)(workTransaction));
+ if (this._mailFormTableAdapter.Adapter.AcceptChangesDuringUpdate) {
+ this._mailFormTableAdapter.Adapter.AcceptChangesDuringUpdate = false;
+ adaptersWithAcceptChangesDuringUpdate.Add(this._mailFormTableAdapter.Adapter);
+ }
+ }
//
//---- Perform updates -----------
//
@@ -5513,6 +8342,14 @@ SELECT idx, name, pdate, request, reqstaff, sdate, edate, odate, memo, wuid, wda
this._projectsTableAdapter.Connection = ((global::System.Data.SqlClient.SqlConnection)(revertConnections[this._projectsTableAdapter]));
this._projectsTableAdapter.Transaction = null;
}
+ if ((this._commonTableAdapter != null)) {
+ this._commonTableAdapter.Connection = ((global::System.Data.SqlClient.SqlConnection)(revertConnections[this._commonTableAdapter]));
+ this._commonTableAdapter.Transaction = null;
+ }
+ if ((this._mailFormTableAdapter != null)) {
+ this._mailFormTableAdapter.Connection = ((global::System.Data.SqlClient.SqlConnection)(revertConnections[this._mailFormTableAdapter]));
+ this._mailFormTableAdapter.Transaction = null;
+ }
if ((0 < adaptersWithAcceptChangesDuringUpdate.Count)) {
global::System.Data.Common.DataAdapter[] adapters = new System.Data.Common.DataAdapter[adaptersWithAcceptChangesDuringUpdate.Count];
adaptersWithAcceptChangesDuringUpdate.CopyTo(adapters);
diff --git a/SubProject/FCM0000/dsMSSQL.xsd b/SubProject/FCM0000/dsMSSQL.xsd
index 1a24411..d4100f4 100644
--- a/SubProject/FCM0000/dsMSSQL.xsd
+++ b/SubProject/FCM0000/dsMSSQL.xsd
@@ -440,6 +440,213 @@ WHERE (ISNULL(name, N'') LIKE @search) OR
+
+
+
+
+
+ DELETE FROM [Common] WHERE (([idx] = @Original_idx) AND ((@IsNull_grp = 1 AND [grp] IS NULL) OR ([grp] = @Original_grp)) AND ((@IsNull_code = 1 AND [code] IS NULL) OR ([code] = @Original_code)) AND ((@IsNull_svalue = 1 AND [svalue] IS NULL) OR ([svalue] = @Original_svalue)) AND ((@IsNull_ivalue = 1 AND [ivalue] IS NULL) OR ([ivalue] = @Original_ivalue)) AND ((@IsNull_fvalue = 1 AND [fvalue] IS NULL) OR ([fvalue] = @Original_fvalue)) AND ((@IsNull_memo = 1 AND [memo] IS NULL) OR ([memo] = @Original_memo)) AND ([wuid] = @Original_wuid) AND ([wdate] = @Original_wdate))
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ INSERT INTO [Common] ([grp], [code], [svalue], [ivalue], [fvalue], [memo], [wuid], [wdate]) VALUES (@grp, @code, @svalue, @ivalue, @fvalue, @memo, @wuid, @wdate);
+SELECT idx, grp, code, svalue, ivalue, fvalue, memo, wuid, wdate FROM Common WHERE (idx = SCOPE_IDENTITY())
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ SELECT idx, grp, code, svalue, ivalue, fvalue, memo, wuid, wdate
+FROM Common
+WHERE (grp = @grp)
+
+
+
+
+
+
+
+ UPDATE [Common] SET [grp] = @grp, [code] = @code, [svalue] = @svalue, [ivalue] = @ivalue, [fvalue] = @fvalue, [memo] = @memo, [wuid] = @wuid, [wdate] = @wdate WHERE (([idx] = @Original_idx) AND ((@IsNull_grp = 1 AND [grp] IS NULL) OR ([grp] = @Original_grp)) AND ((@IsNull_code = 1 AND [code] IS NULL) OR ([code] = @Original_code)) AND ((@IsNull_svalue = 1 AND [svalue] IS NULL) OR ([svalue] = @Original_svalue)) AND ((@IsNull_ivalue = 1 AND [ivalue] IS NULL) OR ([ivalue] = @Original_ivalue)) AND ((@IsNull_fvalue = 1 AND [fvalue] IS NULL) OR ([fvalue] = @Original_fvalue)) AND ((@IsNull_memo = 1 AND [memo] IS NULL) OR ([memo] = @Original_memo)) AND ([wuid] = @Original_wuid) AND ([wdate] = @Original_wdate));
+SELECT idx, grp, code, svalue, ivalue, fvalue, memo, wuid, wdate FROM Common WHERE (idx = @idx)
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ DELETE FROM [MailForm] WHERE (([idx] = @Original_idx) AND ((@IsNull_cate = 1 AND [cate] IS NULL) OR ([cate] = @Original_cate)) AND ((@IsNull_title = 1 AND [title] IS NULL) OR ([title] = @Original_title)) AND ((@IsNull_selfTo = 1 AND [selfTo] IS NULL) OR ([selfTo] = @Original_selfTo)) AND ((@IsNull_selfCC = 1 AND [selfCC] IS NULL) OR ([selfCC] = @Original_selfCC)) AND ((@IsNull_selfBCC = 1 AND [selfBCC] IS NULL) OR ([selfBCC] = @Original_selfBCC)))
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ INSERT INTO [MailForm] ([cate], [title], [tolist], [bcc], [cc], [subject], [tail], [body], [selfTo], [selfCC], [selfBCC]) VALUES (@cate, @title, @tolist, @bcc, @cc, @subject, @tail, @body, @selfTo, @selfCC, @selfBCC);
+SELECT idx, cate, title, tolist, bcc, cc, subject, tail, body, selfTo, selfCC, selfBCC FROM MailForm WHERE (idx = SCOPE_IDENTITY())
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ SELECT idx, cate, title, tolist, bcc, cc, subject, tail, body, selfTo, selfCC, selfBCC
+FROM MailForm
+
+
+
+
+
+ UPDATE [MailForm] SET [cate] = @cate, [title] = @title, [tolist] = @tolist, [bcc] = @bcc, [cc] = @cc, [subject] = @subject, [tail] = @tail, [body] = @body, [selfTo] = @selfTo, [selfCC] = @selfCC, [selfBCC] = @selfBCC WHERE (([idx] = @Original_idx) AND ((@IsNull_cate = 1 AND [cate] IS NULL) OR ([cate] = @Original_cate)) AND ((@IsNull_title = 1 AND [title] IS NULL) OR ([title] = @Original_title)) AND ((@IsNull_selfTo = 1 AND [selfTo] IS NULL) OR ([selfTo] = @Original_selfTo)) AND ((@IsNull_selfCC = 1 AND [selfCC] IS NULL) OR ([selfCC] = @Original_selfCC)) AND ((@IsNull_selfBCC = 1 AND [selfBCC] IS NULL) OR ([selfBCC] = @Original_selfBCC)));
+SELECT idx, cate, title, tolist, bcc, cc, subject, tail, body, selfTo, selfCC, selfBCC FROM MailForm WHERE (idx = @idx)
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ SELECT idx, cate, title, tolist, bcc, cc, subject, tail, body, selfTo, selfCC, selfBCC
+FROM MailForm
+WHERE (cate = @cate)
+
+
+
+
+
+
+
+
@@ -448,7 +655,7 @@ WHERE (ISNULL(name, N'') LIKE @search) OR
-
+
@@ -513,7 +720,7 @@ WHERE (ISNULL(name, N'') LIKE @search) OR
-
+
@@ -583,7 +790,7 @@ WHERE (ISNULL(name, N'') LIKE @search) OR
-
+
@@ -654,6 +861,117 @@ WHERE (ISNULL(name, N'') LIKE @search) OR
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
@@ -668,5 +986,13 @@ WHERE (ISNULL(name, N'') LIKE @search) OR
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/SubProject/FCM0000/dsMSSQL.xss b/SubProject/FCM0000/dsMSSQL.xss
index 6b7e04e..9e7ae7c 100644
--- a/SubProject/FCM0000/dsMSSQL.xss
+++ b/SubProject/FCM0000/dsMSSQL.xss
@@ -6,9 +6,11 @@
-->
-
-
-
+
+
+
+
+
\ No newline at end of file
diff --git a/SubProject/FCM0000/obj/Debug/DesignTimeResolveAssemblyReferences.cache b/SubProject/FCM0000/obj/Debug/DesignTimeResolveAssemblyReferences.cache
index 4145172..8ee5d3a 100644
Binary files a/SubProject/FCM0000/obj/Debug/DesignTimeResolveAssemblyReferences.cache and b/SubProject/FCM0000/obj/Debug/DesignTimeResolveAssemblyReferences.cache differ
diff --git a/SubProject/FCM0000/obj/Debug/FCM0000.csproj.FileListAbsolute.txt b/SubProject/FCM0000/obj/Debug/FCM0000.csproj.FileListAbsolute.txt
index 76e0c36..10bcc75 100644
--- a/SubProject/FCM0000/obj/Debug/FCM0000.csproj.FileListAbsolute.txt
+++ b/SubProject/FCM0000/obj/Debug/FCM0000.csproj.FileListAbsolute.txt
@@ -17,3 +17,5 @@ D:\Source\GroupWare\EET_GroupWare_180917_0000\SubProject\FCM0000\bin\Debug\Carlo
D:\Source\GroupWare\EET_GroupWare_180917_0000\SubProject\FCM0000\bin\Debug\arControl.Net4.pdb
D:\Source\GroupWare\EET_GroupWare_180917_0000\SubProject\FCM0000\obj\Debug\FCM0000.fLovItem.resources
D:\Source\GroupWare\EET_GroupWare_180917_0000\SubProject\FCM0000\obj\Debug\FCM0000.fLovProject.resources
+D:\Source\GroupWare\EET_GroupWare_180917_0000\SubProject\FCM0000\obj\Debug\FCM0000.fCode.resources
+D:\Source\GroupWare\EET_GroupWare_180917_0000\SubProject\FCM0000\obj\Debug\FCM0000.fMailform.resources
diff --git a/SubProject/FCM0000/obj/Debug/FCM0000.csproj.GenerateResource.Cache b/SubProject/FCM0000/obj/Debug/FCM0000.csproj.GenerateResource.Cache
index 6cc0ef5..fcf1dbb 100644
Binary files a/SubProject/FCM0000/obj/Debug/FCM0000.csproj.GenerateResource.Cache and b/SubProject/FCM0000/obj/Debug/FCM0000.csproj.GenerateResource.Cache differ
diff --git a/SubProject/FCM0000/obj/Debug/FCM0000.csprojResolveAssemblyReference.cache b/SubProject/FCM0000/obj/Debug/FCM0000.csprojResolveAssemblyReference.cache
index 58e0269..2e5c0af 100644
Binary files a/SubProject/FCM0000/obj/Debug/FCM0000.csprojResolveAssemblyReference.cache and b/SubProject/FCM0000/obj/Debug/FCM0000.csprojResolveAssemblyReference.cache differ
diff --git a/SubProject/FCM0000/obj/Debug/FCM0000.exe b/SubProject/FCM0000/obj/Debug/FCM0000.exe
index bce8d47..ddd210c 100644
Binary files a/SubProject/FCM0000/obj/Debug/FCM0000.exe and b/SubProject/FCM0000/obj/Debug/FCM0000.exe differ
diff --git a/SubProject/FCM0000/obj/Debug/FCM0000.pdb b/SubProject/FCM0000/obj/Debug/FCM0000.pdb
index b96d405..c376783 100644
Binary files a/SubProject/FCM0000/obj/Debug/FCM0000.pdb and b/SubProject/FCM0000/obj/Debug/FCM0000.pdb differ
diff --git a/SubProject/FCM0000/obj/Debug/TempPE/dsMSSQL.Designer.cs.dll b/SubProject/FCM0000/obj/Debug/TempPE/dsMSSQL.Designer.cs.dll
index f284b5b..b88116d 100644
Binary files a/SubProject/FCM0000/obj/Debug/TempPE/dsMSSQL.Designer.cs.dll and b/SubProject/FCM0000/obj/Debug/TempPE/dsMSSQL.Designer.cs.dll differ
diff --git a/SubProject/FCOMMON/DataBaseManager.cs b/SubProject/FCOMMON/DataBaseManager.cs
index 5fcecc8..a5ed144 100644
--- a/SubProject/FCOMMON/DataBaseManager.cs
+++ b/SubProject/FCOMMON/DataBaseManager.cs
@@ -46,7 +46,66 @@ namespace FCOMMON
cn.Dispose();
return retval;
}
+ public static Dictionary getUserList(int baseLevel = 1)
+ {
+ string where = "isnull(level,0) >= " + baseLevel.ToString();
+ return getTwoColumnList("Users", "id", "name", where, "name");
+ }
+ public static System.Data.DataTable getUserTable(int baseLevel = 1)
+ {
+ var list = getUserList(baseLevel);
+ return MakeDataTable(list);
+ }
+ private static System.Data.DataTable MakeDataTable(Dictionary list)
+ {
+ System.Data.DataTable dt = new System.Data.DataTable();
+ dt.Columns.Add("Key");
+ dt.Columns.Add("Value");
+ dt.Columns.Add("KeyValue");
+
+ foreach (var item in list)
+ {
+ dt.Rows.Add(new string[] { item.Key, item.Value, string.Format("[{0}] {1}", item.Key, item.Value) });
+ }
+ dt.AcceptChanges();
+ return dt;
+ }
+
+
+ public static Dictionary getCodeList(string GroupCode="99")
+ {
+ string where = "Grp = '{0}'";
+ where = string.Format(where, GroupCode);
+ return getTwoColumnList("Common", "code", "memo", where, "code");
+ }
+ public static System.Data.DataTable getCodeTable(string GroupCode = "99")
+ {
+ var list = getCodeList(GroupCode);
+ return MakeDataTable(list);
+ }
+ private static Dictionary getTwoColumnList(string table,string col1,string col2,string where="",string order="")
+ {
+ Dictionary retval = new Dictionary();
+ var cn = getCn();
+ cn.Open();
+ var sql = "select isnull({1},''),isnull({2},'')" +
+ " from {0}";
+ if (where != "") sql += " where " + where;
+ if (order != "") sql += " order by " + order;
+ sql = string.Format(sql,table, col1, col2);
+ var cmd = new System.Data.SqlClient.SqlCommand(sql, cn);
+ var rdr = cmd.ExecuteReader();
+ while (rdr.Read())
+ {
+ retval.Add(rdr[0].ToString(), rdr[1].ToString());
+ }
+ cmd.Dispose();
+ cn.Close();
+ cn.Dispose();
+ return retval;
+
+ }
public static List getGroupList(string GroupColumn, string table, string where = "",Boolean desc=false)
{
List retval = new List();
diff --git a/SubProject/FCOMMON/FCOMMON.csproj b/SubProject/FCOMMON/FCOMMON.csproj
index 7d23f9b..cdb27c7 100644
--- a/SubProject/FCOMMON/FCOMMON.csproj
+++ b/SubProject/FCOMMON/FCOMMON.csproj
@@ -46,6 +46,12 @@
+
+ Form
+
+
+ fBase.cs
+
Form
@@ -59,6 +65,9 @@
+
+ fBase.cs
+
fLovDateList.cs
diff --git a/SubProject/FCOMMON/FormUtil.cs b/SubProject/FCOMMON/FormUtil.cs
index 5a8a272..73e6777 100644
--- a/SubProject/FCOMMON/FormUtil.cs
+++ b/SubProject/FCOMMON/FormUtil.cs
@@ -31,7 +31,7 @@ namespace FCOMMON
{
src = DateTime.Now.ToString("yyyy-MM-") + iv.ToString("00");
}
- else
+ else if(src.Length <= 2)
{
//숫자이긴하나 32보다크면 오류로 한다.
return false;
diff --git a/SubProject/FCOMMON/Util.cs b/SubProject/FCOMMON/Util.cs
index ee13cd1..738dffa 100644
--- a/SubProject/FCOMMON/Util.cs
+++ b/SubProject/FCOMMON/Util.cs
@@ -439,6 +439,37 @@ namespace FCOMMON
si.Arguments = arg;
System.Diagnostics.Process.Start(si);
}
+ public static void RunDefaultMail(string to,string title,string content="",string cc="",string bcc="")
+ {
+ string args = "mailto:" + to + "?";
+ if (title != "") args += "subject=" + title;
+ args += "&IsBodyHtml=true";
+ if (content != "")
+ {
+ if (!args.EndsWith("?")) args += "&";
+ args += "HtmlBody=" + content;
+ }
+ if (bcc != "")
+ {
+ if (!args.EndsWith("?")) args += "&";
+ args += "bcc=" + bcc;
+ }
+ if (cc != "")
+ {
+ if (!args.EndsWith("?")) args += "&";
+ args += "cc=" + cc;
+ }
+ if (bcc != "")
+ {
+ if (!args.EndsWith("?")) args += "&";
+ args += "bcc=" + bcc;
+ }
+
+
+
+
+ System.Diagnostics.Process.Start(args);
+ }
#region "watchdog"
public static void WatchDog_Run()
diff --git a/SubProject/FCOMMON/bin/Debug/FCOMMON.dll b/SubProject/FCOMMON/bin/Debug/FCOMMON.dll
index 2dcd25c..aa2b4eb 100644
Binary files a/SubProject/FCOMMON/bin/Debug/FCOMMON.dll and b/SubProject/FCOMMON/bin/Debug/FCOMMON.dll differ
diff --git a/SubProject/FCOMMON/bin/Debug/FCOMMON.pdb b/SubProject/FCOMMON/bin/Debug/FCOMMON.pdb
index fce4fd1..7396ba6 100644
Binary files a/SubProject/FCOMMON/bin/Debug/FCOMMON.pdb and b/SubProject/FCOMMON/bin/Debug/FCOMMON.pdb differ
diff --git a/SubProject/FCOMMON/obj/Debug/FCOMMON.csproj.FileListAbsolute.txt b/SubProject/FCOMMON/obj/Debug/FCOMMON.csproj.FileListAbsolute.txt
index f84c174..8392767 100644
--- a/SubProject/FCOMMON/obj/Debug/FCOMMON.csproj.FileListAbsolute.txt
+++ b/SubProject/FCOMMON/obj/Debug/FCOMMON.csproj.FileListAbsolute.txt
@@ -5,4 +5,5 @@ D:\Source\GroupWare\EET_GroupWare_180917_0000\SubProject\FCOMMON\obj\Debug\FCOMM
D:\Source\GroupWare\EET_GroupWare_180917_0000\SubProject\FCOMMON\bin\Debug\ArSetting.Net4.dll
D:\Source\GroupWare\EET_GroupWare_180917_0000\SubProject\FCOMMON\obj\Debug\FCOMMON.fLovDateList.resources
D:\Source\GroupWare\EET_GroupWare_180917_0000\SubProject\FCOMMON\obj\Debug\FCOMMON.csproj.GenerateResource.Cache
+D:\Source\GroupWare\EET_GroupWare_180917_0000\SubProject\FCOMMON\obj\Debug\FCOMMON.fBase.resources
D:\Source\GroupWare\EET_GroupWare_180917_0000\SubProject\FCOMMON\obj\Debug\FCOMMON.csprojResolveAssemblyReference.cache
diff --git a/SubProject/FCOMMON/obj/Debug/FCOMMON.csproj.GenerateResource.Cache b/SubProject/FCOMMON/obj/Debug/FCOMMON.csproj.GenerateResource.Cache
index fd12afe..5c74f30 100644
Binary files a/SubProject/FCOMMON/obj/Debug/FCOMMON.csproj.GenerateResource.Cache and b/SubProject/FCOMMON/obj/Debug/FCOMMON.csproj.GenerateResource.Cache differ
diff --git a/SubProject/FCOMMON/obj/Debug/FCOMMON.dll b/SubProject/FCOMMON/obj/Debug/FCOMMON.dll
index 2dcd25c..aa2b4eb 100644
Binary files a/SubProject/FCOMMON/obj/Debug/FCOMMON.dll and b/SubProject/FCOMMON/obj/Debug/FCOMMON.dll differ
diff --git a/SubProject/FCOMMON/obj/Debug/FCOMMON.pdb b/SubProject/FCOMMON/obj/Debug/FCOMMON.pdb
index fce4fd1..7396ba6 100644
Binary files a/SubProject/FCOMMON/obj/Debug/FCOMMON.pdb and b/SubProject/FCOMMON/obj/Debug/FCOMMON.pdb differ
diff --git a/SubProject/FEQ0000/EQFilterApply.Designer.cs b/SubProject/FEQ0000/EQFilterApply.Designer.cs
index f414411..b2f2c66 100644
--- a/SubProject/FEQ0000/EQFilterApply.Designer.cs
+++ b/SubProject/FEQ0000/EQFilterApply.Designer.cs
@@ -30,8 +30,8 @@
{
this.components = new System.ComponentModel.Container();
this.bs = new System.Windows.Forms.BindingSource(this.components);
- this.dsEQ = new dsEQ();
- this.ta = new dsEQTableAdapters.EquipmentFilterTableAdapter();
+ this.dsEQ = new FEQ0000.dsEQ();
+ this.ta = new FEQ0000.dsEQTableAdapters.EquipmentFilterTableAdapter();
this.listView1 = new System.Windows.Forms.ListView();
this.columnHeader1 = ((System.Windows.Forms.ColumnHeader)(new System.Windows.Forms.ColumnHeader()));
this.columnHeader2 = ((System.Windows.Forms.ColumnHeader)(new System.Windows.Forms.ColumnHeader()));
@@ -118,7 +118,7 @@
this.Name = "EQFilterApply";
this.StartPosition = System.Windows.Forms.FormStartPosition.CenterScreen;
this.Text = "Equipment Filter Select";
- this.Load += new System.EventHandler(this.__Load);
+ this.Load += new System.EventHandler(this.@__Load);
((System.ComponentModel.ISupportInitialize)(this.bs)).EndInit();
((System.ComponentModel.ISupportInitialize)(this.dsEQ)).EndInit();
this.ResumeLayout(false);
@@ -130,11 +130,11 @@
private System.Windows.Forms.BindingSource bs;
private dsEQ dsEQ;
private dsEQTableAdapters.EquipmentFilterTableAdapter ta;
- private System.Windows.Forms.ListView listView1;
private System.Windows.Forms.ColumnHeader columnHeader1;
private System.Windows.Forms.ColumnHeader columnHeader2;
private System.Windows.Forms.ColumnHeader columnHeader3;
private System.Windows.Forms.ColumnHeader columnHeader4;
private System.Windows.Forms.Button button1;
+ public System.Windows.Forms.ListView listView1;
}
}
\ No newline at end of file
diff --git a/SubProject/FEQ0000/EQFilterApply.cs b/SubProject/FEQ0000/EQFilterApply.cs
index 8f27c8a..7655ead 100644
--- a/SubProject/FEQ0000/EQFilterApply.cs
+++ b/SubProject/FEQ0000/EQFilterApply.cs
@@ -85,7 +85,7 @@ namespace FEQ0000
private void button1_Click_1(object sender, EventArgs e)
{
- //make checked list
+ //다음에 체크한것을 복원하기 위해 값을 기록한다.
List filterList = new List();
foreach (ListViewItem item in this.listView1.CheckedItems)
{
diff --git a/SubProject/FEQ0000/bin/Debug/FCOMMON.dll b/SubProject/FEQ0000/bin/Debug/FCOMMON.dll
index 2dcd25c..aa2b4eb 100644
Binary files a/SubProject/FEQ0000/bin/Debug/FCOMMON.dll and b/SubProject/FEQ0000/bin/Debug/FCOMMON.dll differ
diff --git a/SubProject/FEQ0000/bin/Debug/FCOMMON.pdb b/SubProject/FEQ0000/bin/Debug/FCOMMON.pdb
index fce4fd1..7396ba6 100644
Binary files a/SubProject/FEQ0000/bin/Debug/FCOMMON.pdb and b/SubProject/FEQ0000/bin/Debug/FCOMMON.pdb differ
diff --git a/SubProject/FEQ0000/bin/Debug/FEQ0000.exe b/SubProject/FEQ0000/bin/Debug/FEQ0000.exe
index 49fc991..1d79a25 100644
Binary files a/SubProject/FEQ0000/bin/Debug/FEQ0000.exe and b/SubProject/FEQ0000/bin/Debug/FEQ0000.exe differ
diff --git a/SubProject/FEQ0000/bin/Debug/FEQ0000.pdb b/SubProject/FEQ0000/bin/Debug/FEQ0000.pdb
index 4fb1695..30af158 100644
Binary files a/SubProject/FEQ0000/bin/Debug/FEQ0000.pdb and b/SubProject/FEQ0000/bin/Debug/FEQ0000.pdb differ
diff --git a/SubProject/FEQ0000/fEquipment.cs b/SubProject/FEQ0000/fEquipment.cs
index ce986de..9efe5c2 100644
--- a/SubProject/FEQ0000/fEquipment.cs
+++ b/SubProject/FEQ0000/fEquipment.cs
@@ -323,21 +323,20 @@ namespace FEQ0000
var f = new EQFilterApply(dataType);
if (f.ShowDialog() == System.Windows.Forms.DialogResult.OK)
{
- //var filter = f.filter;
- //var apply = f.apply;
- //if (filter.isEmpty() || apply.isEmpty())
- //{
- // Util.MsgE("no data");
- // return;
- //}
+ var dlg = FCOMMON.Util.MsgQ("매크로를 적용 하시겠습니까?");
+ if (dlg != System.Windows.Forms.DialogResult.Yes) return;
- //var dlg = Util.MsgQ("다음 매크로를 적용 하시겠습니까?\nFilter:" + filter + "\n" +
- // "apply : " + apply);
- //if (dlg != System.Windows.Forms.DialogResult.Yes) return;
+ int cnt = 0;
+ foreach(ListViewItem lvitem in f.listView1.CheckedItems)
+ {
+ //filter =2 , apply=3l
+ var filter = lvitem.SubItems[2].Text;
+ var apply = lvitem.SubItems[3].Text;
- //var cnt = applyFilter(filter, apply);
- //if (cnt == -1) Util.MsgE("오류로 인해 실행되지 않았습니다.");
- //else Util.MsgI(cnt.ToString() + "건의 자료가 변경되었습니다.");
+ cnt += applyFilter(filter, apply);
+ }
+
+ FCOMMON.Util.MsgI(string.Format("{0}건의 매크로를 적용했습니다",cnt));
}
}
diff --git a/SubProject/FEQ0000/obj/Debug/FEQ0000.csproj.GenerateResource.Cache b/SubProject/FEQ0000/obj/Debug/FEQ0000.csproj.GenerateResource.Cache
index b976349..80e4a89 100644
Binary files a/SubProject/FEQ0000/obj/Debug/FEQ0000.csproj.GenerateResource.Cache and b/SubProject/FEQ0000/obj/Debug/FEQ0000.csproj.GenerateResource.Cache differ
diff --git a/SubProject/FEQ0000/obj/Debug/FEQ0000.csprojResolveAssemblyReference.cache b/SubProject/FEQ0000/obj/Debug/FEQ0000.csprojResolveAssemblyReference.cache
index edd80ba..a0eb7c0 100644
Binary files a/SubProject/FEQ0000/obj/Debug/FEQ0000.csprojResolveAssemblyReference.cache and b/SubProject/FEQ0000/obj/Debug/FEQ0000.csprojResolveAssemblyReference.cache differ
diff --git a/SubProject/FEQ0000/obj/Debug/FEQ0000.exe b/SubProject/FEQ0000/obj/Debug/FEQ0000.exe
index 49fc991..1d79a25 100644
Binary files a/SubProject/FEQ0000/obj/Debug/FEQ0000.exe and b/SubProject/FEQ0000/obj/Debug/FEQ0000.exe differ
diff --git a/SubProject/FEQ0000/obj/Debug/FEQ0000.pdb b/SubProject/FEQ0000/obj/Debug/FEQ0000.pdb
index 4fb1695..30af158 100644
Binary files a/SubProject/FEQ0000/obj/Debug/FEQ0000.pdb and b/SubProject/FEQ0000/obj/Debug/FEQ0000.pdb differ
diff --git a/SubProject/FPJ0000/bin/Debug/FCOMMON.dll b/SubProject/FPJ0000/bin/Debug/FCOMMON.dll
index 2dcd25c..aa2b4eb 100644
Binary files a/SubProject/FPJ0000/bin/Debug/FCOMMON.dll and b/SubProject/FPJ0000/bin/Debug/FCOMMON.dll differ
diff --git a/SubProject/FPJ0000/bin/Debug/FCOMMON.pdb b/SubProject/FPJ0000/bin/Debug/FCOMMON.pdb
index fce4fd1..7396ba6 100644
Binary files a/SubProject/FPJ0000/bin/Debug/FCOMMON.pdb and b/SubProject/FPJ0000/bin/Debug/FCOMMON.pdb differ
diff --git a/SubProject/FPJ0000/bin/Debug/FPJ0000.exe b/SubProject/FPJ0000/bin/Debug/FPJ0000.exe
index 21d7337..8887bf5 100644
Binary files a/SubProject/FPJ0000/bin/Debug/FPJ0000.exe and b/SubProject/FPJ0000/bin/Debug/FPJ0000.exe differ
diff --git a/SubProject/FPJ0000/bin/Debug/FPJ0000.pdb b/SubProject/FPJ0000/bin/Debug/FPJ0000.pdb
index 8a9ec77..9b333a2 100644
Binary files a/SubProject/FPJ0000/bin/Debug/FPJ0000.pdb and b/SubProject/FPJ0000/bin/Debug/FPJ0000.pdb differ
diff --git a/SubProject/FPJ0000/obj/Debug/DesignTimeResolveAssemblyReferences.cache b/SubProject/FPJ0000/obj/Debug/DesignTimeResolveAssemblyReferences.cache
index 4ee6778..4118773 100644
Binary files a/SubProject/FPJ0000/obj/Debug/DesignTimeResolveAssemblyReferences.cache and b/SubProject/FPJ0000/obj/Debug/DesignTimeResolveAssemblyReferences.cache differ
diff --git a/SubProject/FPJ0000/obj/Debug/FPJ0000.csprojResolveAssemblyReference.cache b/SubProject/FPJ0000/obj/Debug/FPJ0000.csprojResolveAssemblyReference.cache
index 24f9432..1fc0534 100644
Binary files a/SubProject/FPJ0000/obj/Debug/FPJ0000.csprojResolveAssemblyReference.cache and b/SubProject/FPJ0000/obj/Debug/FPJ0000.csprojResolveAssemblyReference.cache differ
diff --git a/SubProject/FPJ0000/obj/Debug/FPJ0000.exe b/SubProject/FPJ0000/obj/Debug/FPJ0000.exe
index 21d7337..8887bf5 100644
Binary files a/SubProject/FPJ0000/obj/Debug/FPJ0000.exe and b/SubProject/FPJ0000/obj/Debug/FPJ0000.exe differ
diff --git a/SubProject/FPJ0000/obj/Debug/FPJ0000.pdb b/SubProject/FPJ0000/obj/Debug/FPJ0000.pdb
index 8a9ec77..9b333a2 100644
Binary files a/SubProject/FPJ0000/obj/Debug/FPJ0000.pdb and b/SubProject/FPJ0000/obj/Debug/FPJ0000.pdb differ