..
This commit is contained in:
@@ -68,6 +68,8 @@ namespace Project.Dialog
|
||||
FCOMMON.info.Login.email = userdr.email;
|
||||
FCOMMON.info.Login.nameE = userdr.nameE;
|
||||
FCOMMON.info.Login.hp = userdr.hp;
|
||||
FCOMMON.info.Login.tel = userdr.tel;
|
||||
FCOMMON.info.Login.title = userdr.ads_title;
|
||||
}
|
||||
DialogResult = DialogResult.OK;
|
||||
}
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<Project ToolsVersion="4.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
|
||||
<Project ToolsVersion="12.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
|
||||
<Import Project="$(MSBuildExtensionsPath)\$(MSBuildToolsVersion)\Microsoft.Common.props" Condition="Exists('$(MSBuildExtensionsPath)\$(MSBuildToolsVersion)\Microsoft.Common.props')" />
|
||||
<PropertyGroup>
|
||||
<Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration>
|
||||
@@ -8,7 +8,7 @@
|
||||
<OutputType>WinExe</OutputType>
|
||||
<RootNamespace>Project</RootNamespace>
|
||||
<AssemblyName>GWEE</AssemblyName>
|
||||
<TargetFrameworkVersion>v4.5</TargetFrameworkVersion>
|
||||
<TargetFrameworkVersion>v4.5.2</TargetFrameworkVersion>
|
||||
<FileAlignment>512</FileAlignment>
|
||||
<IsWebBootstrapper>true</IsWebBootstrapper>
|
||||
<SignAssembly>False</SignAssembly>
|
||||
@@ -143,6 +143,7 @@
|
||||
</Reference>
|
||||
<Reference Include="System" />
|
||||
<Reference Include="System.Core" />
|
||||
<Reference Include="System.DirectoryServices" />
|
||||
<Reference Include="System.Net" />
|
||||
<Reference Include="System.ServiceModel" />
|
||||
<Reference Include="System.Web" />
|
||||
@@ -233,6 +234,12 @@
|
||||
<Compile Include="MessageWindow.cs" />
|
||||
<Compile Include="MethodExtentions.cs" />
|
||||
<Compile Include="Program.cs" />
|
||||
<Compile Include="_Common\fADSUserList.cs">
|
||||
<SubType>Form</SubType>
|
||||
</Compile>
|
||||
<Compile Include="_Common\fADSUserList.Designer.cs">
|
||||
<DependentUpon>fADSUserList.cs</DependentUpon>
|
||||
</Compile>
|
||||
<Compile Include="_Common\fNewID.cs">
|
||||
<SubType>Form</SubType>
|
||||
</Compile>
|
||||
@@ -306,6 +313,9 @@
|
||||
<EmbeddedResource Include="fSetting.resx">
|
||||
<DependentUpon>fSetting.cs</DependentUpon>
|
||||
</EmbeddedResource>
|
||||
<EmbeddedResource Include="_Common\fADSUserList.resx">
|
||||
<DependentUpon>fADSUserList.cs</DependentUpon>
|
||||
</EmbeddedResource>
|
||||
<EmbeddedResource Include="_Common\fNewID.resx">
|
||||
<DependentUpon>fNewID.cs</DependentUpon>
|
||||
</EmbeddedResource>
|
||||
|
||||
1
Project/_Common/fNewID.Designer.cs
generated
1
Project/_Common/fNewID.Designer.cs
generated
@@ -96,6 +96,7 @@
|
||||
this.MaximizeBox = false;
|
||||
this.MinimizeBox = false;
|
||||
this.Name = "fNewID";
|
||||
this.StartPosition = System.Windows.Forms.FormStartPosition.CenterScreen;
|
||||
this.Text = "fNewPassword";
|
||||
this.Load += new System.EventHandler(this.fNewPassword_Load);
|
||||
this.ResumeLayout(false);
|
||||
|
||||
57
Project/_Common/fNewPassword.Designer.cs
generated
57
Project/_Common/fNewPassword.Designer.cs
generated
@@ -52,16 +52,6 @@
|
||||
nameLabel.TabIndex = 0;
|
||||
nameLabel.Text = "User ID";
|
||||
//
|
||||
// tbUserID
|
||||
//
|
||||
this.tbUserID.Location = new System.Drawing.Point(112, 12);
|
||||
this.tbUserID.Name = "tbUserID";
|
||||
this.tbUserID.ReadOnly = true;
|
||||
this.tbUserID.Size = new System.Drawing.Size(170, 21);
|
||||
this.tbUserID.TabIndex = 1;
|
||||
this.tbUserID.TabStop = false;
|
||||
this.tbUserID.TextAlign = System.Windows.Forms.HorizontalAlignment.Center;
|
||||
//
|
||||
// deptLabel
|
||||
//
|
||||
deptLabel.AutoSize = true;
|
||||
@@ -71,15 +61,6 @@
|
||||
deptLabel.TabIndex = 4;
|
||||
deptLabel.Text = "New Password";
|
||||
//
|
||||
// tbPass1
|
||||
//
|
||||
this.tbPass1.Location = new System.Drawing.Point(112, 64);
|
||||
this.tbPass1.Name = "tbPass1";
|
||||
this.tbPass1.PasswordChar = '*';
|
||||
this.tbPass1.Size = new System.Drawing.Size(170, 21);
|
||||
this.tbPass1.TabIndex = 5;
|
||||
this.tbPass1.TextAlign = System.Windows.Forms.HorizontalAlignment.Center;
|
||||
//
|
||||
// gradeLabel
|
||||
//
|
||||
gradeLabel.AutoSize = true;
|
||||
@@ -89,15 +70,6 @@
|
||||
gradeLabel.TabIndex = 6;
|
||||
gradeLabel.Text = "Verify";
|
||||
//
|
||||
// tbPass2
|
||||
//
|
||||
this.tbPass2.Location = new System.Drawing.Point(112, 90);
|
||||
this.tbPass2.Name = "tbPass2";
|
||||
this.tbPass2.PasswordChar = '*';
|
||||
this.tbPass2.Size = new System.Drawing.Size(170, 21);
|
||||
this.tbPass2.TabIndex = 7;
|
||||
this.tbPass2.TextAlign = System.Windows.Forms.HorizontalAlignment.Center;
|
||||
//
|
||||
// label1
|
||||
//
|
||||
label1.AutoSize = true;
|
||||
@@ -107,6 +79,34 @@
|
||||
label1.TabIndex = 2;
|
||||
label1.Text = "OLD Password";
|
||||
//
|
||||
// tbUserID
|
||||
//
|
||||
this.tbUserID.Location = new System.Drawing.Point(112, 12);
|
||||
this.tbUserID.Name = "tbUserID";
|
||||
this.tbUserID.ReadOnly = true;
|
||||
this.tbUserID.Size = new System.Drawing.Size(170, 21);
|
||||
this.tbUserID.TabIndex = 1;
|
||||
this.tbUserID.TabStop = false;
|
||||
this.tbUserID.TextAlign = System.Windows.Forms.HorizontalAlignment.Center;
|
||||
//
|
||||
// tbPass1
|
||||
//
|
||||
this.tbPass1.Location = new System.Drawing.Point(112, 64);
|
||||
this.tbPass1.Name = "tbPass1";
|
||||
this.tbPass1.PasswordChar = '*';
|
||||
this.tbPass1.Size = new System.Drawing.Size(170, 21);
|
||||
this.tbPass1.TabIndex = 5;
|
||||
this.tbPass1.TextAlign = System.Windows.Forms.HorizontalAlignment.Center;
|
||||
//
|
||||
// tbPass2
|
||||
//
|
||||
this.tbPass2.Location = new System.Drawing.Point(112, 90);
|
||||
this.tbPass2.Name = "tbPass2";
|
||||
this.tbPass2.PasswordChar = '*';
|
||||
this.tbPass2.Size = new System.Drawing.Size(170, 21);
|
||||
this.tbPass2.TabIndex = 7;
|
||||
this.tbPass2.TextAlign = System.Windows.Forms.HorizontalAlignment.Center;
|
||||
//
|
||||
// tbPassO
|
||||
//
|
||||
this.tbPassO.Location = new System.Drawing.Point(112, 38);
|
||||
@@ -143,6 +143,7 @@
|
||||
this.MaximizeBox = false;
|
||||
this.MinimizeBox = false;
|
||||
this.Name = "fNewPassword";
|
||||
this.StartPosition = System.Windows.Forms.FormStartPosition.CenterScreen;
|
||||
this.Text = "fNewPassword";
|
||||
this.Load += new System.EventHandler(this.fNewPassword_Load);
|
||||
this.ResumeLayout(false);
|
||||
|
||||
37
Project/_Common/fUserInfo.Designer.cs
generated
37
Project/_Common/fUserInfo.Designer.cs
generated
@@ -176,6 +176,24 @@
|
||||
label1.TabIndex = 14;
|
||||
label1.Text = "Tel";
|
||||
//
|
||||
// label2
|
||||
//
|
||||
label2.AutoSize = true;
|
||||
label2.Location = new System.Drawing.Point(22, 230);
|
||||
label2.Name = "label2";
|
||||
label2.Size = new System.Drawing.Size(20, 12);
|
||||
label2.TabIndex = 16;
|
||||
label2.Text = "Hp";
|
||||
//
|
||||
// label3
|
||||
//
|
||||
label3.AutoSize = true;
|
||||
label3.Location = new System.Drawing.Point(22, 95);
|
||||
label3.Name = "label3";
|
||||
label3.Size = new System.Drawing.Size(55, 12);
|
||||
label3.TabIndex = 6;
|
||||
label3.Text = "name(E)";
|
||||
//
|
||||
// idTextBox
|
||||
//
|
||||
this.idTextBox.DataBindings.Add(new System.Windows.Forms.Binding("Text", this.bs, "id", true));
|
||||
@@ -302,15 +320,6 @@
|
||||
this.textBox1.Size = new System.Drawing.Size(200, 21);
|
||||
this.textBox1.TabIndex = 15;
|
||||
//
|
||||
// label2
|
||||
//
|
||||
label2.AutoSize = true;
|
||||
label2.Location = new System.Drawing.Point(22, 230);
|
||||
label2.Name = "label2";
|
||||
label2.Size = new System.Drawing.Size(20, 12);
|
||||
label2.TabIndex = 16;
|
||||
label2.Text = "Hp";
|
||||
//
|
||||
// textBox2
|
||||
//
|
||||
this.textBox2.DataBindings.Add(new System.Windows.Forms.Binding("Text", this.bs, "hp", true));
|
||||
@@ -319,15 +328,6 @@
|
||||
this.textBox2.Size = new System.Drawing.Size(200, 21);
|
||||
this.textBox2.TabIndex = 17;
|
||||
//
|
||||
// label3
|
||||
//
|
||||
label3.AutoSize = true;
|
||||
label3.Location = new System.Drawing.Point(22, 95);
|
||||
label3.Name = "label3";
|
||||
label3.Size = new System.Drawing.Size(55, 12);
|
||||
label3.TabIndex = 6;
|
||||
label3.Text = "name(E)";
|
||||
//
|
||||
// textBox3
|
||||
//
|
||||
this.textBox3.DataBindings.Add(new System.Windows.Forms.Binding("Text", this.bs, "nameE", true));
|
||||
@@ -371,6 +371,7 @@
|
||||
this.MaximizeBox = false;
|
||||
this.MinimizeBox = false;
|
||||
this.Name = "fUserInfo";
|
||||
this.StartPosition = System.Windows.Forms.FormStartPosition.CenterScreen;
|
||||
this.Text = "fUserInfo";
|
||||
this.Load += new System.EventHandler(this.fUserInfo_Load);
|
||||
((System.ComponentModel.ISupportInitialize)(this.bs)).EndInit();
|
||||
|
||||
@@ -20,8 +20,8 @@ namespace Project._Common
|
||||
private void fUserInfo_Load(object sender, EventArgs e)
|
||||
{
|
||||
// TODO: 이 코드는 데이터를 'dsMSSQL.Users' 테이블에 로드합니다. 필요한 경우 이 코드를 이동하거나 제거할 수 있습니다.
|
||||
this.ta.Fill(this.dsMSSQL.Users);
|
||||
this.bs.Filter = "id='" + FCOMMON.info.Login.no + "'";
|
||||
this.ta.FillID(this.dsMSSQL.Users,FCOMMON.info.Login.no);
|
||||
//this.bs.Filter = "id='" + FCOMMON.info.Login.no + "'";
|
||||
}
|
||||
|
||||
private void button1_Click(object sender, EventArgs e)
|
||||
|
||||
@@ -150,8 +150,11 @@
|
||||
<metadata name="label1.GenerateMember" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
|
||||
<value>False</value>
|
||||
</metadata>
|
||||
<metadata name="bs.TrayLocation" type="System.Drawing.Point, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a">
|
||||
<value>122, 17</value>
|
||||
<metadata name="label2.GenerateMember" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
|
||||
<value>False</value>
|
||||
</metadata>
|
||||
<metadata name="label3.GenerateMember" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
|
||||
<value>False</value>
|
||||
</metadata>
|
||||
<metadata name="bs.TrayLocation" type="System.Drawing.Point, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a">
|
||||
<value>122, 17</value>
|
||||
@@ -159,19 +162,10 @@
|
||||
<metadata name="dsMSSQL.TrayLocation" type="System.Drawing.Point, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a">
|
||||
<value>17, 17</value>
|
||||
</metadata>
|
||||
<metadata name="dsMSSQL.TrayLocation" type="System.Drawing.Point, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a">
|
||||
<value>17, 17</value>
|
||||
</metadata>
|
||||
<metadata name="ta.TrayLocation" type="System.Drawing.Point, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a">
|
||||
<value>186, 17</value>
|
||||
</metadata>
|
||||
<metadata name="tam.TrayLocation" type="System.Drawing.Point, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a">
|
||||
<value>248, 17</value>
|
||||
</metadata>
|
||||
<metadata name="label2.GenerateMember" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
|
||||
<value>False</value>
|
||||
</metadata>
|
||||
<metadata name="label3.GenerateMember" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
|
||||
<value>False</value>
|
||||
</metadata>
|
||||
</root>
|
||||
389
Project/_Common/fUserList.Designer.cs
generated
389
Project/_Common/fUserList.Designer.cs
generated
@@ -30,13 +30,8 @@
|
||||
{
|
||||
this.components = new System.ComponentModel.Container();
|
||||
System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(fUserList));
|
||||
System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle1 = new System.Windows.Forms.DataGridViewCellStyle();
|
||||
System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle2 = new System.Windows.Forms.DataGridViewCellStyle();
|
||||
System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle3 = new System.Windows.Forms.DataGridViewCellStyle();
|
||||
System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle4 = new System.Windows.Forms.DataGridViewCellStyle();
|
||||
System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle5 = new System.Windows.Forms.DataGridViewCellStyle();
|
||||
System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle6 = new System.Windows.Forms.DataGridViewCellStyle();
|
||||
System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle7 = new System.Windows.Forms.DataGridViewCellStyle();
|
||||
this.dsMSSQL = new Project.dsMSSQL();
|
||||
this.bs = new System.Windows.Forms.BindingSource(this.components);
|
||||
this.ta = new Project.dsMSSQLTableAdapters.UsersTableAdapter();
|
||||
@@ -54,30 +49,42 @@
|
||||
this.bindingNavigatorMoveLastItem = new System.Windows.Forms.ToolStripButton();
|
||||
this.bindingNavigatorSeparator2 = new System.Windows.Forms.ToolStripSeparator();
|
||||
this.usersBindingNavigatorSaveItem = new System.Windows.Forms.ToolStripButton();
|
||||
this.usersDataGridView = new System.Windows.Forms.DataGridView();
|
||||
this.toolStripSeparator1 = new System.Windows.Forms.ToolStripSeparator();
|
||||
this.btDevel = new System.Windows.Forms.ToolStripDropDownButton();
|
||||
this.한글이름분리ToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
|
||||
this.dv1 = new System.Windows.Forms.DataGridView();
|
||||
this.cm1 = new System.Windows.Forms.ContextMenuStrip(this.components);
|
||||
this.iDChangeToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
|
||||
this.passwordChangeToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
|
||||
this.toolStripMenuItem1 = new System.Windows.Forms.ToolStripSeparator();
|
||||
this.mailToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
|
||||
this.dataGridViewTextBoxColumn1 = new System.Windows.Forms.DataGridViewTextBoxColumn();
|
||||
this.dataGridViewTextBoxColumn3 = new System.Windows.Forms.DataGridViewTextBoxColumn();
|
||||
this.nameE = new System.Windows.Forms.DataGridViewTextBoxColumn();
|
||||
this.dataGridViewTextBoxColumn4 = new System.Windows.Forms.DataGridViewTextBoxColumn();
|
||||
this.dataGridViewTextBoxColumn5 = new System.Windows.Forms.DataGridViewTextBoxColumn();
|
||||
this.dataGridViewTextBoxColumn6 = new System.Windows.Forms.DataGridViewTextBoxColumn();
|
||||
this.tel = new System.Windows.Forms.DataGridViewTextBoxColumn();
|
||||
this.hp = new System.Windows.Forms.DataGridViewTextBoxColumn();
|
||||
this.dataGridViewTextBoxColumn7 = new System.Windows.Forms.DataGridViewTextBoxColumn();
|
||||
this.dataGridViewTextBoxColumn8 = new System.Windows.Forms.DataGridViewTextBoxColumn();
|
||||
this.dataGridViewTextBoxColumn9 = new System.Windows.Forms.DataGridViewTextBoxColumn();
|
||||
this.dataGridViewTextBoxColumn10 = new System.Windows.Forms.DataGridViewTextBoxColumn();
|
||||
this.autoResizeColumnToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
|
||||
this.toolStrip1 = new System.Windows.Forms.ToolStrip();
|
||||
this.toolStripLabel1 = new System.Windows.Forms.ToolStripLabel();
|
||||
this.cmbdept = new System.Windows.Forms.ToolStripComboBox();
|
||||
this.btRef = new System.Windows.Forms.ToolStripButton();
|
||||
this.textBox1 = new System.Windows.Forms.TextBox();
|
||||
this.dvc_id = new System.Windows.Forms.DataGridViewTextBoxColumn();
|
||||
this.dvc_level = new System.Windows.Forms.DataGridViewTextBoxColumn();
|
||||
this.nameDataGridViewTextBoxColumn = new System.Windows.Forms.DataGridViewTextBoxColumn();
|
||||
this.nameEDataGridViewTextBoxColumn = new System.Windows.Forms.DataGridViewTextBoxColumn();
|
||||
this.deptDataGridViewTextBoxColumn = new System.Windows.Forms.DataGridViewTextBoxColumn();
|
||||
this.gradeDataGridViewTextBoxColumn = new System.Windows.Forms.DataGridViewTextBoxColumn();
|
||||
this.emailDataGridViewTextBoxColumn = new System.Windows.Forms.DataGridViewTextBoxColumn();
|
||||
this.indateDataGridViewTextBoxColumn = new System.Windows.Forms.DataGridViewTextBoxColumn();
|
||||
this.outdateDataGridViewTextBoxColumn = new System.Windows.Forms.DataGridViewTextBoxColumn();
|
||||
this.telDataGridViewTextBoxColumn = new System.Windows.Forms.DataGridViewTextBoxColumn();
|
||||
this.hpDataGridViewTextBoxColumn = new System.Windows.Forms.DataGridViewTextBoxColumn();
|
||||
this.placeDataGridViewTextBoxColumn = new System.Windows.Forms.DataGridViewTextBoxColumn();
|
||||
this.memoDataGridViewTextBoxColumn = new System.Windows.Forms.DataGridViewTextBoxColumn();
|
||||
this.toolStripMenuItem2 = new System.Windows.Forms.ToolStripSeparator();
|
||||
((System.ComponentModel.ISupportInitialize)(this.dsMSSQL)).BeginInit();
|
||||
((System.ComponentModel.ISupportInitialize)(this.bs)).BeginInit();
|
||||
((System.ComponentModel.ISupportInitialize)(this.bn)).BeginInit();
|
||||
this.bn.SuspendLayout();
|
||||
((System.ComponentModel.ISupportInitialize)(this.usersDataGridView)).BeginInit();
|
||||
((System.ComponentModel.ISupportInitialize)(this.dv1)).BeginInit();
|
||||
this.cm1.SuspendLayout();
|
||||
this.toolStrip1.SuspendLayout();
|
||||
this.SuspendLayout();
|
||||
//
|
||||
// dsMSSQL
|
||||
@@ -123,15 +130,17 @@
|
||||
this.bindingNavigatorSeparator2,
|
||||
this.bindingNavigatorAddNewItem,
|
||||
this.bindingNavigatorDeleteItem,
|
||||
this.usersBindingNavigatorSaveItem});
|
||||
this.bn.Location = new System.Drawing.Point(0, 377);
|
||||
this.usersBindingNavigatorSaveItem,
|
||||
this.toolStripSeparator1,
|
||||
this.btDevel});
|
||||
this.bn.Location = new System.Drawing.Point(0, 419);
|
||||
this.bn.MoveFirstItem = this.bindingNavigatorMoveFirstItem;
|
||||
this.bn.MoveLastItem = this.bindingNavigatorMoveLastItem;
|
||||
this.bn.MoveNextItem = this.bindingNavigatorMoveNextItem;
|
||||
this.bn.MovePreviousItem = this.bindingNavigatorMovePreviousItem;
|
||||
this.bn.Name = "bn";
|
||||
this.bn.PositionItem = this.bindingNavigatorPositionItem;
|
||||
this.bn.Size = new System.Drawing.Size(687, 25);
|
||||
this.bn.Size = new System.Drawing.Size(755, 25);
|
||||
this.bn.TabIndex = 0;
|
||||
this.bn.Text = "bindingNavigator1";
|
||||
//
|
||||
@@ -226,175 +235,254 @@
|
||||
this.usersBindingNavigatorSaveItem.Text = "Save(&S)";
|
||||
this.usersBindingNavigatorSaveItem.Click += new System.EventHandler(this.usersBindingNavigatorSaveItem_Click);
|
||||
//
|
||||
// usersDataGridView
|
||||
// toolStripSeparator1
|
||||
//
|
||||
this.usersDataGridView.AllowUserToAddRows = false;
|
||||
this.usersDataGridView.AutoGenerateColumns = false;
|
||||
this.usersDataGridView.AutoSizeColumnsMode = System.Windows.Forms.DataGridViewAutoSizeColumnsMode.AllCells;
|
||||
this.usersDataGridView.ColumnHeadersHeight = 30;
|
||||
this.usersDataGridView.ColumnHeadersHeightSizeMode = System.Windows.Forms.DataGridViewColumnHeadersHeightSizeMode.DisableResizing;
|
||||
this.usersDataGridView.Columns.AddRange(new System.Windows.Forms.DataGridViewColumn[] {
|
||||
this.dataGridViewTextBoxColumn1,
|
||||
this.dataGridViewTextBoxColumn3,
|
||||
this.nameE,
|
||||
this.dataGridViewTextBoxColumn4,
|
||||
this.dataGridViewTextBoxColumn5,
|
||||
this.dataGridViewTextBoxColumn6,
|
||||
this.tel,
|
||||
this.hp,
|
||||
this.dataGridViewTextBoxColumn7,
|
||||
this.dataGridViewTextBoxColumn8,
|
||||
this.dataGridViewTextBoxColumn9,
|
||||
this.dataGridViewTextBoxColumn10});
|
||||
this.usersDataGridView.ContextMenuStrip = this.cm1;
|
||||
this.usersDataGridView.DataSource = this.bs;
|
||||
this.usersDataGridView.Dock = System.Windows.Forms.DockStyle.Fill;
|
||||
this.usersDataGridView.Location = new System.Drawing.Point(0, 0);
|
||||
this.usersDataGridView.Name = "usersDataGridView";
|
||||
this.usersDataGridView.RowTemplate.Height = 23;
|
||||
this.usersDataGridView.Size = new System.Drawing.Size(687, 377);
|
||||
this.usersDataGridView.TabIndex = 1;
|
||||
this.toolStripSeparator1.Name = "toolStripSeparator1";
|
||||
this.toolStripSeparator1.Size = new System.Drawing.Size(6, 25);
|
||||
//
|
||||
// btDevel
|
||||
//
|
||||
this.btDevel.Alignment = System.Windows.Forms.ToolStripItemAlignment.Right;
|
||||
this.btDevel.DropDownItems.AddRange(new System.Windows.Forms.ToolStripItem[] {
|
||||
this.한글이름분리ToolStripMenuItem});
|
||||
this.btDevel.Image = ((System.Drawing.Image)(resources.GetObject("btDevel.Image")));
|
||||
this.btDevel.ImageTransparentColor = System.Drawing.Color.Magenta;
|
||||
this.btDevel.Name = "btDevel";
|
||||
this.btDevel.Size = new System.Drawing.Size(88, 22);
|
||||
this.btDevel.Text = "developer";
|
||||
//
|
||||
// 한글이름분리ToolStripMenuItem
|
||||
//
|
||||
this.한글이름분리ToolStripMenuItem.Name = "한글이름분리ToolStripMenuItem";
|
||||
this.한글이름분리ToolStripMenuItem.Size = new System.Drawing.Size(146, 22);
|
||||
this.한글이름분리ToolStripMenuItem.Text = "한글이름분리";
|
||||
this.한글이름분리ToolStripMenuItem.Click += new System.EventHandler(this.한글이름분리ToolStripMenuItem_Click);
|
||||
//
|
||||
// dv1
|
||||
//
|
||||
this.dv1.AllowUserToAddRows = false;
|
||||
this.dv1.AutoGenerateColumns = false;
|
||||
this.dv1.ColumnHeadersHeight = 30;
|
||||
this.dv1.ColumnHeadersHeightSizeMode = System.Windows.Forms.DataGridViewColumnHeadersHeightSizeMode.DisableResizing;
|
||||
this.dv1.Columns.AddRange(new System.Windows.Forms.DataGridViewColumn[] {
|
||||
this.dvc_id,
|
||||
this.dvc_level,
|
||||
this.nameDataGridViewTextBoxColumn,
|
||||
this.nameEDataGridViewTextBoxColumn,
|
||||
this.deptDataGridViewTextBoxColumn,
|
||||
this.gradeDataGridViewTextBoxColumn,
|
||||
this.emailDataGridViewTextBoxColumn,
|
||||
this.indateDataGridViewTextBoxColumn,
|
||||
this.outdateDataGridViewTextBoxColumn,
|
||||
this.telDataGridViewTextBoxColumn,
|
||||
this.hpDataGridViewTextBoxColumn,
|
||||
this.placeDataGridViewTextBoxColumn,
|
||||
this.memoDataGridViewTextBoxColumn});
|
||||
this.dv1.ContextMenuStrip = this.cm1;
|
||||
this.dv1.DataSource = this.bs;
|
||||
this.dv1.Dock = System.Windows.Forms.DockStyle.Fill;
|
||||
this.dv1.Location = new System.Drawing.Point(0, 25);
|
||||
this.dv1.Name = "dv1";
|
||||
this.dv1.RowTemplate.Height = 23;
|
||||
this.dv1.Size = new System.Drawing.Size(755, 373);
|
||||
this.dv1.TabIndex = 1;
|
||||
//
|
||||
// cm1
|
||||
//
|
||||
this.cm1.Items.AddRange(new System.Windows.Forms.ToolStripItem[] {
|
||||
this.autoResizeColumnToolStripMenuItem,
|
||||
this.toolStripMenuItem2,
|
||||
this.iDChangeToolStripMenuItem,
|
||||
this.passwordChangeToolStripMenuItem,
|
||||
this.toolStripMenuItem1,
|
||||
this.mailToolStripMenuItem});
|
||||
this.cm1.Name = "cm1";
|
||||
this.cm1.Size = new System.Drawing.Size(170, 76);
|
||||
this.cm1.Size = new System.Drawing.Size(181, 126);
|
||||
//
|
||||
// iDChangeToolStripMenuItem
|
||||
//
|
||||
this.iDChangeToolStripMenuItem.Name = "iDChangeToolStripMenuItem";
|
||||
this.iDChangeToolStripMenuItem.Size = new System.Drawing.Size(169, 22);
|
||||
this.iDChangeToolStripMenuItem.Size = new System.Drawing.Size(180, 22);
|
||||
this.iDChangeToolStripMenuItem.Text = "ID Change";
|
||||
this.iDChangeToolStripMenuItem.Click += new System.EventHandler(this.iDChangeToolStripMenuItem_Click);
|
||||
//
|
||||
// passwordChangeToolStripMenuItem
|
||||
//
|
||||
this.passwordChangeToolStripMenuItem.Name = "passwordChangeToolStripMenuItem";
|
||||
this.passwordChangeToolStripMenuItem.Size = new System.Drawing.Size(169, 22);
|
||||
this.passwordChangeToolStripMenuItem.Size = new System.Drawing.Size(180, 22);
|
||||
this.passwordChangeToolStripMenuItem.Text = "Password Change";
|
||||
this.passwordChangeToolStripMenuItem.Click += new System.EventHandler(this.passwordChangeToolStripMenuItem_Click);
|
||||
//
|
||||
// toolStripMenuItem1
|
||||
//
|
||||
this.toolStripMenuItem1.Name = "toolStripMenuItem1";
|
||||
this.toolStripMenuItem1.Size = new System.Drawing.Size(166, 6);
|
||||
this.toolStripMenuItem1.Size = new System.Drawing.Size(177, 6);
|
||||
//
|
||||
// mailToolStripMenuItem
|
||||
//
|
||||
this.mailToolStripMenuItem.Name = "mailToolStripMenuItem";
|
||||
this.mailToolStripMenuItem.Size = new System.Drawing.Size(169, 22);
|
||||
this.mailToolStripMenuItem.Size = new System.Drawing.Size(180, 22);
|
||||
this.mailToolStripMenuItem.Text = "Mail";
|
||||
this.mailToolStripMenuItem.Click += new System.EventHandler(this.mailToolStripMenuItem_Click);
|
||||
//
|
||||
// dataGridViewTextBoxColumn1
|
||||
// autoResizeColumnToolStripMenuItem
|
||||
//
|
||||
this.dataGridViewTextBoxColumn1.DataPropertyName = "id";
|
||||
dataGridViewCellStyle1.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(224)))), ((int)(((byte)(224)))), ((int)(((byte)(224)))));
|
||||
this.dataGridViewTextBoxColumn1.DefaultCellStyle = dataGridViewCellStyle1;
|
||||
this.dataGridViewTextBoxColumn1.HeaderText = "id";
|
||||
this.dataGridViewTextBoxColumn1.Name = "dataGridViewTextBoxColumn1";
|
||||
this.dataGridViewTextBoxColumn1.Width = 40;
|
||||
this.autoResizeColumnToolStripMenuItem.Name = "autoResizeColumnToolStripMenuItem";
|
||||
this.autoResizeColumnToolStripMenuItem.Size = new System.Drawing.Size(180, 22);
|
||||
this.autoResizeColumnToolStripMenuItem.Text = "AutoResize Column";
|
||||
this.autoResizeColumnToolStripMenuItem.Click += new System.EventHandler(this.autoResizeColumnToolStripMenuItem_Click);
|
||||
//
|
||||
// dataGridViewTextBoxColumn3
|
||||
// toolStrip1
|
||||
//
|
||||
this.dataGridViewTextBoxColumn3.DataPropertyName = "name";
|
||||
this.dataGridViewTextBoxColumn3.HeaderText = "name";
|
||||
this.dataGridViewTextBoxColumn3.Name = "dataGridViewTextBoxColumn3";
|
||||
this.dataGridViewTextBoxColumn3.Width = 62;
|
||||
this.toolStrip1.Items.AddRange(new System.Windows.Forms.ToolStripItem[] {
|
||||
this.toolStripLabel1,
|
||||
this.cmbdept,
|
||||
this.btRef});
|
||||
this.toolStrip1.Location = new System.Drawing.Point(0, 0);
|
||||
this.toolStrip1.Name = "toolStrip1";
|
||||
this.toolStrip1.Size = new System.Drawing.Size(755, 25);
|
||||
this.toolStrip1.TabIndex = 2;
|
||||
this.toolStrip1.Text = "toolStrip1";
|
||||
//
|
||||
// nameE
|
||||
// toolStripLabel1
|
||||
//
|
||||
this.nameE.DataPropertyName = "nameE";
|
||||
this.nameE.HeaderText = "nameE";
|
||||
this.nameE.Name = "nameE";
|
||||
this.nameE.Width = 70;
|
||||
this.toolStripLabel1.Name = "toolStripLabel1";
|
||||
this.toolStripLabel1.Size = new System.Drawing.Size(43, 22);
|
||||
this.toolStripLabel1.Text = "Depart";
|
||||
//
|
||||
// dataGridViewTextBoxColumn4
|
||||
// cmbdept
|
||||
//
|
||||
this.dataGridViewTextBoxColumn4.DataPropertyName = "dept";
|
||||
dataGridViewCellStyle2.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleCenter;
|
||||
this.dataGridViewTextBoxColumn4.DefaultCellStyle = dataGridViewCellStyle2;
|
||||
this.dataGridViewTextBoxColumn4.HeaderText = "dept";
|
||||
this.dataGridViewTextBoxColumn4.Name = "dataGridViewTextBoxColumn4";
|
||||
this.dataGridViewTextBoxColumn4.Width = 54;
|
||||
this.cmbdept.Name = "cmbdept";
|
||||
this.cmbdept.Size = new System.Drawing.Size(121, 25);
|
||||
//
|
||||
// dataGridViewTextBoxColumn5
|
||||
// btRef
|
||||
//
|
||||
this.dataGridViewTextBoxColumn5.DataPropertyName = "grade";
|
||||
this.btRef.Image = ((System.Drawing.Image)(resources.GetObject("btRef.Image")));
|
||||
this.btRef.ImageTransparentColor = System.Drawing.Color.Magenta;
|
||||
this.btRef.Name = "btRef";
|
||||
this.btRef.Size = new System.Drawing.Size(66, 22);
|
||||
this.btRef.Text = "Refresh";
|
||||
this.btRef.Click += new System.EventHandler(this.btRef_Click);
|
||||
//
|
||||
// textBox1
|
||||
//
|
||||
this.textBox1.DataBindings.Add(new System.Windows.Forms.Binding("Text", this.bs, "ads_title", true));
|
||||
this.textBox1.Dock = System.Windows.Forms.DockStyle.Bottom;
|
||||
this.textBox1.Location = new System.Drawing.Point(0, 398);
|
||||
this.textBox1.Name = "textBox1";
|
||||
this.textBox1.Size = new System.Drawing.Size(755, 21);
|
||||
this.textBox1.TabIndex = 3;
|
||||
//
|
||||
// dvc_id
|
||||
//
|
||||
this.dvc_id.DataPropertyName = "id";
|
||||
dataGridViewCellStyle3.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleCenter;
|
||||
this.dataGridViewTextBoxColumn5.DefaultCellStyle = dataGridViewCellStyle3;
|
||||
this.dataGridViewTextBoxColumn5.HeaderText = "grade";
|
||||
this.dataGridViewTextBoxColumn5.Name = "dataGridViewTextBoxColumn5";
|
||||
this.dataGridViewTextBoxColumn5.Width = 62;
|
||||
dataGridViewCellStyle3.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(224)))), ((int)(((byte)(224)))), ((int)(((byte)(224)))));
|
||||
this.dvc_id.DefaultCellStyle = dataGridViewCellStyle3;
|
||||
this.dvc_id.HeaderText = "id";
|
||||
this.dvc_id.Name = "dvc_id";
|
||||
this.dvc_id.Width = 40;
|
||||
//
|
||||
// dataGridViewTextBoxColumn6
|
||||
// dvc_level
|
||||
//
|
||||
this.dataGridViewTextBoxColumn6.DataPropertyName = "email";
|
||||
this.dataGridViewTextBoxColumn6.HeaderText = "email";
|
||||
this.dataGridViewTextBoxColumn6.Name = "dataGridViewTextBoxColumn6";
|
||||
this.dataGridViewTextBoxColumn6.Width = 61;
|
||||
//
|
||||
// tel
|
||||
//
|
||||
this.tel.DataPropertyName = "tel";
|
||||
this.dvc_level.DataPropertyName = "level";
|
||||
dataGridViewCellStyle4.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleCenter;
|
||||
this.tel.DefaultCellStyle = dataGridViewCellStyle4;
|
||||
this.tel.HeaderText = "tel";
|
||||
this.tel.Name = "tel";
|
||||
this.tel.Width = 43;
|
||||
dataGridViewCellStyle4.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(255)))), ((int)(((byte)(192)))), ((int)(((byte)(192)))));
|
||||
this.dvc_level.DefaultCellStyle = dataGridViewCellStyle4;
|
||||
this.dvc_level.HeaderText = "level";
|
||||
this.dvc_level.Name = "dvc_level";
|
||||
this.dvc_level.Width = 56;
|
||||
//
|
||||
// hp
|
||||
// nameDataGridViewTextBoxColumn
|
||||
//
|
||||
this.hp.DataPropertyName = "hp";
|
||||
this.hp.HeaderText = "hp";
|
||||
this.hp.Name = "hp";
|
||||
this.hp.Width = 44;
|
||||
this.nameDataGridViewTextBoxColumn.DataPropertyName = "name";
|
||||
this.nameDataGridViewTextBoxColumn.HeaderText = "name";
|
||||
this.nameDataGridViewTextBoxColumn.Name = "nameDataGridViewTextBoxColumn";
|
||||
this.nameDataGridViewTextBoxColumn.Width = 62;
|
||||
//
|
||||
// dataGridViewTextBoxColumn7
|
||||
// nameEDataGridViewTextBoxColumn
|
||||
//
|
||||
this.dataGridViewTextBoxColumn7.DataPropertyName = "level";
|
||||
dataGridViewCellStyle5.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleCenter;
|
||||
this.dataGridViewTextBoxColumn7.DefaultCellStyle = dataGridViewCellStyle5;
|
||||
this.dataGridViewTextBoxColumn7.HeaderText = "level";
|
||||
this.dataGridViewTextBoxColumn7.Name = "dataGridViewTextBoxColumn7";
|
||||
this.dataGridViewTextBoxColumn7.Width = 56;
|
||||
this.nameEDataGridViewTextBoxColumn.DataPropertyName = "nameE";
|
||||
this.nameEDataGridViewTextBoxColumn.HeaderText = "nameE";
|
||||
this.nameEDataGridViewTextBoxColumn.Name = "nameEDataGridViewTextBoxColumn";
|
||||
this.nameEDataGridViewTextBoxColumn.Width = 70;
|
||||
//
|
||||
// dataGridViewTextBoxColumn8
|
||||
// deptDataGridViewTextBoxColumn
|
||||
//
|
||||
this.dataGridViewTextBoxColumn8.DataPropertyName = "indate";
|
||||
dataGridViewCellStyle6.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleCenter;
|
||||
this.dataGridViewTextBoxColumn8.DefaultCellStyle = dataGridViewCellStyle6;
|
||||
this.dataGridViewTextBoxColumn8.HeaderText = "indate";
|
||||
this.dataGridViewTextBoxColumn8.Name = "dataGridViewTextBoxColumn8";
|
||||
this.dataGridViewTextBoxColumn8.Width = 64;
|
||||
this.deptDataGridViewTextBoxColumn.DataPropertyName = "dept";
|
||||
this.deptDataGridViewTextBoxColumn.HeaderText = "dept";
|
||||
this.deptDataGridViewTextBoxColumn.Name = "deptDataGridViewTextBoxColumn";
|
||||
this.deptDataGridViewTextBoxColumn.Width = 54;
|
||||
//
|
||||
// dataGridViewTextBoxColumn9
|
||||
// gradeDataGridViewTextBoxColumn
|
||||
//
|
||||
this.dataGridViewTextBoxColumn9.DataPropertyName = "outdate";
|
||||
dataGridViewCellStyle7.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleCenter;
|
||||
this.dataGridViewTextBoxColumn9.DefaultCellStyle = dataGridViewCellStyle7;
|
||||
this.dataGridViewTextBoxColumn9.HeaderText = "outdate";
|
||||
this.dataGridViewTextBoxColumn9.Name = "dataGridViewTextBoxColumn9";
|
||||
this.dataGridViewTextBoxColumn9.Width = 71;
|
||||
this.gradeDataGridViewTextBoxColumn.DataPropertyName = "grade";
|
||||
this.gradeDataGridViewTextBoxColumn.HeaderText = "grade";
|
||||
this.gradeDataGridViewTextBoxColumn.Name = "gradeDataGridViewTextBoxColumn";
|
||||
this.gradeDataGridViewTextBoxColumn.Width = 62;
|
||||
//
|
||||
// dataGridViewTextBoxColumn10
|
||||
// emailDataGridViewTextBoxColumn
|
||||
//
|
||||
this.dataGridViewTextBoxColumn10.DataPropertyName = "memo";
|
||||
this.dataGridViewTextBoxColumn10.HeaderText = "memo";
|
||||
this.dataGridViewTextBoxColumn10.Name = "dataGridViewTextBoxColumn10";
|
||||
this.dataGridViewTextBoxColumn10.Width = 66;
|
||||
this.emailDataGridViewTextBoxColumn.DataPropertyName = "email";
|
||||
this.emailDataGridViewTextBoxColumn.HeaderText = "email";
|
||||
this.emailDataGridViewTextBoxColumn.Name = "emailDataGridViewTextBoxColumn";
|
||||
this.emailDataGridViewTextBoxColumn.Width = 61;
|
||||
//
|
||||
// indateDataGridViewTextBoxColumn
|
||||
//
|
||||
this.indateDataGridViewTextBoxColumn.DataPropertyName = "indate";
|
||||
this.indateDataGridViewTextBoxColumn.HeaderText = "indate";
|
||||
this.indateDataGridViewTextBoxColumn.Name = "indateDataGridViewTextBoxColumn";
|
||||
this.indateDataGridViewTextBoxColumn.Width = 64;
|
||||
//
|
||||
// outdateDataGridViewTextBoxColumn
|
||||
//
|
||||
this.outdateDataGridViewTextBoxColumn.DataPropertyName = "outdate";
|
||||
this.outdateDataGridViewTextBoxColumn.HeaderText = "outdate";
|
||||
this.outdateDataGridViewTextBoxColumn.Name = "outdateDataGridViewTextBoxColumn";
|
||||
this.outdateDataGridViewTextBoxColumn.Width = 71;
|
||||
//
|
||||
// telDataGridViewTextBoxColumn
|
||||
//
|
||||
this.telDataGridViewTextBoxColumn.DataPropertyName = "tel";
|
||||
this.telDataGridViewTextBoxColumn.HeaderText = "tel";
|
||||
this.telDataGridViewTextBoxColumn.Name = "telDataGridViewTextBoxColumn";
|
||||
this.telDataGridViewTextBoxColumn.Width = 43;
|
||||
//
|
||||
// hpDataGridViewTextBoxColumn
|
||||
//
|
||||
this.hpDataGridViewTextBoxColumn.DataPropertyName = "hp";
|
||||
this.hpDataGridViewTextBoxColumn.HeaderText = "hp";
|
||||
this.hpDataGridViewTextBoxColumn.Name = "hpDataGridViewTextBoxColumn";
|
||||
this.hpDataGridViewTextBoxColumn.Width = 44;
|
||||
//
|
||||
// placeDataGridViewTextBoxColumn
|
||||
//
|
||||
this.placeDataGridViewTextBoxColumn.DataPropertyName = "place";
|
||||
this.placeDataGridViewTextBoxColumn.HeaderText = "place";
|
||||
this.placeDataGridViewTextBoxColumn.Name = "placeDataGridViewTextBoxColumn";
|
||||
this.placeDataGridViewTextBoxColumn.Width = 61;
|
||||
//
|
||||
// memoDataGridViewTextBoxColumn
|
||||
//
|
||||
this.memoDataGridViewTextBoxColumn.DataPropertyName = "memo";
|
||||
this.memoDataGridViewTextBoxColumn.HeaderText = "memo";
|
||||
this.memoDataGridViewTextBoxColumn.Name = "memoDataGridViewTextBoxColumn";
|
||||
this.memoDataGridViewTextBoxColumn.Width = 66;
|
||||
//
|
||||
// toolStripMenuItem2
|
||||
//
|
||||
this.toolStripMenuItem2.Name = "toolStripMenuItem2";
|
||||
this.toolStripMenuItem2.Size = new System.Drawing.Size(177, 6);
|
||||
//
|
||||
// fUserList
|
||||
//
|
||||
this.AutoScaleDimensions = new System.Drawing.SizeF(7F, 12F);
|
||||
this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
|
||||
this.ClientSize = new System.Drawing.Size(687, 402);
|
||||
this.Controls.Add(this.usersDataGridView);
|
||||
this.ClientSize = new System.Drawing.Size(755, 444);
|
||||
this.Controls.Add(this.dv1);
|
||||
this.Controls.Add(this.textBox1);
|
||||
this.Controls.Add(this.toolStrip1);
|
||||
this.Controls.Add(this.bn);
|
||||
this.Name = "fUserList";
|
||||
this.Text = "fUserList";
|
||||
@@ -404,8 +492,10 @@
|
||||
((System.ComponentModel.ISupportInitialize)(this.bn)).EndInit();
|
||||
this.bn.ResumeLayout(false);
|
||||
this.bn.PerformLayout();
|
||||
((System.ComponentModel.ISupportInitialize)(this.usersDataGridView)).EndInit();
|
||||
((System.ComponentModel.ISupportInitialize)(this.dv1)).EndInit();
|
||||
this.cm1.ResumeLayout(false);
|
||||
this.toolStrip1.ResumeLayout(false);
|
||||
this.toolStrip1.PerformLayout();
|
||||
this.ResumeLayout(false);
|
||||
this.PerformLayout();
|
||||
|
||||
@@ -430,23 +520,34 @@
|
||||
private System.Windows.Forms.ToolStripButton bindingNavigatorMoveLastItem;
|
||||
private System.Windows.Forms.ToolStripSeparator bindingNavigatorSeparator2;
|
||||
private System.Windows.Forms.ToolStripButton usersBindingNavigatorSaveItem;
|
||||
private System.Windows.Forms.DataGridView usersDataGridView;
|
||||
private System.Windows.Forms.DataGridView dv1;
|
||||
private System.Windows.Forms.ContextMenuStrip cm1;
|
||||
private System.Windows.Forms.ToolStripMenuItem iDChangeToolStripMenuItem;
|
||||
private System.Windows.Forms.ToolStripMenuItem passwordChangeToolStripMenuItem;
|
||||
private System.Windows.Forms.ToolStripSeparator toolStripMenuItem1;
|
||||
private System.Windows.Forms.ToolStripMenuItem mailToolStripMenuItem;
|
||||
private System.Windows.Forms.DataGridViewTextBoxColumn dataGridViewTextBoxColumn1;
|
||||
private System.Windows.Forms.DataGridViewTextBoxColumn dataGridViewTextBoxColumn3;
|
||||
private System.Windows.Forms.DataGridViewTextBoxColumn nameE;
|
||||
private System.Windows.Forms.DataGridViewTextBoxColumn dataGridViewTextBoxColumn4;
|
||||
private System.Windows.Forms.DataGridViewTextBoxColumn dataGridViewTextBoxColumn5;
|
||||
private System.Windows.Forms.DataGridViewTextBoxColumn dataGridViewTextBoxColumn6;
|
||||
private System.Windows.Forms.DataGridViewTextBoxColumn tel;
|
||||
private System.Windows.Forms.DataGridViewTextBoxColumn hp;
|
||||
private System.Windows.Forms.DataGridViewTextBoxColumn dataGridViewTextBoxColumn7;
|
||||
private System.Windows.Forms.DataGridViewTextBoxColumn dataGridViewTextBoxColumn8;
|
||||
private System.Windows.Forms.DataGridViewTextBoxColumn dataGridViewTextBoxColumn9;
|
||||
private System.Windows.Forms.DataGridViewTextBoxColumn dataGridViewTextBoxColumn10;
|
||||
private System.Windows.Forms.ToolStripSeparator toolStripSeparator1;
|
||||
private System.Windows.Forms.ToolStripDropDownButton btDevel;
|
||||
private System.Windows.Forms.ToolStripMenuItem 한글이름분리ToolStripMenuItem;
|
||||
private System.Windows.Forms.ToolStrip toolStrip1;
|
||||
private System.Windows.Forms.ToolStripLabel toolStripLabel1;
|
||||
private System.Windows.Forms.ToolStripComboBox cmbdept;
|
||||
private System.Windows.Forms.ToolStripButton btRef;
|
||||
private System.Windows.Forms.ToolStripMenuItem autoResizeColumnToolStripMenuItem;
|
||||
private System.Windows.Forms.TextBox textBox1;
|
||||
private System.Windows.Forms.DataGridViewTextBoxColumn dvc_id;
|
||||
private System.Windows.Forms.DataGridViewTextBoxColumn dvc_level;
|
||||
private System.Windows.Forms.DataGridViewTextBoxColumn nameDataGridViewTextBoxColumn;
|
||||
private System.Windows.Forms.DataGridViewTextBoxColumn nameEDataGridViewTextBoxColumn;
|
||||
private System.Windows.Forms.DataGridViewTextBoxColumn deptDataGridViewTextBoxColumn;
|
||||
private System.Windows.Forms.DataGridViewTextBoxColumn gradeDataGridViewTextBoxColumn;
|
||||
private System.Windows.Forms.DataGridViewTextBoxColumn emailDataGridViewTextBoxColumn;
|
||||
private System.Windows.Forms.DataGridViewTextBoxColumn indateDataGridViewTextBoxColumn;
|
||||
private System.Windows.Forms.DataGridViewTextBoxColumn outdateDataGridViewTextBoxColumn;
|
||||
private System.Windows.Forms.DataGridViewTextBoxColumn telDataGridViewTextBoxColumn;
|
||||
private System.Windows.Forms.DataGridViewTextBoxColumn hpDataGridViewTextBoxColumn;
|
||||
private System.Windows.Forms.DataGridViewTextBoxColumn placeDataGridViewTextBoxColumn;
|
||||
private System.Windows.Forms.DataGridViewTextBoxColumn memoDataGridViewTextBoxColumn;
|
||||
private System.Windows.Forms.ToolStripSeparator toolStripMenuItem2;
|
||||
}
|
||||
}
|
||||
@@ -36,11 +36,37 @@ namespace Project._Common
|
||||
{
|
||||
var form = this as Form;
|
||||
Pub.SetFormStatus(ref form, this.Name , true);
|
||||
this.Show();
|
||||
this.Show();
|
||||
Application.DoEvents();
|
||||
|
||||
//read data
|
||||
this.ta.Fill(this.dsMSSQL.Users);
|
||||
if(FCOMMON.info.Login.level > 9)
|
||||
{
|
||||
this.btDevel.Visible = true;
|
||||
this.dv1.EditMode = DataGridViewEditMode.EditOnKeystrokeOrF2;
|
||||
}
|
||||
else
|
||||
{
|
||||
this.dv1.EditMode = DataGridViewEditMode.EditProgrammatically;
|
||||
this.dv1.SelectionMode = DataGridViewSelectionMode.FullRowSelect;
|
||||
this.btDevel.Visible = false;
|
||||
this.textBox1.Enabled = false;
|
||||
this.dvc_id.Visible = false;
|
||||
this.dvc_level.Visible = false;
|
||||
this.usersBindingNavigatorSaveItem.Enabled = false;
|
||||
this.bindingNavigatorAddNewItem.Enabled = false;
|
||||
this.bindingNavigatorDeleteItem.Enabled = false;
|
||||
|
||||
}
|
||||
|
||||
//부서목록 업데이트
|
||||
this.cmbdept.Items.Clear();
|
||||
var deptList = FCOMMON.DBM.getGroupList("dept", "users");
|
||||
foreach (var item in deptList)
|
||||
this.cmbdept.Items.Add(item);
|
||||
|
||||
this.cmbdept.Text = FCOMMON.info.Login.dept;
|
||||
btRef.PerformClick();
|
||||
|
||||
}
|
||||
private void usersBindingNavigatorSaveItem_Click(object sender, EventArgs e)
|
||||
{
|
||||
@@ -114,5 +140,30 @@ namespace Project._Common
|
||||
Util.RunExplorer(cmd);
|
||||
}
|
||||
|
||||
private void 한글이름분리ToolStripMenuItem_Click(object sender, EventArgs e)
|
||||
{
|
||||
|
||||
foreach(dsMSSQL.UsersRow dr in this.dsMSSQL.Users.Rows)
|
||||
{
|
||||
var name = dr.name;
|
||||
var newname = name.Split(' ')[0];
|
||||
dr.name = newname;
|
||||
dr.EndEdit();
|
||||
}
|
||||
}
|
||||
|
||||
private void btRef_Click(object sender, EventArgs e)
|
||||
{
|
||||
//read data
|
||||
this.dsMSSQL.Users.Clear();
|
||||
this.ta.Fill(this.dsMSSQL.Users, this.cmbdept.Text );
|
||||
this.dsMSSQL.Users.AcceptChanges();
|
||||
}
|
||||
|
||||
private void autoResizeColumnToolStripMenuItem_Click(object sender, EventArgs e)
|
||||
{
|
||||
this.dv1.AutoResizeColumns();
|
||||
}
|
||||
|
||||
}
|
||||
}
|
||||
|
||||
@@ -204,16 +204,37 @@
|
||||
dtINAGGiDUDGyGpoawAxeNSAQWkAORiqnRLAwAAA9EMMU8Daa3MAAAAASUVORK5CYII=
|
||||
</value>
|
||||
</data>
|
||||
<metadata name="nameE.UserAddedColumn" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
|
||||
<value>True</value>
|
||||
</metadata>
|
||||
<metadata name="tel.UserAddedColumn" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
|
||||
<value>True</value>
|
||||
</metadata>
|
||||
<metadata name="hp.UserAddedColumn" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
|
||||
<value>True</value>
|
||||
</metadata>
|
||||
<data name="btDevel.Image" type="System.Drawing.Bitmap, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64">
|
||||
<value>
|
||||
iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8
|
||||
YQUAAAAJcEhZcwAADsMAAA7DAcdvqGQAAAIDSURBVDhPpZLrS5NhGMb3j4SWh0oRQVExD4gonkDpg4hG
|
||||
YKxG6WBogkMZKgPNCEVJFBGdGETEvgwyO9DJE5syZw3PIlPEE9pgBCLZ5XvdMB8Ew8gXbl54nuf63dd9
|
||||
0OGSnwCahxbPRNPAPMw9Xpg6ZmF46kZZ0xSKzJPIrhpDWsVnpBhGkKx3nAX8Pv7z1zg8OoY/cITdn4fw
|
||||
bf/C0kYAN3Ma/w3gWfZL5kzTKBxjWyK2DftwI9tyMYCZKXbNHaD91bLYJrDXsYbrWfUKwJrPE9M2M1Oc
|
||||
VzOOpHI7Jr376Hi9ogHqFIANO0/MmmmbmSmm9a8ze+I4MrNWAdjtoJgWcx+PSzg166yZZ8xM8XvXDix9
|
||||
c4jIqFYAjoriBV9AhEPv1mH/sonogha0afbZMMZz+yreTGyhpusHwtNNCsA5U1zS4BLxzJIfg299qO32
|
||||
Ir7UJtZfftyATqeT+8o2D8JSjQrAJblrncYL7ZJ2+bfaFnC/1S1NjL3diRat7qrO7wLRP3HjWsojBeCo
|
||||
mDEo5mNjuweFGvjWg2EBhCbpkW78htSHHwRyNdmgAFzPEee2iFkzayy2OLXzT4gr6UdUnlXrullsxxQ+
|
||||
kx0g8BTA3aZlButjSTyjODq/WcQcW/B/Je4OQhLvKQDnzN1mp0nnkvAhR8VuMzNrpm1mpjgkoVwB/v8D
|
||||
TgDQASA1MVpwzwAAAABJRU5ErkJggg==
|
||||
</value>
|
||||
</data>
|
||||
<metadata name="cm1.TrayLocation" type="System.Drawing.Point, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a">
|
||||
<value>387, 17</value>
|
||||
</metadata>
|
||||
<metadata name="toolStrip1.TrayLocation" type="System.Drawing.Point, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a">
|
||||
<value>462, 17</value>
|
||||
</metadata>
|
||||
<data name="btRef.Image" type="System.Drawing.Bitmap, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64">
|
||||
<value>
|
||||
iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8
|
||||
YQUAAAAJcEhZcwAADsMAAA7DAcdvqGQAAAFKSURBVDhPtZMxSwNRDMfvu9SC4ODW0q1+G8GhIIp2qINL
|
||||
ERGk0IK4ugkiKjq0q4KDRZw8QfHQoUhxExShsb+YXE+9K3TwB+Hx8vJPcnnvgizkF+aO/bZNh4DSckMK
|
||||
ZsWVHRXB7OKurhb6l/ChJ8XVlrR7b3IWveqKFdYPpN4OJV/Zy07Awcx8XYWN7rNa+TCU8lEkm1d9OXn6
|
||||
lNzSaXoCF2/sd3TFphdasn0ZaYK5475s3bxLrno+PgHtJ6Hl5t2HirGpWlf9JhuBk4H5ISsdkIC2qYw4
|
||||
v3Ydx8SoZ0JM+g0OMlOBSlSkMh14MGuywx/gRMyU+V7Mr8thNswITDYCJ5URMm2mzvTpAEveTnaCYdsk
|
||||
4L5JwP37W2he3GaLgQNa5qXx4qiOIcRo//7xRQaDMQn8jQNv3/8D/gmw0HQ0Yoht471j7v8gCL4AjZn0
|
||||
BRhVTtsAAAAASUVORK5CYII=
|
||||
</value>
|
||||
</data>
|
||||
</root>
|
||||
1
Project/_Info/fInfo_Staff.Designer.cs
generated
1
Project/_Info/fInfo_Staff.Designer.cs
generated
@@ -101,6 +101,7 @@
|
||||
this.Controls.Add(this.panel2);
|
||||
this.Controls.Add(this.panel1);
|
||||
this.Name = "fInfo_Staff";
|
||||
this.StartPosition = System.Windows.Forms.FormStartPosition.CenterScreen;
|
||||
this.Text = "자리배치도";
|
||||
this.Load += new System.EventHandler(this.fInfo_Staff_Load);
|
||||
this.panel1.ResumeLayout(false);
|
||||
|
||||
@@ -37,4 +37,4 @@ namespace HelloWorld
|
||||
</dependentAssembly>
|
||||
</assemblyBinding>
|
||||
</runtime>
|
||||
<startup><supportedRuntime version="v4.0" sku=".NETFramework,Version=v4.5"/></startup></configuration>
|
||||
<startup><supportedRuntime version="v4.0" sku=".NETFramework,Version=v4.5.2"/></startup></configuration>
|
||||
|
||||
898
Project/dsMSSQL.Designer.cs
generated
898
Project/dsMSSQL.Designer.cs
generated
File diff suppressed because it is too large
Load Diff
@@ -12,15 +12,15 @@
|
||||
<DbSource ConnectionRef="gwcs (Settings)" DbObjectName="GroupWare.dbo.Users" DbObjectType="Table" FillMethodModifier="Public" FillMethodName="Fill" GenerateMethods="Both" GenerateShortCommands="true" GeneratorGetMethodName="GetData" GeneratorSourceName="Fill" GetMethodModifier="Public" GetMethodName="GetData" QueryType="Rowset" ScalarCallRetval="System.Object, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" UseOptimisticConcurrency="true" UserGetMethodName="GetData" UserSourceName="Fill">
|
||||
<DeleteCommand>
|
||||
<DbCommand CommandType="Text" ModifiedByUser="false">
|
||||
<CommandText>DELETE FROM [Users] WHERE (([id] = @Original_id) AND ((@IsNull_password = 1 AND [password] IS NULL) OR ([password] = @Original_password)) AND ((@IsNull_name = 1 AND [name] IS NULL) OR ([name] = @Original_name)) AND ((@IsNull_nameE = 1 AND [nameE] IS NULL) OR ([nameE] = @Original_nameE)) AND ((@IsNull_dept = 1 AND [dept] IS NULL) OR ([dept] = @Original_dept)) AND ((@IsNull_grade = 1 AND [grade] IS NULL) OR ([grade] = @Original_grade)) AND ((@IsNull_email = 1 AND [email] IS NULL) OR ([email] = @Original_email)) AND ((@IsNull_level = 1 AND [level] IS NULL) OR ([level] = @Original_level)) AND ((@IsNull_indate = 1 AND [indate] IS NULL) OR ([indate] = @Original_indate)) AND ((@IsNull_outdate = 1 AND [outdate] IS NULL) OR ([outdate] = @Original_outdate)) AND ((@IsNull_tel = 1 AND [tel] IS NULL) OR ([tel] = @Original_tel)) AND ((@IsNull_memo = 1 AND [memo] IS NULL) OR ([memo] = @Original_memo)) AND ([wuid] = @Original_wuid) AND ([wdate] = @Original_wdate) AND ((@IsNull_hp = 1 AND [hp] IS NULL) OR ([hp] = @Original_hp)))</CommandText>
|
||||
<CommandText>DELETE FROM [Users] WHERE (([id] = @Original_id) AND ((@IsNull_password = 1 AND [password] IS NULL) OR ([password] = @Original_password)) AND ((@IsNull_nameE = 1 AND [nameE] IS NULL) OR ([nameE] = @Original_nameE)) AND ((@IsNull_name = 1 AND [name] IS NULL) OR ([name] = @Original_name)) AND ((@IsNull_dept = 1 AND [dept] IS NULL) OR ([dept] = @Original_dept)) AND ((@IsNull_grade = 1 AND [grade] IS NULL) OR ([grade] = @Original_grade)) AND ((@IsNull_email = 1 AND [email] IS NULL) OR ([email] = @Original_email)) AND ((@IsNull_level = 1 AND [level] IS NULL) OR ([level] = @Original_level)) AND ((@IsNull_indate = 1 AND [indate] IS NULL) OR ([indate] = @Original_indate)) AND ((@IsNull_outdate = 1 AND [outdate] IS NULL) OR ([outdate] = @Original_outdate)) AND ((@IsNull_tel = 1 AND [tel] IS NULL) OR ([tel] = @Original_tel)) AND ((@IsNull_hp = 1 AND [hp] IS NULL) OR ([hp] = @Original_hp)) AND ((@IsNull_place = 1 AND [place] IS NULL) OR ([place] = @Original_place)) AND ((@IsNull_ads_employNo = 1 AND [ads_employNo] IS NULL) OR ([ads_employNo] = @Original_ads_employNo)) AND ((@IsNull_ads_title = 1 AND [ads_title] IS NULL) OR ([ads_title] = @Original_ads_title)) AND ((@IsNull_ads_created = 1 AND [ads_created] IS NULL) OR ([ads_created] = @Original_ads_created)) AND ((@IsNull_memo = 1 AND [memo] IS NULL) OR ([memo] = @Original_memo)) AND ([wuid] = @Original_wuid) AND ([wdate] = @Original_wdate))</CommandText>
|
||||
<Parameters>
|
||||
<Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@Original_id" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="id" SourceColumnNullMapping="false" SourceVersion="Original" />
|
||||
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_password" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="password" SourceColumnNullMapping="true" SourceVersion="Original" />
|
||||
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@Original_password" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="password" SourceColumnNullMapping="false" SourceVersion="Original" />
|
||||
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_nameE" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="nameE" SourceColumnNullMapping="true" SourceVersion="Original" />
|
||||
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_nameE" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="nameE" SourceColumnNullMapping="false" SourceVersion="Original" />
|
||||
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_name" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="name" SourceColumnNullMapping="true" SourceVersion="Original" />
|
||||
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_name" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="name" SourceColumnNullMapping="false" SourceVersion="Original" />
|
||||
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_nameE" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="nameE" SourceColumnNullMapping="true" SourceVersion="Original" />
|
||||
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@Original_nameE" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="nameE" SourceColumnNullMapping="false" SourceVersion="Original" />
|
||||
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_dept" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="dept" SourceColumnNullMapping="true" SourceVersion="Original" />
|
||||
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@Original_dept" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="dept" SourceColumnNullMapping="false" SourceVersion="Original" />
|
||||
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_grade" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="grade" SourceColumnNullMapping="true" SourceVersion="Original" />
|
||||
@@ -35,24 +35,32 @@
|
||||
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@Original_outdate" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="outdate" SourceColumnNullMapping="false" SourceVersion="Original" />
|
||||
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_tel" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="tel" SourceColumnNullMapping="true" SourceVersion="Original" />
|
||||
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@Original_tel" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="tel" SourceColumnNullMapping="false" SourceVersion="Original" />
|
||||
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_hp" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="hp" SourceColumnNullMapping="true" SourceVersion="Original" />
|
||||
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@Original_hp" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="hp" SourceColumnNullMapping="false" SourceVersion="Original" />
|
||||
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_place" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="place" SourceColumnNullMapping="true" SourceVersion="Original" />
|
||||
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@Original_place" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="place" SourceColumnNullMapping="false" SourceVersion="Original" />
|
||||
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_ads_employNo" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="ads_employNo" SourceColumnNullMapping="true" SourceVersion="Original" />
|
||||
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@Original_ads_employNo" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="ads_employNo" SourceColumnNullMapping="false" SourceVersion="Original" />
|
||||
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_ads_title" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="ads_title" SourceColumnNullMapping="true" SourceVersion="Original" />
|
||||
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_ads_title" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="ads_title" SourceColumnNullMapping="false" SourceVersion="Original" />
|
||||
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_ads_created" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="ads_created" SourceColumnNullMapping="true" SourceVersion="Original" />
|
||||
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@Original_ads_created" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="ads_created" SourceColumnNullMapping="false" SourceVersion="Original" />
|
||||
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_memo" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="memo" SourceColumnNullMapping="true" SourceVersion="Original" />
|
||||
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_memo" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="memo" SourceColumnNullMapping="false" SourceVersion="Original" />
|
||||
<Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@Original_wuid" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="wuid" SourceColumnNullMapping="false" SourceVersion="Original" />
|
||||
<Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="DateTime" Direction="Input" ParameterName="@Original_wdate" Precision="0" ProviderType="DateTime" Scale="0" Size="0" SourceColumn="wdate" SourceColumnNullMapping="false" SourceVersion="Original" />
|
||||
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_hp" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="hp" SourceColumnNullMapping="true" SourceVersion="Original" />
|
||||
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@Original_hp" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="hp" SourceColumnNullMapping="false" SourceVersion="Original" />
|
||||
</Parameters>
|
||||
</DbCommand>
|
||||
</DeleteCommand>
|
||||
<InsertCommand>
|
||||
<DbCommand CommandType="Text" ModifiedByUser="false">
|
||||
<CommandText>INSERT INTO [Users] ([id], [password], [name], [nameE], [dept], [grade], [email], [level], [indate], [outdate], [tel], [memo], [wuid], [wdate], [hp]) VALUES (@id, @password, @name, @nameE, @dept, @grade, @email, @level, @indate, @outdate, @tel, @memo, @wuid, @wdate, @hp);
|
||||
SELECT id, password, name, nameE, dept, grade, email, level, indate, outdate, tel, memo, wuid, wdate, hp FROM Users WHERE (id = @id)</CommandText>
|
||||
<CommandText>INSERT INTO [Users] ([id], [password], [nameE], [name], [dept], [grade], [email], [level], [indate], [outdate], [tel], [hp], [place], [ads_employNo], [ads_title], [ads_created], [memo], [wuid], [wdate]) VALUES (@id, @password, @nameE, @name, @dept, @grade, @email, @level, @indate, @outdate, @tel, @hp, @place, @ads_employNo, @ads_title, @ads_created, @memo, @wuid, @wdate);
|
||||
SELECT id, password, nameE, name, dept, grade, email, level, indate, outdate, tel, hp, place, ads_employNo, ads_title, ads_created, memo, wuid, wdate FROM Users WHERE (id = @id) ORDER BY name</CommandText>
|
||||
<Parameters>
|
||||
<Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@id" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="id" SourceColumnNullMapping="false" SourceVersion="Current" />
|
||||
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@password" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="password" SourceColumnNullMapping="false" SourceVersion="Current" />
|
||||
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@nameE" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="nameE" SourceColumnNullMapping="false" SourceVersion="Current" />
|
||||
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@name" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="name" SourceColumnNullMapping="false" SourceVersion="Current" />
|
||||
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@nameE" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="nameE" SourceColumnNullMapping="false" SourceVersion="Current" />
|
||||
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@dept" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="dept" SourceColumnNullMapping="false" SourceVersion="Current" />
|
||||
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@grade" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="grade" SourceColumnNullMapping="false" SourceVersion="Current" />
|
||||
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@email" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="email" SourceColumnNullMapping="false" SourceVersion="Current" />
|
||||
@@ -60,29 +68,37 @@ SELECT id, password, name, nameE, dept, grade, email, level, indate, outdate, te
|
||||
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@indate" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="indate" SourceColumnNullMapping="false" SourceVersion="Current" />
|
||||
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@outdate" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="outdate" SourceColumnNullMapping="false" SourceVersion="Current" />
|
||||
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@tel" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="tel" SourceColumnNullMapping="false" SourceVersion="Current" />
|
||||
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@hp" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="hp" SourceColumnNullMapping="false" SourceVersion="Current" />
|
||||
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@place" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="place" SourceColumnNullMapping="false" SourceVersion="Current" />
|
||||
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@ads_employNo" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="ads_employNo" SourceColumnNullMapping="false" SourceVersion="Current" />
|
||||
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@ads_title" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="ads_title" SourceColumnNullMapping="false" SourceVersion="Current" />
|
||||
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@ads_created" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="ads_created" SourceColumnNullMapping="false" SourceVersion="Current" />
|
||||
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@memo" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="memo" SourceColumnNullMapping="false" SourceVersion="Current" />
|
||||
<Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@wuid" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="wuid" SourceColumnNullMapping="false" SourceVersion="Current" />
|
||||
<Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="DateTime" Direction="Input" ParameterName="@wdate" Precision="0" ProviderType="DateTime" Scale="0" Size="0" SourceColumn="wdate" SourceColumnNullMapping="false" SourceVersion="Current" />
|
||||
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@hp" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="hp" SourceColumnNullMapping="false" SourceVersion="Current" />
|
||||
</Parameters>
|
||||
</DbCommand>
|
||||
</InsertCommand>
|
||||
<SelectCommand>
|
||||
<DbCommand CommandType="Text" ModifiedByUser="false">
|
||||
<CommandText>SELECT id, password, name, nameE, dept, grade, email, level, indate, outdate, tel, memo, wuid, wdate, hp
|
||||
FROM Users</CommandText>
|
||||
<Parameters />
|
||||
<CommandText>SELECT id, password, nameE, name, dept, grade, email, level, indate, outdate, tel, hp, place, ads_employNo, ads_title, ads_created, memo, wuid, wdate
|
||||
FROM Users
|
||||
WHERE (ISNULL(dept, '') LIKE @dept)
|
||||
ORDER BY name</CommandText>
|
||||
<Parameters>
|
||||
<Parameter AllowDbNull="false" AutogeneratedName="dept" ColumnName="" DataSourceName="" DataTypeServer="unknown" DbType="AnsiString" Direction="Input" ParameterName="@dept" Precision="0" Scale="0" Size="1024" SourceColumn="" SourceColumnNullMapping="false" SourceVersion="Current" />
|
||||
</Parameters>
|
||||
</DbCommand>
|
||||
</SelectCommand>
|
||||
<UpdateCommand>
|
||||
<DbCommand CommandType="Text" ModifiedByUser="false">
|
||||
<CommandText>UPDATE [Users] SET [id] = @id, [password] = @password, [name] = @name, [nameE] = @nameE, [dept] = @dept, [grade] = @grade, [email] = @email, [level] = @level, [indate] = @indate, [outdate] = @outdate, [tel] = @tel, [memo] = @memo, [wuid] = @wuid, [wdate] = @wdate, [hp] = @hp WHERE (([id] = @Original_id) AND ((@IsNull_password = 1 AND [password] IS NULL) OR ([password] = @Original_password)) AND ((@IsNull_name = 1 AND [name] IS NULL) OR ([name] = @Original_name)) AND ((@IsNull_nameE = 1 AND [nameE] IS NULL) OR ([nameE] = @Original_nameE)) AND ((@IsNull_dept = 1 AND [dept] IS NULL) OR ([dept] = @Original_dept)) AND ((@IsNull_grade = 1 AND [grade] IS NULL) OR ([grade] = @Original_grade)) AND ((@IsNull_email = 1 AND [email] IS NULL) OR ([email] = @Original_email)) AND ((@IsNull_level = 1 AND [level] IS NULL) OR ([level] = @Original_level)) AND ((@IsNull_indate = 1 AND [indate] IS NULL) OR ([indate] = @Original_indate)) AND ((@IsNull_outdate = 1 AND [outdate] IS NULL) OR ([outdate] = @Original_outdate)) AND ((@IsNull_tel = 1 AND [tel] IS NULL) OR ([tel] = @Original_tel)) AND ((@IsNull_memo = 1 AND [memo] IS NULL) OR ([memo] = @Original_memo)) AND ([wuid] = @Original_wuid) AND ([wdate] = @Original_wdate) AND ((@IsNull_hp = 1 AND [hp] IS NULL) OR ([hp] = @Original_hp)));
|
||||
SELECT id, password, name, nameE, dept, grade, email, level, indate, outdate, tel, memo, wuid, wdate, hp FROM Users WHERE (id = @id)</CommandText>
|
||||
<CommandText>UPDATE [Users] SET [id] = @id, [password] = @password, [nameE] = @nameE, [name] = @name, [dept] = @dept, [grade] = @grade, [email] = @email, [level] = @level, [indate] = @indate, [outdate] = @outdate, [tel] = @tel, [hp] = @hp, [place] = @place, [ads_employNo] = @ads_employNo, [ads_title] = @ads_title, [ads_created] = @ads_created, [memo] = @memo, [wuid] = @wuid, [wdate] = @wdate WHERE (([id] = @Original_id) AND ((@IsNull_password = 1 AND [password] IS NULL) OR ([password] = @Original_password)) AND ((@IsNull_nameE = 1 AND [nameE] IS NULL) OR ([nameE] = @Original_nameE)) AND ((@IsNull_name = 1 AND [name] IS NULL) OR ([name] = @Original_name)) AND ((@IsNull_dept = 1 AND [dept] IS NULL) OR ([dept] = @Original_dept)) AND ((@IsNull_grade = 1 AND [grade] IS NULL) OR ([grade] = @Original_grade)) AND ((@IsNull_email = 1 AND [email] IS NULL) OR ([email] = @Original_email)) AND ((@IsNull_level = 1 AND [level] IS NULL) OR ([level] = @Original_level)) AND ((@IsNull_indate = 1 AND [indate] IS NULL) OR ([indate] = @Original_indate)) AND ((@IsNull_outdate = 1 AND [outdate] IS NULL) OR ([outdate] = @Original_outdate)) AND ((@IsNull_tel = 1 AND [tel] IS NULL) OR ([tel] = @Original_tel)) AND ((@IsNull_hp = 1 AND [hp] IS NULL) OR ([hp] = @Original_hp)) AND ((@IsNull_place = 1 AND [place] IS NULL) OR ([place] = @Original_place)) AND ((@IsNull_ads_employNo = 1 AND [ads_employNo] IS NULL) OR ([ads_employNo] = @Original_ads_employNo)) AND ((@IsNull_ads_title = 1 AND [ads_title] IS NULL) OR ([ads_title] = @Original_ads_title)) AND ((@IsNull_ads_created = 1 AND [ads_created] IS NULL) OR ([ads_created] = @Original_ads_created)) AND ((@IsNull_memo = 1 AND [memo] IS NULL) OR ([memo] = @Original_memo)) AND ([wuid] = @Original_wuid) AND ([wdate] = @Original_wdate));
|
||||
SELECT id, password, nameE, name, dept, grade, email, level, indate, outdate, tel, hp, place, ads_employNo, ads_title, ads_created, memo, wuid, wdate FROM Users WHERE (id = @id) ORDER BY name</CommandText>
|
||||
<Parameters>
|
||||
<Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@id" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="id" SourceColumnNullMapping="false" SourceVersion="Current" />
|
||||
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@password" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="password" SourceColumnNullMapping="false" SourceVersion="Current" />
|
||||
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@nameE" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="nameE" SourceColumnNullMapping="false" SourceVersion="Current" />
|
||||
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@name" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="name" SourceColumnNullMapping="false" SourceVersion="Current" />
|
||||
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@nameE" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="nameE" SourceColumnNullMapping="false" SourceVersion="Current" />
|
||||
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@dept" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="dept" SourceColumnNullMapping="false" SourceVersion="Current" />
|
||||
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@grade" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="grade" SourceColumnNullMapping="false" SourceVersion="Current" />
|
||||
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@email" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="email" SourceColumnNullMapping="false" SourceVersion="Current" />
|
||||
@@ -90,17 +106,21 @@ SELECT id, password, name, nameE, dept, grade, email, level, indate, outdate, te
|
||||
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@indate" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="indate" SourceColumnNullMapping="false" SourceVersion="Current" />
|
||||
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@outdate" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="outdate" SourceColumnNullMapping="false" SourceVersion="Current" />
|
||||
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@tel" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="tel" SourceColumnNullMapping="false" SourceVersion="Current" />
|
||||
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@hp" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="hp" SourceColumnNullMapping="false" SourceVersion="Current" />
|
||||
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@place" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="place" SourceColumnNullMapping="false" SourceVersion="Current" />
|
||||
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@ads_employNo" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="ads_employNo" SourceColumnNullMapping="false" SourceVersion="Current" />
|
||||
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@ads_title" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="ads_title" SourceColumnNullMapping="false" SourceVersion="Current" />
|
||||
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@ads_created" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="ads_created" SourceColumnNullMapping="false" SourceVersion="Current" />
|
||||
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@memo" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="memo" SourceColumnNullMapping="false" SourceVersion="Current" />
|
||||
<Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@wuid" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="wuid" SourceColumnNullMapping="false" SourceVersion="Current" />
|
||||
<Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="DateTime" Direction="Input" ParameterName="@wdate" Precision="0" ProviderType="DateTime" Scale="0" Size="0" SourceColumn="wdate" SourceColumnNullMapping="false" SourceVersion="Current" />
|
||||
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@hp" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="hp" SourceColumnNullMapping="false" SourceVersion="Current" />
|
||||
<Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@Original_id" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="id" SourceColumnNullMapping="false" SourceVersion="Original" />
|
||||
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_password" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="password" SourceColumnNullMapping="true" SourceVersion="Original" />
|
||||
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@Original_password" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="password" SourceColumnNullMapping="false" SourceVersion="Original" />
|
||||
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_nameE" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="nameE" SourceColumnNullMapping="true" SourceVersion="Original" />
|
||||
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_nameE" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="nameE" SourceColumnNullMapping="false" SourceVersion="Original" />
|
||||
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_name" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="name" SourceColumnNullMapping="true" SourceVersion="Original" />
|
||||
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_name" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="name" SourceColumnNullMapping="false" SourceVersion="Original" />
|
||||
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_nameE" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="nameE" SourceColumnNullMapping="true" SourceVersion="Original" />
|
||||
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@Original_nameE" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="nameE" SourceColumnNullMapping="false" SourceVersion="Original" />
|
||||
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_dept" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="dept" SourceColumnNullMapping="true" SourceVersion="Original" />
|
||||
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@Original_dept" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="dept" SourceColumnNullMapping="false" SourceVersion="Original" />
|
||||
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_grade" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="grade" SourceColumnNullMapping="true" SourceVersion="Original" />
|
||||
@@ -115,12 +135,20 @@ SELECT id, password, name, nameE, dept, grade, email, level, indate, outdate, te
|
||||
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@Original_outdate" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="outdate" SourceColumnNullMapping="false" SourceVersion="Original" />
|
||||
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_tel" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="tel" SourceColumnNullMapping="true" SourceVersion="Original" />
|
||||
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@Original_tel" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="tel" SourceColumnNullMapping="false" SourceVersion="Original" />
|
||||
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_hp" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="hp" SourceColumnNullMapping="true" SourceVersion="Original" />
|
||||
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@Original_hp" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="hp" SourceColumnNullMapping="false" SourceVersion="Original" />
|
||||
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_place" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="place" SourceColumnNullMapping="true" SourceVersion="Original" />
|
||||
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@Original_place" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="place" SourceColumnNullMapping="false" SourceVersion="Original" />
|
||||
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_ads_employNo" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="ads_employNo" SourceColumnNullMapping="true" SourceVersion="Original" />
|
||||
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@Original_ads_employNo" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="ads_employNo" SourceColumnNullMapping="false" SourceVersion="Original" />
|
||||
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_ads_title" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="ads_title" SourceColumnNullMapping="true" SourceVersion="Original" />
|
||||
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_ads_title" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="ads_title" SourceColumnNullMapping="false" SourceVersion="Original" />
|
||||
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_ads_created" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="ads_created" SourceColumnNullMapping="true" SourceVersion="Original" />
|
||||
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@Original_ads_created" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="ads_created" SourceColumnNullMapping="false" SourceVersion="Original" />
|
||||
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_memo" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="memo" SourceColumnNullMapping="true" SourceVersion="Original" />
|
||||
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_memo" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="memo" SourceColumnNullMapping="false" SourceVersion="Original" />
|
||||
<Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@Original_wuid" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="wuid" SourceColumnNullMapping="false" SourceVersion="Original" />
|
||||
<Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="DateTime" Direction="Input" ParameterName="@Original_wdate" Precision="0" ProviderType="DateTime" Scale="0" Size="0" SourceColumn="wdate" SourceColumnNullMapping="false" SourceVersion="Original" />
|
||||
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_hp" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="hp" SourceColumnNullMapping="true" SourceVersion="Original" />
|
||||
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@Original_hp" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="hp" SourceColumnNullMapping="false" SourceVersion="Original" />
|
||||
</Parameters>
|
||||
</DbCommand>
|
||||
</UpdateCommand>
|
||||
@@ -142,16 +170,29 @@ SELECT id, password, name, nameE, dept, grade, email, level, indate, outdate, te
|
||||
<Mapping SourceColumn="tel" DataSetColumn="tel" />
|
||||
<Mapping SourceColumn="nameE" DataSetColumn="nameE" />
|
||||
<Mapping SourceColumn="hp" DataSetColumn="hp" />
|
||||
<Mapping SourceColumn="place" DataSetColumn="place" />
|
||||
<Mapping SourceColumn="ads_title" DataSetColumn="ads_title" />
|
||||
<Mapping SourceColumn="ads_created" DataSetColumn="ads_created" />
|
||||
<Mapping SourceColumn="ads_employNo" DataSetColumn="ads_employNo" />
|
||||
</Mappings>
|
||||
<Sources>
|
||||
<DbSource ConnectionRef="gwcs (Settings)" DbObjectName="GroupWare.dbo.Users" DbObjectType="Table" FillMethodModifier="Public" FillMethodName="FillID" GenerateMethods="Both" GenerateShortCommands="true" GeneratorGetMethodName="GetID" GeneratorSourceName="FillID" GetMethodModifier="Public" GetMethodName="GetID" QueryType="Rowset" ScalarCallRetval="System.Object, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" UseOptimisticConcurrency="true" UserGetMethodName="GetID" UserSourceName="FillID">
|
||||
<SelectCommand>
|
||||
<DbCommand CommandType="Text" ModifiedByUser="true">
|
||||
<CommandText>SELECT id, password, nameE, name, dept, grade, email, level, indate, outdate, tel, hp, place, ads_employNo, ads_title, ads_created, memo, wuid, wdate
|
||||
FROM Users
|
||||
where id = @id
|
||||
ORDER BY name</CommandText>
|
||||
<Parameters>
|
||||
<Parameter AllowDbNull="false" AutogeneratedName="id" ColumnName="id" DataSourceName="GroupWare.dbo.Users" DataTypeServer="varchar(20)" DbType="AnsiString" Direction="Input" ParameterName="@id" Precision="0" ProviderType="VarChar" Scale="0" Size="20" SourceColumn="id" SourceColumnNullMapping="false" SourceVersion="Current" />
|
||||
</Parameters>
|
||||
</DbCommand>
|
||||
</SelectCommand>
|
||||
</DbSource>
|
||||
<DbSource ConnectionRef="gwcs (Settings)" DbObjectName="GroupWare.dbo.Users" DbObjectType="Table" FillMethodModifier="Public" FillMethodName="FillIDPW" GenerateMethods="Both" GenerateShortCommands="true" GeneratorGetMethodName="GetIDPW" GeneratorSourceName="FillIDPW" GetMethodModifier="Public" GetMethodName="GetIDPW" QueryType="Rowset" ScalarCallRetval="System.Object, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" UseOptimisticConcurrency="true" UserGetMethodName="GetIDPW" UserSourceName="FillIDPW">
|
||||
<SelectCommand>
|
||||
<DbCommand CommandType="Text" ModifiedByUser="true">
|
||||
<CommandText>SELECT dept, email, grade, hp, id, indate, level, memo, name, nameE, outdate, password, tel, wdate, wuid
|
||||
FROM Users
|
||||
WHERE (password = @encpw) AND (level > 0) AND (email = @idkey) OR
|
||||
(password = @encpw) AND (level > 0) AND (id = @idkey) OR
|
||||
(password = @encpw) AND (level > 0) AND (email = { fn CONCAT(@idkey, '@amkor.co.kr') })</CommandText>
|
||||
<CommandText>SELECT ads_created, ads_employNo, ads_title, dept, email, grade, hp, id, indate, level, memo, name, nameE, outdate, password, place, tel, wdate, wuid FROM Users WHERE (password = @encpw) AND (level > 0) AND (email = @idkey) OR (password = @encpw) AND (level > 0) AND (id = @idkey) OR (password = @encpw) AND (level > 0) AND (email = { fn CONCAT(@idkey, '@amkor.co.kr') })</CommandText>
|
||||
<Parameters>
|
||||
<Parameter AllowDbNull="true" AutogeneratedName="encpw" ColumnName="password" DataSourceName="GroupWare.dbo.Users" DataTypeServer="varchar(50)" DbType="AnsiString" Direction="Input" ParameterName="@encpw" Precision="0" ProviderType="VarChar" Scale="0" Size="50" SourceColumn="password" SourceColumnNullMapping="false" SourceVersion="Current" />
|
||||
<Parameter AllowDbNull="true" AutogeneratedName="idkey" ColumnName="email" DataSourceName="GroupWare.dbo.Users" DataTypeServer="varchar(50)" DbType="AnsiString" Direction="Input" ParameterName="@idkey" Precision="0" ProviderType="VarChar" Scale="0" Size="50" SourceColumn="email" SourceColumnNullMapping="false" SourceVersion="Current" />
|
||||
@@ -159,6 +200,30 @@ WHERE (password = @encpw) AND (level > 0) AND (email = @idkey) OR
|
||||
</DbCommand>
|
||||
</SelectCommand>
|
||||
</DbSource>
|
||||
<DbSource ConnectionRef="gwcs (Settings)" DbObjectName="" DbObjectType="Unknown" GenerateShortCommands="true" GeneratorSourceName="InsertADSInfo" Modifier="Public" Name="InsertADSInfo" QueryType="NoData" ScalarCallRetval="System.Object, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" UseOptimisticConcurrency="true" UserGetMethodName="GetDataBy" UserSourceName="InsertADSInfo">
|
||||
<InsertCommand>
|
||||
<DbCommand CommandType="Text" ModifiedByUser="true">
|
||||
<CommandText>INSERT INTO Users
|
||||
(id, password, nameE, name, dept, email, level, tel, ads_employNo, ads_title, ads_created, memo, wuid, wdate)
|
||||
VALUES (@id, 'B6589FC6AB0DC82CF12099D1C2D40AB994E8410C',@nameE,@name,@dept,@email, 0,@tel,@ads_employNo,@ads_title,@ads_created,@memo,@wuid,@wdate);
|
||||
SELECT id, password, nameE, name, dept, grade, email, level, indate, outdate, tel, hp, place, ads_employNo, ads_title, ads_created, memo, wuid, wdate FROM Users WHERE (id = @id) ORDER BY name</CommandText>
|
||||
<Parameters>
|
||||
<Parameter AllowDbNull="false" AutogeneratedName="id" ColumnName="id" DataSourceName="GroupWare.dbo.Users" DataTypeServer="varchar(20)" DbType="AnsiString" Direction="Input" ParameterName="@id" Precision="0" ProviderType="VarChar" Scale="0" Size="20" SourceColumn="id" SourceColumnNullMapping="false" SourceVersion="Current" />
|
||||
<Parameter AllowDbNull="true" AutogeneratedName="nameE" ColumnName="nameE" DataSourceName="GroupWare.dbo.Users" DataTypeServer="nvarchar(100)" DbType="String" Direction="Input" ParameterName="@nameE" Precision="0" ProviderType="NVarChar" Scale="0" Size="100" SourceColumn="nameE" SourceColumnNullMapping="false" SourceVersion="Current" />
|
||||
<Parameter AllowDbNull="true" AutogeneratedName="name" ColumnName="name" DataSourceName="GroupWare.dbo.Users" DataTypeServer="nvarchar(100)" DbType="String" Direction="Input" ParameterName="@name" Precision="0" ProviderType="NVarChar" Scale="0" Size="100" SourceColumn="name" SourceColumnNullMapping="false" SourceVersion="Current" />
|
||||
<Parameter AllowDbNull="true" AutogeneratedName="dept" ColumnName="dept" DataSourceName="GroupWare.dbo.Users" DataTypeServer="varchar(100)" DbType="AnsiString" Direction="Input" ParameterName="@dept" Precision="0" ProviderType="VarChar" Scale="0" Size="100" SourceColumn="dept" SourceColumnNullMapping="false" SourceVersion="Current" />
|
||||
<Parameter AllowDbNull="true" AutogeneratedName="email" ColumnName="email" DataSourceName="GroupWare.dbo.Users" DataTypeServer="varchar(100)" DbType="AnsiString" Direction="Input" ParameterName="@email" Precision="0" ProviderType="VarChar" Scale="0" Size="100" SourceColumn="email" SourceColumnNullMapping="false" SourceVersion="Current" />
|
||||
<Parameter AllowDbNull="true" AutogeneratedName="tel" ColumnName="tel" DataSourceName="GroupWare.dbo.Users" DataTypeServer="varchar(20)" DbType="AnsiString" Direction="Input" ParameterName="@tel" Precision="0" ProviderType="VarChar" Scale="0" Size="20" SourceColumn="tel" SourceColumnNullMapping="false" SourceVersion="Current" />
|
||||
<Parameter AllowDbNull="true" AutogeneratedName="ads_employNo" ColumnName="ads_employNo" DataSourceName="GroupWare.dbo.Users" DataTypeServer="varchar(50)" DbType="AnsiString" Direction="Input" ParameterName="@ads_employNo" Precision="0" ProviderType="VarChar" Scale="0" Size="50" SourceColumn="ads_employNo" SourceColumnNullMapping="false" SourceVersion="Current" />
|
||||
<Parameter AllowDbNull="true" AutogeneratedName="ads_title" ColumnName="ads_title" DataSourceName="GroupWare.dbo.Users" DataTypeServer="nvarchar(100)" DbType="String" Direction="Input" ParameterName="@ads_title" Precision="0" ProviderType="NVarChar" Scale="0" Size="100" SourceColumn="ads_title" SourceColumnNullMapping="false" SourceVersion="Current" />
|
||||
<Parameter AllowDbNull="true" AutogeneratedName="ads_created" ColumnName="ads_created" DataSourceName="GroupWare.dbo.Users" DataTypeServer="varchar(50)" DbType="AnsiString" Direction="Input" ParameterName="@ads_created" Precision="0" ProviderType="VarChar" Scale="0" Size="50" SourceColumn="ads_created" SourceColumnNullMapping="false" SourceVersion="Current" />
|
||||
<Parameter AllowDbNull="true" AutogeneratedName="memo" ColumnName="memo" DataSourceName="GroupWare.dbo.Users" DataTypeServer="nvarchar(255)" DbType="String" Direction="Input" ParameterName="@memo" Precision="0" ProviderType="NVarChar" Scale="0" Size="255" SourceColumn="memo" SourceColumnNullMapping="false" SourceVersion="Current" />
|
||||
<Parameter AllowDbNull="false" AutogeneratedName="wuid" ColumnName="wuid" DataSourceName="GroupWare.dbo.Users" DataTypeServer="varchar(20)" DbType="AnsiString" Direction="Input" ParameterName="@wuid" Precision="0" ProviderType="VarChar" Scale="0" Size="20" SourceColumn="wuid" SourceColumnNullMapping="false" SourceVersion="Current" />
|
||||
<Parameter AllowDbNull="false" AutogeneratedName="wdate" ColumnName="wdate" DataSourceName="GroupWare.dbo.Users" DataTypeServer="datetime" DbType="DateTime" Direction="Input" ParameterName="@wdate" Precision="0" ProviderType="DateTime" Scale="0" Size="8" SourceColumn="wdate" SourceColumnNullMapping="false" SourceVersion="Current" />
|
||||
</Parameters>
|
||||
</DbCommand>
|
||||
</InsertCommand>
|
||||
</DbSource>
|
||||
</Sources>
|
||||
</TableAdapter>
|
||||
<TableAdapter BaseClass="System.ComponentModel.Component" DataAccessorModifier="AutoLayout, AnsiClass, Class, Public" DataAccessorName="ProjectsTableAdapter" GeneratorDataComponentClassName="ProjectsTableAdapter" Name="Projects" UserDataComponentName="ProjectsTableAdapter">
|
||||
@@ -664,28 +729,28 @@ WHERE (idx = @idx)</CommandText>
|
||||
</xs:restriction>
|
||||
</xs:simpleType>
|
||||
</xs:element>
|
||||
<xs:element name="password" msprop:Generator_ColumnVarNameInTable="columnpassword" msprop:Generator_ColumnPropNameInRow="password" msprop:Generator_ColumnPropNameInTable="passwordColumn" msprop:Generator_UserColumnName="password" minOccurs="0">
|
||||
<xs:element name="password" msprop:nullValue="_empty" msprop:Generator_ColumnPropNameInRow="password" msprop:Generator_ColumnVarNameInTable="columnpassword" msprop:Generator_ColumnPropNameInTable="passwordColumn" msprop:Generator_UserColumnName="password" minOccurs="0">
|
||||
<xs:simpleType>
|
||||
<xs:restriction base="xs:string">
|
||||
<xs:maxLength value="50" />
|
||||
</xs:restriction>
|
||||
</xs:simpleType>
|
||||
</xs:element>
|
||||
<xs:element name="name" msprop:Generator_ColumnVarNameInTable="columnname" msprop:Generator_ColumnPropNameInRow="name" msprop:Generator_ColumnPropNameInTable="nameColumn" msprop:Generator_UserColumnName="name" minOccurs="0">
|
||||
<xs:element name="name" msprop:nullValue="_empty" msprop:Generator_ColumnPropNameInRow="name" msprop:Generator_ColumnVarNameInTable="columnname" msprop:Generator_ColumnPropNameInTable="nameColumn" msprop:Generator_UserColumnName="name" minOccurs="0">
|
||||
<xs:simpleType>
|
||||
<xs:restriction base="xs:string">
|
||||
<xs:maxLength value="50" />
|
||||
<xs:maxLength value="100" />
|
||||
</xs:restriction>
|
||||
</xs:simpleType>
|
||||
</xs:element>
|
||||
<xs:element name="dept" msprop:Generator_ColumnVarNameInTable="columndept" msprop:Generator_ColumnPropNameInRow="dept" msprop:Generator_ColumnPropNameInTable="deptColumn" msprop:Generator_UserColumnName="dept" minOccurs="0">
|
||||
<xs:element name="dept" msprop:nullValue="_empty" msprop:Generator_ColumnPropNameInRow="dept" msprop:Generator_ColumnVarNameInTable="columndept" msprop:Generator_ColumnPropNameInTable="deptColumn" msprop:Generator_UserColumnName="dept" minOccurs="0">
|
||||
<xs:simpleType>
|
||||
<xs:restriction base="xs:string">
|
||||
<xs:maxLength value="20" />
|
||||
<xs:maxLength value="100" />
|
||||
</xs:restriction>
|
||||
</xs:simpleType>
|
||||
</xs:element>
|
||||
<xs:element name="grade" msprop:Generator_ColumnVarNameInTable="columngrade" msprop:Generator_ColumnPropNameInRow="grade" msprop:Generator_ColumnPropNameInTable="gradeColumn" msprop:Generator_UserColumnName="grade" minOccurs="0">
|
||||
<xs:element name="grade" msprop:nullValue="_empty" msprop:Generator_ColumnPropNameInRow="grade" msprop:Generator_ColumnVarNameInTable="columngrade" msprop:Generator_ColumnPropNameInTable="gradeColumn" msprop:Generator_UserColumnName="grade" minOccurs="0">
|
||||
<xs:simpleType>
|
||||
<xs:restriction base="xs:string">
|
||||
<xs:maxLength value="10" />
|
||||
@@ -695,26 +760,26 @@ WHERE (idx = @idx)</CommandText>
|
||||
<xs:element name="email" msprop:Generator_ColumnVarNameInTable="columnemail" msprop:Generator_ColumnPropNameInRow="email" msprop:Generator_ColumnPropNameInTable="emailColumn" msprop:Generator_UserColumnName="email" minOccurs="0">
|
||||
<xs:simpleType>
|
||||
<xs:restriction base="xs:string">
|
||||
<xs:maxLength value="50" />
|
||||
<xs:maxLength value="100" />
|
||||
</xs:restriction>
|
||||
</xs:simpleType>
|
||||
</xs:element>
|
||||
<xs:element name="level" msprop:Generator_ColumnVarNameInTable="columnlevel" msprop:Generator_ColumnPropNameInRow="level" msprop:Generator_ColumnPropNameInTable="levelColumn" msprop:Generator_UserColumnName="level" type="xs:short" minOccurs="0" />
|
||||
<xs:element name="indate" msprop:Generator_ColumnVarNameInTable="columnindate" msprop:Generator_ColumnPropNameInRow="indate" msprop:Generator_ColumnPropNameInTable="indateColumn" msprop:Generator_UserColumnName="indate" minOccurs="0">
|
||||
<xs:element name="indate" msprop:nullValue="_empty" msprop:Generator_ColumnPropNameInRow="indate" msprop:Generator_ColumnVarNameInTable="columnindate" msprop:Generator_ColumnPropNameInTable="indateColumn" msprop:Generator_UserColumnName="indate" minOccurs="0">
|
||||
<xs:simpleType>
|
||||
<xs:restriction base="xs:string">
|
||||
<xs:maxLength value="10" />
|
||||
<xs:maxLength value="20" />
|
||||
</xs:restriction>
|
||||
</xs:simpleType>
|
||||
</xs:element>
|
||||
<xs:element name="outdate" msprop:Generator_ColumnVarNameInTable="columnoutdate" msprop:Generator_ColumnPropNameInRow="outdate" msprop:Generator_ColumnPropNameInTable="outdateColumn" msprop:Generator_UserColumnName="outdate" minOccurs="0">
|
||||
<xs:element name="outdate" msprop:nullValue="_empty" msprop:Generator_ColumnPropNameInRow="outdate" msprop:Generator_ColumnVarNameInTable="columnoutdate" msprop:Generator_ColumnPropNameInTable="outdateColumn" msprop:Generator_UserColumnName="outdate" minOccurs="0">
|
||||
<xs:simpleType>
|
||||
<xs:restriction base="xs:string">
|
||||
<xs:maxLength value="10" />
|
||||
<xs:maxLength value="20" />
|
||||
</xs:restriction>
|
||||
</xs:simpleType>
|
||||
</xs:element>
|
||||
<xs:element name="memo" msprop:Generator_ColumnVarNameInTable="columnmemo" msprop:Generator_ColumnPropNameInRow="memo" msprop:Generator_ColumnPropNameInTable="memoColumn" msprop:Generator_UserColumnName="memo" minOccurs="0">
|
||||
<xs:element name="memo" msprop:nullValue="_empty" msprop:Generator_ColumnPropNameInRow="memo" msprop:Generator_ColumnVarNameInTable="columnmemo" msprop:Generator_ColumnPropNameInTable="memoColumn" msprop:Generator_UserColumnName="memo" minOccurs="0">
|
||||
<xs:simpleType>
|
||||
<xs:restriction base="xs:string">
|
||||
<xs:maxLength value="255" />
|
||||
@@ -739,7 +804,7 @@ WHERE (idx = @idx)</CommandText>
|
||||
<xs:element name="nameE" msprop:nullValue="_empty" msprop:Generator_ColumnPropNameInRow="nameE" msprop:Generator_ColumnVarNameInTable="columnnameE" msprop:Generator_ColumnPropNameInTable="nameEColumn" msprop:Generator_UserColumnName="nameE" minOccurs="0">
|
||||
<xs:simpleType>
|
||||
<xs:restriction base="xs:string">
|
||||
<xs:maxLength value="30" />
|
||||
<xs:maxLength value="100" />
|
||||
</xs:restriction>
|
||||
</xs:simpleType>
|
||||
</xs:element>
|
||||
@@ -750,6 +815,34 @@ WHERE (idx = @idx)</CommandText>
|
||||
</xs:restriction>
|
||||
</xs:simpleType>
|
||||
</xs:element>
|
||||
<xs:element name="place" msprop:nullValue="_empty" msprop:Generator_ColumnPropNameInRow="place" msprop:Generator_ColumnVarNameInTable="columnplace" msprop:Generator_ColumnPropNameInTable="placeColumn" msprop:Generator_UserColumnName="place" minOccurs="0">
|
||||
<xs:simpleType>
|
||||
<xs:restriction base="xs:string">
|
||||
<xs:maxLength value="100" />
|
||||
</xs:restriction>
|
||||
</xs:simpleType>
|
||||
</xs:element>
|
||||
<xs:element name="ads_title" msprop:nullValue="_empty" msprop:Generator_ColumnPropNameInRow="ads_title" msprop:Generator_ColumnVarNameInTable="columnads_title" msprop:Generator_ColumnPropNameInTable="ads_titleColumn" msprop:Generator_UserColumnName="ads_title" minOccurs="0">
|
||||
<xs:simpleType>
|
||||
<xs:restriction base="xs:string">
|
||||
<xs:maxLength value="100" />
|
||||
</xs:restriction>
|
||||
</xs:simpleType>
|
||||
</xs:element>
|
||||
<xs:element name="ads_created" msprop:nullValue="_empty" msprop:Generator_ColumnPropNameInRow="ads_created" msprop:Generator_ColumnVarNameInTable="columnads_created" msprop:Generator_ColumnPropNameInTable="ads_createdColumn" msprop:Generator_UserColumnName="ads_created" minOccurs="0">
|
||||
<xs:simpleType>
|
||||
<xs:restriction base="xs:string">
|
||||
<xs:maxLength value="50" />
|
||||
</xs:restriction>
|
||||
</xs:simpleType>
|
||||
</xs:element>
|
||||
<xs:element name="ads_employNo" msprop:nullValue="_empty" msprop:Generator_ColumnPropNameInRow="ads_employNo" msprop:Generator_ColumnVarNameInTable="columnads_employNo" msprop:Generator_ColumnPropNameInTable="ads_employNoColumn" msprop:Generator_UserColumnName="ads_employNo" minOccurs="0">
|
||||
<xs:simpleType>
|
||||
<xs:restriction base="xs:string">
|
||||
<xs:maxLength value="50" />
|
||||
</xs:restriction>
|
||||
</xs:simpleType>
|
||||
</xs:element>
|
||||
</xs:sequence>
|
||||
</xs:complexType>
|
||||
</xs:element>
|
||||
|
||||
@@ -4,14 +4,14 @@
|
||||
Changes to this file may cause incorrect behavior and will be lost if
|
||||
the code is regenerated.
|
||||
</autogenerated>-->
|
||||
<DiagramLayout xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" ex:showrelationlabel="False" ViewPortX="11" ViewPortY="-21" xmlns:ex="urn:schemas-microsoft-com:xml-msdatasource-layout-extended" xmlns="urn:schemas-microsoft-com:xml-msdatasource-layout">
|
||||
<DiagramLayout xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" ex:showrelationlabel="False" ViewPortX="-10" ViewPortY="-21" xmlns:ex="urn:schemas-microsoft-com:xml-msdatasource-layout-extended" xmlns="urn:schemas-microsoft-com:xml-msdatasource-layout">
|
||||
<Shapes>
|
||||
<Shape ID="DesignTable:Users" ZOrder="6" X="39" Y="43" Height="362" Width="187" AdapterExpanded="true" DataTableExpanded="true" OldAdapterHeight="0" OldDataTableHeight="0" SplitterPosition="275" />
|
||||
<Shape ID="DesignTable:Projects" ZOrder="5" X="252" Y="-11" Height="149" Width="158" AdapterExpanded="true" DataTableExpanded="true" OldAdapterHeight="0" OldDataTableHeight="0" SplitterPosition="59" />
|
||||
<Shape ID="DesignTable:Items" ZOrder="4" X="245" Y="160" Height="476" Width="184" AdapterExpanded="true" DataTableExpanded="true" OldAdapterHeight="0" OldDataTableHeight="0" SplitterPosition="197" />
|
||||
<Shape ID="DesignTable:Inventory" ZOrder="3" X="481" Y="47" Height="362" Width="234" AdapterExpanded="true" DataTableExpanded="true" OldAdapterHeight="0" OldDataTableHeight="0" SplitterPosition="292" />
|
||||
<Shape ID="DesignTable:LineCode" ZOrder="2" X="923" Y="263" Height="224" Width="189" AdapterExpanded="true" DataTableExpanded="true" OldAdapterHeight="0" OldDataTableHeight="0" SplitterPosition="156" />
|
||||
<Shape ID="DesignSources:QueriesTableAdapter" ZOrder="1" X="756" Y="65" Height="220" Width="158" AdapterExpanded="true" DataTableExpanded="true" OldAdapterHeight="0" OldDataTableHeight="0" SplitterPosition="216" />
|
||||
<Shape ID="DesignTable:Users" ZOrder="1" X="21" Y="11" Height="554" Width="236" AdapterExpanded="true" DataTableExpanded="true" OldAdapterHeight="0" OldDataTableHeight="0" SplitterPosition="429" />
|
||||
<Shape ID="DesignTable:Projects" ZOrder="6" X="252" Y="-11" Height="149" Width="158" AdapterExpanded="true" DataTableExpanded="true" OldAdapterHeight="0" OldDataTableHeight="0" SplitterPosition="59" />
|
||||
<Shape ID="DesignTable:Items" ZOrder="5" X="245" Y="160" Height="476" Width="184" AdapterExpanded="true" DataTableExpanded="true" OldAdapterHeight="0" OldDataTableHeight="0" SplitterPosition="197" />
|
||||
<Shape ID="DesignTable:Inventory" ZOrder="4" X="481" Y="47" Height="362" Width="234" AdapterExpanded="true" DataTableExpanded="true" OldAdapterHeight="0" OldDataTableHeight="0" SplitterPosition="292" />
|
||||
<Shape ID="DesignTable:LineCode" ZOrder="3" X="923" Y="263" Height="224" Width="189" AdapterExpanded="true" DataTableExpanded="true" OldAdapterHeight="0" OldDataTableHeight="0" SplitterPosition="156" />
|
||||
<Shape ID="DesignSources:QueriesTableAdapter" ZOrder="2" X="756" Y="65" Height="220" Width="158" AdapterExpanded="true" DataTableExpanded="true" OldAdapterHeight="0" OldDataTableHeight="0" SplitterPosition="216" />
|
||||
</Shapes>
|
||||
<Connectors />
|
||||
</DiagramLayout>
|
||||
60
Project/fMain.Designer.cs
generated
60
Project/fMain.Designer.cs
generated
@@ -42,6 +42,7 @@
|
||||
this.sbBWRun = new System.Windows.Forms.ToolStripStatusLabel();
|
||||
this.sbBCD = new System.Windows.Forms.ToolStripStatusLabel();
|
||||
this.statusStrip1 = new System.Windows.Forms.StatusStrip();
|
||||
this.sbRedis = new System.Windows.Forms.ToolStripStatusLabel();
|
||||
this.sbLogin = new System.Windows.Forms.ToolStripStatusLabel();
|
||||
this.btSetting = new System.Windows.Forms.ToolStripMenuItem();
|
||||
this.btLog = new System.Windows.Forms.ToolStripMenuItem();
|
||||
@@ -54,6 +55,9 @@
|
||||
this.lineCodeToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
|
||||
this.staffGridToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
|
||||
this.userInfoToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
|
||||
this.userAccountToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
|
||||
this.aDSUserListToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
|
||||
this.myAccouserToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
|
||||
this.mailFormToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
|
||||
this.customerToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
|
||||
this.boardsToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
|
||||
@@ -84,7 +88,6 @@
|
||||
this.toolStrip = new System.Windows.Forms.ToolStrip();
|
||||
this.toolStripButton1 = new System.Windows.Forms.ToolStripButton();
|
||||
this.toolStripButton2 = new System.Windows.Forms.ToolStripButton();
|
||||
this.sbRedis = new System.Windows.Forms.ToolStripStatusLabel();
|
||||
this.cmVision.SuspendLayout();
|
||||
this.statusStrip1.SuspendLayout();
|
||||
this.menuStrip1.SuspendLayout();
|
||||
@@ -168,6 +171,12 @@
|
||||
this.statusStrip1.TabIndex = 30;
|
||||
this.statusStrip1.Text = "statusStrip1";
|
||||
//
|
||||
// sbRedis
|
||||
//
|
||||
this.sbRedis.Name = "sbRedis";
|
||||
this.sbRedis.Size = new System.Drawing.Size(55, 17);
|
||||
this.sbRedis.Text = "● REDIS";
|
||||
//
|
||||
// sbLogin
|
||||
//
|
||||
this.sbLogin.Name = "sbLogin";
|
||||
@@ -241,49 +250,75 @@
|
||||
// itemsToolStripMenuItem
|
||||
//
|
||||
this.itemsToolStripMenuItem.Name = "itemsToolStripMenuItem";
|
||||
this.itemsToolStripMenuItem.Size = new System.Drawing.Size(129, 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.Name = "codesToolStripMenuItem";
|
||||
this.codesToolStripMenuItem.Size = new System.Drawing.Size(129, 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(129, 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(129, 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.DropDownItems.AddRange(new System.Windows.Forms.ToolStripItem[] {
|
||||
this.userAccountToolStripMenuItem,
|
||||
this.myAccouserToolStripMenuItem,
|
||||
this.aDSUserListToolStripMenuItem});
|
||||
this.userInfoToolStripMenuItem.Name = "userInfoToolStripMenuItem";
|
||||
this.userInfoToolStripMenuItem.Size = new System.Drawing.Size(129, 22);
|
||||
this.userInfoToolStripMenuItem.Size = new System.Drawing.Size(152, 22);
|
||||
this.userInfoToolStripMenuItem.Text = "User Info";
|
||||
this.userInfoToolStripMenuItem.Click += new System.EventHandler(this.userInfoToolStripMenuItem_Click);
|
||||
//
|
||||
// userAccountToolStripMenuItem
|
||||
//
|
||||
this.userAccountToolStripMenuItem.Name = "userAccountToolStripMenuItem";
|
||||
this.userAccountToolStripMenuItem.Size = new System.Drawing.Size(152, 22);
|
||||
this.userAccountToolStripMenuItem.Text = "User Account";
|
||||
this.userAccountToolStripMenuItem.Click += new System.EventHandler(this.userAccountToolStripMenuItem_Click);
|
||||
//
|
||||
// aDSUserListToolStripMenuItem
|
||||
//
|
||||
this.aDSUserListToolStripMenuItem.ForeColor = System.Drawing.Color.Blue;
|
||||
this.aDSUserListToolStripMenuItem.Name = "aDSUserListToolStripMenuItem";
|
||||
this.aDSUserListToolStripMenuItem.Size = new System.Drawing.Size(152, 22);
|
||||
this.aDSUserListToolStripMenuItem.Text = "User List(ADS)";
|
||||
this.aDSUserListToolStripMenuItem.Click += new System.EventHandler(this.aDSUserListToolStripMenuItem_Click);
|
||||
//
|
||||
// myAccouserToolStripMenuItem
|
||||
//
|
||||
this.myAccouserToolStripMenuItem.Name = "myAccouserToolStripMenuItem";
|
||||
this.myAccouserToolStripMenuItem.Size = new System.Drawing.Size(152, 22);
|
||||
this.myAccouserToolStripMenuItem.Text = "User List";
|
||||
this.myAccouserToolStripMenuItem.Click += new System.EventHandler(this.myAccouserToolStripMenuItem_Click);
|
||||
//
|
||||
// mailFormToolStripMenuItem
|
||||
//
|
||||
this.mailFormToolStripMenuItem.Name = "mailFormToolStripMenuItem";
|
||||
this.mailFormToolStripMenuItem.Size = new System.Drawing.Size(129, 22);
|
||||
this.mailFormToolStripMenuItem.Size = new System.Drawing.Size(152, 22);
|
||||
this.mailFormToolStripMenuItem.Text = "Mail Form";
|
||||
this.mailFormToolStripMenuItem.Click += new System.EventHandler(this.mailFormToolStripMenuItem_Click);
|
||||
//
|
||||
// customerToolStripMenuItem
|
||||
//
|
||||
this.customerToolStripMenuItem.Name = "customerToolStripMenuItem";
|
||||
this.customerToolStripMenuItem.Size = new System.Drawing.Size(129, 22);
|
||||
this.customerToolStripMenuItem.Size = new System.Drawing.Size(152, 22);
|
||||
this.customerToolStripMenuItem.Text = "Customer";
|
||||
this.customerToolStripMenuItem.Click += new System.EventHandler(this.customerToolStripMenuItem_Click);
|
||||
//
|
||||
@@ -516,12 +551,6 @@
|
||||
this.toolStripButton2.ToolTipText = "파트구매신청서 작성";
|
||||
this.toolStripButton2.Click += new System.EventHandler(this.toolStripButton2_Click);
|
||||
//
|
||||
// sbRedis
|
||||
//
|
||||
this.sbRedis.Name = "sbRedis";
|
||||
this.sbRedis.Size = new System.Drawing.Size(55, 17);
|
||||
this.sbRedis.Text = "● REDIS";
|
||||
//
|
||||
// fMain
|
||||
//
|
||||
this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.None;
|
||||
@@ -609,6 +638,9 @@
|
||||
private System.Windows.Forms.ToolStripMenuItem customerToolStripMenuItem;
|
||||
private System.Windows.Forms.ToolStripButton toolStripButton2;
|
||||
private System.Windows.Forms.ToolStripStatusLabel sbRedis;
|
||||
private System.Windows.Forms.ToolStripMenuItem userAccountToolStripMenuItem;
|
||||
private System.Windows.Forms.ToolStripMenuItem aDSUserListToolStripMenuItem;
|
||||
private System.Windows.Forms.ToolStripMenuItem myAccouserToolStripMenuItem;
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
@@ -89,7 +89,11 @@ namespace Project
|
||||
|
||||
if (FCOMMON.info.Login.level >= 10) btDev.Visible = true;
|
||||
|
||||
sbLogin.Text = string.Format("{0} {1}", FCOMMON.info.Login.no, FCOMMON.info.Login.nameK);
|
||||
sbLogin.Text = string.Format("[{0}] ({1}-{2} T:{3})",
|
||||
FCOMMON.info.Login.title,
|
||||
FCOMMON.info.Login.no,
|
||||
FCOMMON.info.Login.nameK,
|
||||
FCOMMON.info.Login.tel);
|
||||
Pub.log.Add("Program Start");
|
||||
|
||||
|
||||
@@ -272,17 +276,7 @@ namespace Project
|
||||
|
||||
private void userInfoToolStripMenuItem_Click(object sender, EventArgs e)
|
||||
{
|
||||
if (FCOMMON.info.Login.level >= 10)
|
||||
{
|
||||
var f = new _Common.fUserList();
|
||||
f.MdiParent = this;
|
||||
f.Show();
|
||||
}
|
||||
else
|
||||
{
|
||||
var f = new _Common.fUserInfo();
|
||||
f.ShowDialog();
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
private void cascadeToolStripMenuItem_Click(object sender, EventArgs e)
|
||||
@@ -399,5 +393,30 @@ namespace Project
|
||||
{
|
||||
nRPurchaseToolStripMenuItem.PerformClick();
|
||||
}
|
||||
|
||||
private void userAccountToolStripMenuItem_Click(object sender, EventArgs e)
|
||||
{
|
||||
var f = new _Common.fUserInfo();
|
||||
f.ShowDialog();
|
||||
}
|
||||
|
||||
private void aDSUserListToolStripMenuItem_Click(object sender, EventArgs e)
|
||||
{
|
||||
if(FCOMMON.info.Login.level < 10)
|
||||
{
|
||||
FCOMMON.Util.MsgE("개발자 이상 사용가능한 메뉴 입니다.");
|
||||
return;
|
||||
}
|
||||
var f = new _Common.fADSUserList();
|
||||
f.MdiParent = this;
|
||||
f.Show();
|
||||
}
|
||||
|
||||
private void myAccouserToolStripMenuItem_Click(object sender, EventArgs e)
|
||||
{
|
||||
var f = new _Common.fUserList();
|
||||
f.MdiParent = this;
|
||||
f.Show();
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@@ -153,16 +153,16 @@
|
||||
<data name="toolStripButton2.Image" type="System.Drawing.Bitmap, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64">
|
||||
<value>
|
||||
iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8
|
||||
YQUAAAAJcEhZcwAADsMAAA7DAcdvqGQAAAIaSURBVDhPY0iaW349aWbN/7Ty3ovplX3WDFAwrd5VbGad
|
||||
+65pVS4WcH61y64pFW4qYAUwkDS/8lLi3KqLqZW9USkVfXcYGP4zTq10sZ9R7f52x/SoX7Nq3d9PrnRz
|
||||
nVnn+mrn9Jg/cxrcHs8pteKFakcFqdU9f9JnlL0pmZL9Z+bKkv+7dtf/37g879/kJr9/VzYW/vt6rvX/
|
||||
kUWpP2fXehxdFRrKDNWGACmNXZ9b1s76P+vk0v99+2f9b9464X/5mtb/6Qsr/8fPKf+ft7j6f8Oq2v+1
|
||||
cwt+FU1MORY3uzwGqhUC0lo6r9TOn/5/14O9GHj73d3/V13Z+H/u6WX/Jxyc+796Y8/f+HkVb6FaISCp
|
||||
uXlxbm//b5imnn0zsdIgPOfUsv/JC6ouQLVCQFJra2p6ffcfmKK4OWVYaRAGuSJ+XvlqqFYISOnokEmr
|
||||
6vu//d5uggY0bp/8I25OaQtUKwKkVPX+XXh8HVgRPi8Ur2n/GDunLBWqDQFS6rvfda2bD1eIDW+6tf1/
|
||||
wrzKHwkzK0yh2hAgubnjVGJXy19gCv0OwwnzK34kzAdqgOLEuWU/kxfU9EO1oIK0ir6M1Mq+rVAu6SC1
|
||||
rFcXmC/ep1T1G0CFSAcZtRMPZ1T3/8usmfQ/rbIfBWfUTATSE3/n1E3B7gUQSKvq/zFn3aH/6ZX936FC
|
||||
cIBPDg4ygaanVkz4nV07uQcqBAeocgwMAAhppHUfe4MbAAAAAElFTkSuQmCC
|
||||
YQUAAAAJcEhZcwAADsMAAA7DAcdvqGQAAAIbSURBVDhPlY9daFJhGMdPdN1tV112G3QTRF0E4WZX3a2L
|
||||
OHPzzHNUFqOces579HgWKnN+nKNps+OOuiENsiksGpLSNxUtiC0GQVQE3UVrRMTc/HjK+XpEksV+8Ofl
|
||||
fZ7n9/I+BKU63lOKGxg2sm5G0lkCMysOHFU8+vIsrzut3V26coIbPL430IHKonfGNL9Oo8hlipM+EgQc
|
||||
uol05xKcfvN+/NJuEum34mhwIOk5/+1BnKyrU7qvquPMEaz3QrsCddMt23d7dLyu3LFDuSJCITfRlMWL
|
||||
zbXCtebvt354kqF35oQLL/JDQ4ex1mX0evCXr5CC1OvbID1OgXclCuySH8wLCEZUFiZyLpjKCyCkr+7a
|
||||
YqaXhjmWxGobxjezIWSTUP7y8J+UPlUgv7EM6TeLEH2aBnY53CAz3CZW21Beb84akWsdKfxI6Xu2oq4u
|
||||
wtg8v4bVNpTfT5vF6XpnyKA6+56ttH4xkmHvYrWNKRA4xvASlD5X/vuAWIpXDarDh9Uuo85IY+FVcW9o
|
||||
vxUml6Z/DqtOGmtdjGLoR7CY1Qb75d6HEpAZVB1VuFNY60J5A6vDQV+DUia3OyGzXJXMIi1GxbYzNu+W
|
||||
sdILw0kWGkkr+HpwaGfkBMPObJl4+SQuHRyLEHtucYWaVvcNYJDcE4s7BpQjVrviSfRfoQXFh6pq8RmY
|
||||
HfI2Lmns19Ow/n3daI/WxoV4GJc0ensE8Qccd6OMgOfxRwAAAABJRU5ErkJggg==
|
||||
</value>
|
||||
</data>
|
||||
<metadata name="$this.TrayHeight" type="System.Int32, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
|
||||
|
||||
@@ -216,6 +216,7 @@ namespace FCOMMON
|
||||
{
|
||||
retval.Add(rdr[0].ToString(), rdr[1].ToString());
|
||||
}
|
||||
rdr.Close();
|
||||
cmd.Dispose();
|
||||
cn.Close();
|
||||
cn.Dispose();
|
||||
@@ -227,6 +228,39 @@ namespace FCOMMON
|
||||
var list = getGroupList(GroupColumn, table, where, desc);
|
||||
return MakeDataTable(list);
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// 데이터중 첫번째 자료를 반환 합니다.
|
||||
/// </summary>
|
||||
/// <param name="column"></param>
|
||||
/// <param name="table"></param>
|
||||
/// <param name="where"></param>
|
||||
/// <param name="order"></param>
|
||||
/// <returns></returns>
|
||||
public static String getFirstValue(string column,string table,string where="",string order="")
|
||||
{
|
||||
string retval = string.Empty;
|
||||
var cn = getCn();
|
||||
cn.Open();
|
||||
var sql = "select {0} " +
|
||||
" from {1} " +
|
||||
" where isnull({0},'') != '' ";
|
||||
|
||||
if (where != "") sql += " and " + where;
|
||||
if (order != "") sql += " order by " + order;
|
||||
|
||||
sql = string.Format(sql, "[" + column + "]", table);
|
||||
var cmd = new SqlCommand(sql, cn);
|
||||
var rdr = cmd.ExecuteReader();
|
||||
while (rdr.Read())
|
||||
{
|
||||
if (rdr[0] != null) retval = rdr[0].ToString();
|
||||
}
|
||||
cmd.Dispose();
|
||||
cn.Close();
|
||||
cn.Dispose();
|
||||
return retval;
|
||||
}
|
||||
public static List<String> getGroupList(string GroupColumn, string table, string where = "",Boolean desc=false)
|
||||
{
|
||||
List<string> retval = new List<string>();
|
||||
|
||||
@@ -21,6 +21,7 @@ namespace FCOMMON
|
||||
{
|
||||
public struct sUserInfo
|
||||
{
|
||||
public string title;
|
||||
public string tel;
|
||||
public string hp;
|
||||
public string no;
|
||||
|
||||
@@ -9,8 +9,9 @@
|
||||
<AppDesignerFolder>Properties</AppDesignerFolder>
|
||||
<RootNamespace>FEQ0000</RootNamespace>
|
||||
<AssemblyName>FEQ0000</AssemblyName>
|
||||
<TargetFrameworkVersion>v4.0</TargetFrameworkVersion>
|
||||
<TargetFrameworkVersion>v4.5.2</TargetFrameworkVersion>
|
||||
<FileAlignment>512</FileAlignment>
|
||||
<TargetFrameworkProfile />
|
||||
</PropertyGroup>
|
||||
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' ">
|
||||
<PlatformTarget>x86</PlatformTarget>
|
||||
@@ -21,6 +22,7 @@
|
||||
<DefineConstants>DEBUG;TRACE</DefineConstants>
|
||||
<ErrorReport>prompt</ErrorReport>
|
||||
<WarningLevel>4</WarningLevel>
|
||||
<Prefer32Bit>false</Prefer32Bit>
|
||||
</PropertyGroup>
|
||||
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|AnyCPU' ">
|
||||
<PlatformTarget>AnyCPU</PlatformTarget>
|
||||
@@ -30,17 +32,31 @@
|
||||
<DefineConstants>TRACE</DefineConstants>
|
||||
<ErrorReport>prompt</ErrorReport>
|
||||
<WarningLevel>4</WarningLevel>
|
||||
<Prefer32Bit>false</Prefer32Bit>
|
||||
</PropertyGroup>
|
||||
<ItemGroup>
|
||||
<Reference Include="ArSetting.Net4">
|
||||
<HintPath>..\..\DLL\ArSetting.Net4.dll</HintPath>
|
||||
</Reference>
|
||||
<Reference Include="FarPoint.CalcEngine, Version=11.40.20177.0, Culture=neutral, PublicKeyToken=327c3516b1b18457" />
|
||||
<Reference Include="FarPoint.Excel, Version=11.40.20177.0, Culture=neutral, PublicKeyToken=327c3516b1b18457" />
|
||||
<Reference Include="FarPoint.Localization, Version=11.40.20177.0, Culture=neutral, PublicKeyToken=327c3516b1b18457" />
|
||||
<Reference Include="FarPoint.PDF, Version=11.40.20177.0, Culture=neutral, PublicKeyToken=327c3516b1b18457" />
|
||||
<Reference Include="FarPoint.PluginCalendar.WinForms, Version=11.40.20177.0, Culture=neutral, PublicKeyToken=327c3516b1b18457" />
|
||||
<Reference Include="FarPoint.Win, Version=11.40.20177.0, Culture=neutral, PublicKeyToken=327c3516b1b18457" />
|
||||
<Reference Include="FarPoint.Win.Chart, Version=11.40.20177.0, Culture=neutral, PublicKeyToken=327c3516b1b18457" />
|
||||
<Reference Include="FarPoint.Win.Spread, Version=11.40.20177.0, Culture=neutral, PublicKeyToken=327c3516b1b18457, processorArchitecture=MSIL" />
|
||||
<Reference Include="GrapeCity.CalcEngine, Version=11.40.20177.0, Culture=neutral, PublicKeyToken=327c3516b1b18457" />
|
||||
<Reference Include="GrapeCity.Spreadsheet, Version=11.40.20177.0, Culture=neutral, PublicKeyToken=327c3516b1b18457" />
|
||||
<Reference Include="GrapeCity.Spreadsheet.Win, Version=11.40.20177.0, Culture=neutral, PublicKeyToken=327c3516b1b18457" />
|
||||
<Reference Include="GrapeCity.Win.PluginInputMan, Version=11.40.20177.0, Culture=neutral, PublicKeyToken=327c3516b1b18457, processorArchitecture=MSIL" />
|
||||
<Reference Include="libxl.net">
|
||||
<HintPath>..\..\DLL\libxl.net.dll</HintPath>
|
||||
</Reference>
|
||||
<Reference Include="Microsoft.ReportViewer.Common, Version=11.0.0.0, Culture=neutral, PublicKeyToken=89845dcd8080cc91" />
|
||||
<Reference Include="Microsoft.ReportViewer.WinForms, Version=11.0.0.0, Culture=neutral, PublicKeyToken=89845dcd8080cc91" />
|
||||
<Reference Include="System" />
|
||||
<Reference Include="System.Configuration" />
|
||||
<Reference Include="System.Core" />
|
||||
<Reference Include="System.Web.Services" />
|
||||
<Reference Include="System.Xml.Linq" />
|
||||
@@ -51,6 +67,7 @@
|
||||
<Reference Include="System.Drawing" />
|
||||
<Reference Include="System.Windows.Forms" />
|
||||
<Reference Include="System.Xml" />
|
||||
<Reference Include="WindowsBase" />
|
||||
</ItemGroup>
|
||||
<ItemGroup>
|
||||
<Compile Include="DataBaseManager.cs" />
|
||||
@@ -143,6 +160,7 @@
|
||||
<EmbeddedResource Include="Equipment\fImpEquipment.resx">
|
||||
<DependentUpon>fImpEquipment.cs</DependentUpon>
|
||||
</EmbeddedResource>
|
||||
<EmbeddedResource Include="Properties\licenses.licx" />
|
||||
<EmbeddedResource Include="Properties\Resources.resx">
|
||||
<Generator>ResXFileCodeGenerator</Generator>
|
||||
<LastGenOutput>Resources.Designer.cs</LastGenOutput>
|
||||
|
||||
621
SubProject/FEQ0000/Purchase/fPurchase.Designer.cs
generated
621
SubProject/FEQ0000/Purchase/fPurchase.Designer.cs
generated
@@ -30,17 +30,29 @@
|
||||
{
|
||||
this.components = new System.ComponentModel.Container();
|
||||
System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(fPurchase));
|
||||
System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle23 = new System.Windows.Forms.DataGridViewCellStyle();
|
||||
System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle24 = new System.Windows.Forms.DataGridViewCellStyle();
|
||||
System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle25 = new System.Windows.Forms.DataGridViewCellStyle();
|
||||
System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle26 = new System.Windows.Forms.DataGridViewCellStyle();
|
||||
System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle27 = new System.Windows.Forms.DataGridViewCellStyle();
|
||||
System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle28 = new System.Windows.Forms.DataGridViewCellStyle();
|
||||
System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle29 = new System.Windows.Forms.DataGridViewCellStyle();
|
||||
System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle30 = new System.Windows.Forms.DataGridViewCellStyle();
|
||||
System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle31 = new System.Windows.Forms.DataGridViewCellStyle();
|
||||
System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle32 = new System.Windows.Forms.DataGridViewCellStyle();
|
||||
System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle33 = new System.Windows.Forms.DataGridViewCellStyle();
|
||||
FarPoint.Win.Spread.CellType.TextCellType textCellType1 = new FarPoint.Win.Spread.CellType.TextCellType();
|
||||
FarPoint.Win.Spread.CellType.TextCellType textCellType2 = new FarPoint.Win.Spread.CellType.TextCellType();
|
||||
FarPoint.Win.Spread.CellType.TextCellType textCellType3 = new FarPoint.Win.Spread.CellType.TextCellType();
|
||||
FarPoint.Win.Spread.CellType.TextCellType textCellType4 = new FarPoint.Win.Spread.CellType.TextCellType();
|
||||
FarPoint.Win.Spread.CellType.TextCellType textCellType5 = new FarPoint.Win.Spread.CellType.TextCellType();
|
||||
FarPoint.Win.Spread.CellType.TextCellType textCellType6 = new FarPoint.Win.Spread.CellType.TextCellType();
|
||||
FarPoint.Win.Spread.CellType.TextCellType textCellType7 = new FarPoint.Win.Spread.CellType.TextCellType();
|
||||
FarPoint.Win.Spread.CellType.TextCellType textCellType8 = new FarPoint.Win.Spread.CellType.TextCellType();
|
||||
FarPoint.Win.Spread.CellType.NumberCellType numberCellType1 = new FarPoint.Win.Spread.CellType.NumberCellType();
|
||||
FarPoint.Win.Spread.CellType.TextCellType textCellType9 = new FarPoint.Win.Spread.CellType.TextCellType();
|
||||
FarPoint.Win.Spread.CellType.NumberCellType numberCellType2 = new FarPoint.Win.Spread.CellType.NumberCellType();
|
||||
FarPoint.Win.Spread.CellType.TextCellType textCellType10 = new FarPoint.Win.Spread.CellType.TextCellType();
|
||||
FarPoint.Win.Spread.CellType.NumberCellType numberCellType3 = new FarPoint.Win.Spread.CellType.NumberCellType();
|
||||
FarPoint.Win.Spread.CellType.NumberCellType numberCellType4 = new FarPoint.Win.Spread.CellType.NumberCellType();
|
||||
FarPoint.Win.Spread.CellType.TextCellType textCellType11 = new FarPoint.Win.Spread.CellType.TextCellType();
|
||||
FarPoint.Win.Spread.CellType.NumberCellType numberCellType5 = new FarPoint.Win.Spread.CellType.NumberCellType();
|
||||
FarPoint.Win.Spread.CellType.TextCellType textCellType12 = new FarPoint.Win.Spread.CellType.TextCellType();
|
||||
FarPoint.Win.Spread.CellType.NumberCellType numberCellType6 = new FarPoint.Win.Spread.CellType.NumberCellType();
|
||||
FarPoint.Win.Spread.CellType.TextCellType textCellType13 = new FarPoint.Win.Spread.CellType.TextCellType();
|
||||
FarPoint.Win.Spread.CellType.TextCellType textCellType14 = new FarPoint.Win.Spread.CellType.TextCellType();
|
||||
FarPoint.Win.Spread.CellType.TextCellType textCellType15 = new FarPoint.Win.Spread.CellType.TextCellType();
|
||||
FarPoint.Win.Spread.CellType.TextCellType textCellType16 = new FarPoint.Win.Spread.CellType.TextCellType();
|
||||
FarPoint.Win.Spread.CellType.TextCellType textCellType17 = new FarPoint.Win.Spread.CellType.TextCellType();
|
||||
this.dsPurchase = new FEQ0000.dsPurchase();
|
||||
this.bs = new System.Windows.Forms.BindingSource(this.components);
|
||||
this.ta = new FEQ0000.dsPurchaseTableAdapters.PurchaseTableAdapter();
|
||||
@@ -60,14 +72,19 @@
|
||||
this.toolStripButton1 = new System.Windows.Forms.ToolStripButton();
|
||||
this.btSave = new System.Windows.Forms.ToolStripButton();
|
||||
this.toolStripSeparator1 = new System.Windows.Forms.ToolStripSeparator();
|
||||
this.toolStripLabel5 = new System.Windows.Forms.ToolStripLabel();
|
||||
this.toolStripSeparator4 = new System.Windows.Forms.ToolStripSeparator();
|
||||
this.lbSum = new System.Windows.Forms.ToolStripLabel();
|
||||
this.dv1 = new System.Windows.Forms.DataGridView();
|
||||
this.toolStripLabel5 = new System.Windows.Forms.ToolStripLabel();
|
||||
this.toolStripLabel2 = new System.Windows.Forms.ToolStripLabel();
|
||||
this.tbFind = new System.Windows.Forms.ToolStripTextBox();
|
||||
this.btFind = new System.Windows.Forms.ToolStripButton();
|
||||
this.cm1 = new System.Windows.Forms.ContextMenuStrip(this.components);
|
||||
this.autoResizeColumnsToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
|
||||
this.viewThisUserDataToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
|
||||
this.toolStripMenuItem1 = new System.Windows.Forms.ToolStripSeparator();
|
||||
this.copyDataToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
|
||||
this.editDataToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
|
||||
this.toolStripMenuItem2 = new System.Windows.Forms.ToolStripSeparator();
|
||||
this.viewThisUserDataToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
|
||||
this.toolStrip1 = new System.Windows.Forms.ToolStrip();
|
||||
this.lbStt = new System.Windows.Forms.ToolStripLabel();
|
||||
this.dtSD = new System.Windows.Forms.ToolStripTextBox();
|
||||
@@ -80,40 +97,16 @@
|
||||
this.toolStripLabel3 = new System.Windows.Forms.ToolStripLabel();
|
||||
this.tbRequest = new System.Windows.Forms.ToolStripTextBox();
|
||||
this.btSearch = new System.Windows.Forms.ToolStripButton();
|
||||
this.dataGridViewTextBoxColumn2 = new System.Windows.Forms.DataGridViewTextBoxColumn();
|
||||
this.dvc_statename = new System.Windows.Forms.DataGridViewTextBoxColumn();
|
||||
this.dvc_state = new System.Windows.Forms.DataGridViewTextBoxColumn();
|
||||
this.dataGridViewTextBoxColumn4 = new System.Windows.Forms.DataGridViewTextBoxColumn();
|
||||
this.dataGridViewTextBoxColumn7 = new System.Windows.Forms.DataGridViewTextBoxColumn();
|
||||
this.dataGridViewTextBoxColumn6 = new System.Windows.Forms.DataGridViewTextBoxColumn();
|
||||
this.dataGridViewTextBoxColumn5 = new System.Windows.Forms.DataGridViewTextBoxColumn();
|
||||
this.dataGridViewTextBoxColumn8 = new System.Windows.Forms.DataGridViewTextBoxColumn();
|
||||
this.dataGridViewTextBoxColumn9 = new System.Windows.Forms.DataGridViewTextBoxColumn();
|
||||
this.pumidx = new System.Windows.Forms.DataGridViewTextBoxColumn();
|
||||
this.dataGridViewTextBoxColumn10 = new System.Windows.Forms.DataGridViewTextBoxColumn();
|
||||
this.dataGridViewTextBoxColumn11 = new System.Windows.Forms.DataGridViewTextBoxColumn();
|
||||
this.dataGridViewTextBoxColumn12 = new System.Windows.Forms.DataGridViewTextBoxColumn();
|
||||
this.dataGridViewTextBoxColumn13 = new System.Windows.Forms.DataGridViewTextBoxColumn();
|
||||
this.dataGridViewTextBoxColumn14 = new System.Windows.Forms.DataGridViewTextBoxColumn();
|
||||
this.dataGridViewTextBoxColumn15 = new System.Windows.Forms.DataGridViewTextBoxColumn();
|
||||
this.supplyidx = new System.Windows.Forms.DataGridViewTextBoxColumn();
|
||||
this.dataGridViewTextBoxColumn17 = new System.Windows.Forms.DataGridViewTextBoxColumn();
|
||||
this.dataGridViewTextBoxColumn19 = new System.Windows.Forms.DataGridViewTextBoxColumn();
|
||||
this.dataGridViewTextBoxColumn20 = new System.Windows.Forms.DataGridViewTextBoxColumn();
|
||||
this.dataGridViewTextBoxColumn21 = new System.Windows.Forms.DataGridViewTextBoxColumn();
|
||||
this.dataGridViewTextBoxColumn22 = new System.Windows.Forms.DataGridViewTextBoxColumn();
|
||||
this.dataGridViewTextBoxColumn23 = new System.Windows.Forms.DataGridViewTextBoxColumn();
|
||||
this.toolStripSeparator4 = new System.Windows.Forms.ToolStripSeparator();
|
||||
this.toolStripLabel2 = new System.Windows.Forms.ToolStripLabel();
|
||||
this.tbFind = new System.Windows.Forms.ToolStripTextBox();
|
||||
this.btFind = new System.Windows.Forms.ToolStripButton();
|
||||
this.FpSpread1 = new FarPoint.Win.Spread.FpSpread();
|
||||
this.FpSpread1_Sheet1 = new FarPoint.Win.Spread.SheetView();
|
||||
((System.ComponentModel.ISupportInitialize)(this.dsPurchase)).BeginInit();
|
||||
((System.ComponentModel.ISupportInitialize)(this.bs)).BeginInit();
|
||||
((System.ComponentModel.ISupportInitialize)(this.bn)).BeginInit();
|
||||
this.bn.SuspendLayout();
|
||||
((System.ComponentModel.ISupportInitialize)(this.dv1)).BeginInit();
|
||||
this.cm1.SuspendLayout();
|
||||
this.toolStrip1.SuspendLayout();
|
||||
((System.ComponentModel.ISupportInitialize)(this.FpSpread1)).BeginInit();
|
||||
((System.ComponentModel.ISupportInitialize)(this.FpSpread1_Sheet1)).BeginInit();
|
||||
this.SuspendLayout();
|
||||
//
|
||||
// dsPurchase
|
||||
@@ -164,14 +157,14 @@
|
||||
this.toolStripLabel2,
|
||||
this.tbFind,
|
||||
this.btFind});
|
||||
this.bn.Location = new System.Drawing.Point(0, 555);
|
||||
this.bn.Location = new System.Drawing.Point(0, 493);
|
||||
this.bn.MoveFirstItem = this.bindingNavigatorMoveFirstItem;
|
||||
this.bn.MoveLastItem = this.bindingNavigatorMoveLastItem;
|
||||
this.bn.MoveNextItem = this.bindingNavigatorMoveNextItem;
|
||||
this.bn.MovePreviousItem = this.bindingNavigatorMovePreviousItem;
|
||||
this.bn.Name = "bn";
|
||||
this.bn.PositionItem = this.bindingNavigatorPositionItem;
|
||||
this.bn.Size = new System.Drawing.Size(864, 26);
|
||||
this.bn.Size = new System.Drawing.Size(878, 26);
|
||||
this.bn.TabIndex = 0;
|
||||
this.bn.Text = "bindingNavigator1";
|
||||
//
|
||||
@@ -284,12 +277,11 @@
|
||||
this.toolStripSeparator1.Name = "toolStripSeparator1";
|
||||
this.toolStripSeparator1.Size = new System.Drawing.Size(6, 26);
|
||||
//
|
||||
// toolStripLabel5
|
||||
// toolStripSeparator4
|
||||
//
|
||||
this.toolStripLabel5.Alignment = System.Windows.Forms.ToolStripItemAlignment.Right;
|
||||
this.toolStripLabel5.Name = "toolStripLabel5";
|
||||
this.toolStripLabel5.Size = new System.Drawing.Size(58, 23);
|
||||
this.toolStripLabel5.Text = "Sub Total";
|
||||
this.toolStripSeparator4.Alignment = System.Windows.Forms.ToolStripItemAlignment.Right;
|
||||
this.toolStripSeparator4.Name = "toolStripSeparator4";
|
||||
this.toolStripSeparator4.Size = new System.Drawing.Size(6, 26);
|
||||
//
|
||||
// lbSum
|
||||
//
|
||||
@@ -299,59 +291,47 @@
|
||||
this.lbSum.Size = new System.Drawing.Size(22, 23);
|
||||
this.lbSum.Text = "0";
|
||||
//
|
||||
// dv1
|
||||
// toolStripLabel5
|
||||
//
|
||||
this.dv1.AllowUserToAddRows = false;
|
||||
this.dv1.AllowUserToDeleteRows = false;
|
||||
this.dv1.AutoGenerateColumns = false;
|
||||
this.dv1.ColumnHeadersHeight = 30;
|
||||
this.dv1.ColumnHeadersHeightSizeMode = System.Windows.Forms.DataGridViewColumnHeadersHeightSizeMode.DisableResizing;
|
||||
this.dv1.Columns.AddRange(new System.Windows.Forms.DataGridViewColumn[] {
|
||||
this.dataGridViewTextBoxColumn2,
|
||||
this.dvc_statename,
|
||||
this.dvc_state,
|
||||
this.dataGridViewTextBoxColumn4,
|
||||
this.dataGridViewTextBoxColumn7,
|
||||
this.dataGridViewTextBoxColumn6,
|
||||
this.dataGridViewTextBoxColumn5,
|
||||
this.dataGridViewTextBoxColumn8,
|
||||
this.dataGridViewTextBoxColumn9,
|
||||
this.pumidx,
|
||||
this.dataGridViewTextBoxColumn10,
|
||||
this.dataGridViewTextBoxColumn11,
|
||||
this.dataGridViewTextBoxColumn12,
|
||||
this.dataGridViewTextBoxColumn13,
|
||||
this.dataGridViewTextBoxColumn14,
|
||||
this.dataGridViewTextBoxColumn15,
|
||||
this.supplyidx,
|
||||
this.dataGridViewTextBoxColumn17,
|
||||
this.dataGridViewTextBoxColumn19,
|
||||
this.dataGridViewTextBoxColumn20,
|
||||
this.dataGridViewTextBoxColumn21,
|
||||
this.dataGridViewTextBoxColumn22,
|
||||
this.dataGridViewTextBoxColumn23});
|
||||
this.dv1.ContextMenuStrip = this.cm1;
|
||||
this.dv1.DataSource = this.bs;
|
||||
this.dv1.Dock = System.Windows.Forms.DockStyle.Fill;
|
||||
this.dv1.Location = new System.Drawing.Point(0, 25);
|
||||
this.dv1.MultiSelect = false;
|
||||
this.dv1.Name = "dv1";
|
||||
this.dv1.ReadOnly = true;
|
||||
this.dv1.RowTemplate.Height = 23;
|
||||
this.dv1.SelectionMode = System.Windows.Forms.DataGridViewSelectionMode.FullRowSelect;
|
||||
this.dv1.Size = new System.Drawing.Size(864, 530);
|
||||
this.dv1.TabIndex = 2;
|
||||
this.dv1.DoubleClick += new System.EventHandler(this.dv1_DoubleClick);
|
||||
this.toolStripLabel5.Alignment = System.Windows.Forms.ToolStripItemAlignment.Right;
|
||||
this.toolStripLabel5.Name = "toolStripLabel5";
|
||||
this.toolStripLabel5.Size = new System.Drawing.Size(58, 23);
|
||||
this.toolStripLabel5.Text = "Sub Total";
|
||||
//
|
||||
// toolStripLabel2
|
||||
//
|
||||
this.toolStripLabel2.Name = "toolStripLabel2";
|
||||
this.toolStripLabel2.Size = new System.Drawing.Size(43, 23);
|
||||
this.toolStripLabel2.Text = "Search";
|
||||
//
|
||||
// tbFind
|
||||
//
|
||||
this.tbFind.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle;
|
||||
this.tbFind.Name = "tbFind";
|
||||
this.tbFind.Size = new System.Drawing.Size(100, 26);
|
||||
this.tbFind.KeyDown += new System.Windows.Forms.KeyEventHandler(this.tbFind_KeyDown);
|
||||
//
|
||||
// btFind
|
||||
//
|
||||
this.btFind.DisplayStyle = System.Windows.Forms.ToolStripItemDisplayStyle.Image;
|
||||
this.btFind.Image = ((System.Drawing.Image)(resources.GetObject("btFind.Image")));
|
||||
this.btFind.ImageTransparentColor = System.Drawing.Color.Magenta;
|
||||
this.btFind.Name = "btFind";
|
||||
this.btFind.Size = new System.Drawing.Size(23, 23);
|
||||
this.btFind.Text = "toolStripButton2";
|
||||
this.btFind.Click += new System.EventHandler(this.btFind_Click);
|
||||
//
|
||||
// cm1
|
||||
//
|
||||
this.cm1.Items.AddRange(new System.Windows.Forms.ToolStripItem[] {
|
||||
this.autoResizeColumnsToolStripMenuItem,
|
||||
this.viewThisUserDataToolStripMenuItem,
|
||||
this.toolStripMenuItem1,
|
||||
this.copyDataToolStripMenuItem});
|
||||
this.copyDataToolStripMenuItem,
|
||||
this.editDataToolStripMenuItem,
|
||||
this.toolStripMenuItem2,
|
||||
this.viewThisUserDataToolStripMenuItem});
|
||||
this.cm1.Name = "contextMenuStrip1";
|
||||
this.cm1.Size = new System.Drawing.Size(186, 76);
|
||||
this.cm1.Size = new System.Drawing.Size(186, 104);
|
||||
//
|
||||
// autoResizeColumnsToolStripMenuItem
|
||||
//
|
||||
@@ -360,13 +340,6 @@
|
||||
this.autoResizeColumnsToolStripMenuItem.Text = "AutoResize Columns";
|
||||
this.autoResizeColumnsToolStripMenuItem.Click += new System.EventHandler(this.autoResizeColumnsToolStripMenuItem_Click);
|
||||
//
|
||||
// viewThisUserDataToolStripMenuItem
|
||||
//
|
||||
this.viewThisUserDataToolStripMenuItem.Name = "viewThisUserDataToolStripMenuItem";
|
||||
this.viewThisUserDataToolStripMenuItem.Size = new System.Drawing.Size(185, 22);
|
||||
this.viewThisUserDataToolStripMenuItem.Text = "View This User data";
|
||||
this.viewThisUserDataToolStripMenuItem.Click += new System.EventHandler(this.viewThisUserDataToolStripMenuItem_Click);
|
||||
//
|
||||
// toolStripMenuItem1
|
||||
//
|
||||
this.toolStripMenuItem1.Name = "toolStripMenuItem1";
|
||||
@@ -379,6 +352,25 @@
|
||||
this.copyDataToolStripMenuItem.Text = "Copy Data";
|
||||
this.copyDataToolStripMenuItem.Click += new System.EventHandler(this.copyDataToolStripMenuItem_Click);
|
||||
//
|
||||
// editDataToolStripMenuItem
|
||||
//
|
||||
this.editDataToolStripMenuItem.Name = "editDataToolStripMenuItem";
|
||||
this.editDataToolStripMenuItem.Size = new System.Drawing.Size(185, 22);
|
||||
this.editDataToolStripMenuItem.Text = "Edit Data";
|
||||
this.editDataToolStripMenuItem.Click += new System.EventHandler(this.editDataToolStripMenuItem_Click);
|
||||
//
|
||||
// toolStripMenuItem2
|
||||
//
|
||||
this.toolStripMenuItem2.Name = "toolStripMenuItem2";
|
||||
this.toolStripMenuItem2.Size = new System.Drawing.Size(182, 6);
|
||||
//
|
||||
// viewThisUserDataToolStripMenuItem
|
||||
//
|
||||
this.viewThisUserDataToolStripMenuItem.Name = "viewThisUserDataToolStripMenuItem";
|
||||
this.viewThisUserDataToolStripMenuItem.Size = new System.Drawing.Size(185, 22);
|
||||
this.viewThisUserDataToolStripMenuItem.Text = "View This User data";
|
||||
this.viewThisUserDataToolStripMenuItem.Click += new System.EventHandler(this.viewThisUserDataToolStripMenuItem_Click);
|
||||
//
|
||||
// toolStrip1
|
||||
//
|
||||
this.toolStrip1.Items.AddRange(new System.Windows.Forms.ToolStripItem[] {
|
||||
@@ -395,7 +387,7 @@
|
||||
this.btSearch});
|
||||
this.toolStrip1.Location = new System.Drawing.Point(0, 0);
|
||||
this.toolStrip1.Name = "toolStrip1";
|
||||
this.toolStrip1.Size = new System.Drawing.Size(864, 25);
|
||||
this.toolStrip1.Size = new System.Drawing.Size(878, 25);
|
||||
this.toolStrip1.TabIndex = 3;
|
||||
this.toolStrip1.Text = "toolStrip1";
|
||||
//
|
||||
@@ -475,235 +467,187 @@
|
||||
this.btSearch.Text = "Refresh(&R)";
|
||||
this.btSearch.Click += new System.EventHandler(this.btSearch_Click);
|
||||
//
|
||||
// dataGridViewTextBoxColumn2
|
||||
// FpSpread1
|
||||
//
|
||||
this.dataGridViewTextBoxColumn2.DataPropertyName = "pdate";
|
||||
this.dataGridViewTextBoxColumn2.HeaderText = "Date";
|
||||
this.dataGridViewTextBoxColumn2.Name = "dataGridViewTextBoxColumn2";
|
||||
this.dataGridViewTextBoxColumn2.ReadOnly = true;
|
||||
this.FpSpread1.AccessibleDescription = "";
|
||||
this.FpSpread1.ContextMenuStrip = this.cm1;
|
||||
this.FpSpread1.Dock = System.Windows.Forms.DockStyle.Fill;
|
||||
this.FpSpread1.EditModeReplace = true;
|
||||
this.FpSpread1.Font = new System.Drawing.Font("맑은 고딕", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(129)));
|
||||
this.FpSpread1.Location = new System.Drawing.Point(0, 25);
|
||||
this.FpSpread1.Name = "FpSpread1";
|
||||
this.FpSpread1.Sheets.AddRange(new FarPoint.Win.Spread.SheetView[] {
|
||||
this.FpSpread1_Sheet1});
|
||||
this.FpSpread1.Size = new System.Drawing.Size(878, 468);
|
||||
this.FpSpread1.TabIndex = 4;
|
||||
//
|
||||
// dvc_statename
|
||||
// FpSpread1_Sheet1
|
||||
//
|
||||
this.dvc_statename.DataPropertyName = "stateName";
|
||||
dataGridViewCellStyle23.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleCenter;
|
||||
dataGridViewCellStyle23.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(224)))), ((int)(((byte)(224)))), ((int)(((byte)(224)))));
|
||||
this.dvc_statename.DefaultCellStyle = dataGridViewCellStyle23;
|
||||
this.dvc_statename.HeaderText = "State";
|
||||
this.dvc_statename.Name = "dvc_statename";
|
||||
this.dvc_statename.ReadOnly = true;
|
||||
//
|
||||
// dvc_state
|
||||
//
|
||||
this.dvc_state.DataPropertyName = "state";
|
||||
this.dvc_state.HeaderText = "state";
|
||||
this.dvc_state.Name = "dvc_state";
|
||||
this.dvc_state.ReadOnly = true;
|
||||
this.dvc_state.Visible = false;
|
||||
//
|
||||
// dataGridViewTextBoxColumn4
|
||||
//
|
||||
this.dataGridViewTextBoxColumn4.DataPropertyName = "process";
|
||||
this.dataGridViewTextBoxColumn4.HeaderText = "process";
|
||||
this.dataGridViewTextBoxColumn4.Name = "dataGridViewTextBoxColumn4";
|
||||
this.dataGridViewTextBoxColumn4.ReadOnly = true;
|
||||
//
|
||||
// dataGridViewTextBoxColumn7
|
||||
//
|
||||
this.dataGridViewTextBoxColumn7.DataPropertyName = "request";
|
||||
dataGridViewCellStyle24.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleCenter;
|
||||
this.dataGridViewTextBoxColumn7.DefaultCellStyle = dataGridViewCellStyle24;
|
||||
this.dataGridViewTextBoxColumn7.HeaderText = "request";
|
||||
this.dataGridViewTextBoxColumn7.Name = "dataGridViewTextBoxColumn7";
|
||||
this.dataGridViewTextBoxColumn7.ReadOnly = true;
|
||||
//
|
||||
// dataGridViewTextBoxColumn6
|
||||
//
|
||||
this.dataGridViewTextBoxColumn6.DataPropertyName = "sc";
|
||||
dataGridViewCellStyle25.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleCenter;
|
||||
this.dataGridViewTextBoxColumn6.DefaultCellStyle = dataGridViewCellStyle25;
|
||||
this.dataGridViewTextBoxColumn6.HeaderText = "sc#";
|
||||
this.dataGridViewTextBoxColumn6.Name = "dataGridViewTextBoxColumn6";
|
||||
this.dataGridViewTextBoxColumn6.ReadOnly = true;
|
||||
//
|
||||
// dataGridViewTextBoxColumn5
|
||||
//
|
||||
this.dataGridViewTextBoxColumn5.DataPropertyName = "receive";
|
||||
dataGridViewCellStyle26.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleCenter;
|
||||
this.dataGridViewTextBoxColumn5.DefaultCellStyle = dataGridViewCellStyle26;
|
||||
this.dataGridViewTextBoxColumn5.HeaderText = "receive";
|
||||
this.dataGridViewTextBoxColumn5.Name = "dataGridViewTextBoxColumn5";
|
||||
this.dataGridViewTextBoxColumn5.ReadOnly = true;
|
||||
//
|
||||
// dataGridViewTextBoxColumn8
|
||||
//
|
||||
this.dataGridViewTextBoxColumn8.DataPropertyName = "sid";
|
||||
dataGridViewCellStyle27.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleCenter;
|
||||
this.dataGridViewTextBoxColumn8.DefaultCellStyle = dataGridViewCellStyle27;
|
||||
this.dataGridViewTextBoxColumn8.HeaderText = "sid#";
|
||||
this.dataGridViewTextBoxColumn8.Name = "dataGridViewTextBoxColumn8";
|
||||
this.dataGridViewTextBoxColumn8.ReadOnly = true;
|
||||
//
|
||||
// dataGridViewTextBoxColumn9
|
||||
//
|
||||
this.dataGridViewTextBoxColumn9.DataPropertyName = "pumname";
|
||||
this.dataGridViewTextBoxColumn9.HeaderText = "Item";
|
||||
this.dataGridViewTextBoxColumn9.Name = "dataGridViewTextBoxColumn9";
|
||||
this.dataGridViewTextBoxColumn9.ReadOnly = true;
|
||||
//
|
||||
// pumidx
|
||||
//
|
||||
this.pumidx.AutoSizeMode = System.Windows.Forms.DataGridViewAutoSizeColumnMode.None;
|
||||
this.pumidx.DataPropertyName = "pumidx";
|
||||
dataGridViewCellStyle28.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleCenter;
|
||||
dataGridViewCellStyle28.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(224)))), ((int)(((byte)(224)))), ((int)(((byte)(224)))));
|
||||
this.pumidx.DefaultCellStyle = dataGridViewCellStyle28;
|
||||
this.pumidx.HeaderText = "*";
|
||||
this.pumidx.Name = "pumidx";
|
||||
this.pumidx.ReadOnly = true;
|
||||
this.pumidx.Width = 50;
|
||||
//
|
||||
// dataGridViewTextBoxColumn10
|
||||
//
|
||||
this.dataGridViewTextBoxColumn10.DataPropertyName = "pumscale";
|
||||
this.dataGridViewTextBoxColumn10.HeaderText = "Model";
|
||||
this.dataGridViewTextBoxColumn10.Name = "dataGridViewTextBoxColumn10";
|
||||
this.dataGridViewTextBoxColumn10.ReadOnly = true;
|
||||
//
|
||||
// dataGridViewTextBoxColumn11
|
||||
//
|
||||
this.dataGridViewTextBoxColumn11.DataPropertyName = "pumunit";
|
||||
this.dataGridViewTextBoxColumn11.HeaderText = "Unit";
|
||||
this.dataGridViewTextBoxColumn11.Name = "dataGridViewTextBoxColumn11";
|
||||
this.dataGridViewTextBoxColumn11.ReadOnly = true;
|
||||
//
|
||||
// dataGridViewTextBoxColumn12
|
||||
//
|
||||
this.dataGridViewTextBoxColumn12.DataPropertyName = "pumqty";
|
||||
dataGridViewCellStyle29.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleCenter;
|
||||
dataGridViewCellStyle29.Format = "N0";
|
||||
this.dataGridViewTextBoxColumn12.DefaultCellStyle = dataGridViewCellStyle29;
|
||||
this.dataGridViewTextBoxColumn12.HeaderText = "Qty";
|
||||
this.dataGridViewTextBoxColumn12.Name = "dataGridViewTextBoxColumn12";
|
||||
this.dataGridViewTextBoxColumn12.ReadOnly = true;
|
||||
//
|
||||
// dataGridViewTextBoxColumn13
|
||||
//
|
||||
this.dataGridViewTextBoxColumn13.DataPropertyName = "pumprice";
|
||||
dataGridViewCellStyle30.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleCenter;
|
||||
dataGridViewCellStyle30.Format = "N0";
|
||||
this.dataGridViewTextBoxColumn13.DefaultCellStyle = dataGridViewCellStyle30;
|
||||
this.dataGridViewTextBoxColumn13.HeaderText = "Price";
|
||||
this.dataGridViewTextBoxColumn13.Name = "dataGridViewTextBoxColumn13";
|
||||
this.dataGridViewTextBoxColumn13.ReadOnly = true;
|
||||
//
|
||||
// dataGridViewTextBoxColumn14
|
||||
//
|
||||
this.dataGridViewTextBoxColumn14.DataPropertyName = "pumamt";
|
||||
dataGridViewCellStyle31.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleRight;
|
||||
dataGridViewCellStyle31.Format = "N0";
|
||||
this.dataGridViewTextBoxColumn14.DefaultCellStyle = dataGridViewCellStyle31;
|
||||
this.dataGridViewTextBoxColumn14.HeaderText = "Amt";
|
||||
this.dataGridViewTextBoxColumn14.Name = "dataGridViewTextBoxColumn14";
|
||||
this.dataGridViewTextBoxColumn14.ReadOnly = true;
|
||||
//
|
||||
// dataGridViewTextBoxColumn15
|
||||
//
|
||||
this.dataGridViewTextBoxColumn15.DataPropertyName = "supply";
|
||||
this.dataGridViewTextBoxColumn15.HeaderText = "Supply";
|
||||
this.dataGridViewTextBoxColumn15.Name = "dataGridViewTextBoxColumn15";
|
||||
this.dataGridViewTextBoxColumn15.ReadOnly = true;
|
||||
//
|
||||
// supplyidx
|
||||
//
|
||||
this.supplyidx.AutoSizeMode = System.Windows.Forms.DataGridViewAutoSizeColumnMode.None;
|
||||
this.supplyidx.DataPropertyName = "supplyidx";
|
||||
dataGridViewCellStyle32.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleCenter;
|
||||
dataGridViewCellStyle32.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(224)))), ((int)(((byte)(224)))), ((int)(((byte)(224)))));
|
||||
this.supplyidx.DefaultCellStyle = dataGridViewCellStyle32;
|
||||
this.supplyidx.HeaderText = "*";
|
||||
this.supplyidx.Name = "supplyidx";
|
||||
this.supplyidx.ReadOnly = true;
|
||||
this.supplyidx.Width = 50;
|
||||
//
|
||||
// dataGridViewTextBoxColumn17
|
||||
//
|
||||
this.dataGridViewTextBoxColumn17.DataPropertyName = "project";
|
||||
this.dataGridViewTextBoxColumn17.HeaderText = "Project";
|
||||
this.dataGridViewTextBoxColumn17.Name = "dataGridViewTextBoxColumn17";
|
||||
this.dataGridViewTextBoxColumn17.ReadOnly = true;
|
||||
//
|
||||
// dataGridViewTextBoxColumn19
|
||||
//
|
||||
this.dataGridViewTextBoxColumn19.DataPropertyName = "asset";
|
||||
this.dataGridViewTextBoxColumn19.HeaderText = "Asset";
|
||||
this.dataGridViewTextBoxColumn19.Name = "dataGridViewTextBoxColumn19";
|
||||
this.dataGridViewTextBoxColumn19.ReadOnly = true;
|
||||
//
|
||||
// dataGridViewTextBoxColumn20
|
||||
//
|
||||
this.dataGridViewTextBoxColumn20.DataPropertyName = "edate";
|
||||
this.dataGridViewTextBoxColumn20.HeaderText = "ExDate";
|
||||
this.dataGridViewTextBoxColumn20.Name = "dataGridViewTextBoxColumn20";
|
||||
this.dataGridViewTextBoxColumn20.ReadOnly = true;
|
||||
//
|
||||
// dataGridViewTextBoxColumn21
|
||||
//
|
||||
this.dataGridViewTextBoxColumn21.DataPropertyName = "indate";
|
||||
this.dataGridViewTextBoxColumn21.HeaderText = "InDate";
|
||||
this.dataGridViewTextBoxColumn21.Name = "dataGridViewTextBoxColumn21";
|
||||
this.dataGridViewTextBoxColumn21.ReadOnly = true;
|
||||
//
|
||||
// dataGridViewTextBoxColumn22
|
||||
//
|
||||
this.dataGridViewTextBoxColumn22.DataPropertyName = "po";
|
||||
dataGridViewCellStyle33.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleCenter;
|
||||
this.dataGridViewTextBoxColumn22.DefaultCellStyle = dataGridViewCellStyle33;
|
||||
this.dataGridViewTextBoxColumn22.HeaderText = "PO";
|
||||
this.dataGridViewTextBoxColumn22.Name = "dataGridViewTextBoxColumn22";
|
||||
this.dataGridViewTextBoxColumn22.ReadOnly = true;
|
||||
//
|
||||
// dataGridViewTextBoxColumn23
|
||||
//
|
||||
this.dataGridViewTextBoxColumn23.DataPropertyName = "dept";
|
||||
this.dataGridViewTextBoxColumn23.HeaderText = "Dept";
|
||||
this.dataGridViewTextBoxColumn23.Name = "dataGridViewTextBoxColumn23";
|
||||
this.dataGridViewTextBoxColumn23.ReadOnly = true;
|
||||
//
|
||||
// toolStripSeparator4
|
||||
//
|
||||
this.toolStripSeparator4.Alignment = System.Windows.Forms.ToolStripItemAlignment.Right;
|
||||
this.toolStripSeparator4.Name = "toolStripSeparator4";
|
||||
this.toolStripSeparator4.Size = new System.Drawing.Size(6, 26);
|
||||
//
|
||||
// toolStripLabel2
|
||||
//
|
||||
this.toolStripLabel2.Name = "toolStripLabel2";
|
||||
this.toolStripLabel2.Size = new System.Drawing.Size(43, 23);
|
||||
this.toolStripLabel2.Text = "Search";
|
||||
//
|
||||
// tbFind
|
||||
//
|
||||
this.tbFind.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle;
|
||||
this.tbFind.Name = "tbFind";
|
||||
this.tbFind.Size = new System.Drawing.Size(100, 26);
|
||||
this.tbFind.KeyDown += new System.Windows.Forms.KeyEventHandler(this.tbFind_KeyDown);
|
||||
//
|
||||
// btFind
|
||||
//
|
||||
this.btFind.DisplayStyle = System.Windows.Forms.ToolStripItemDisplayStyle.Image;
|
||||
this.btFind.Image = ((System.Drawing.Image)(resources.GetObject("btFind.Image")));
|
||||
this.btFind.ImageTransparentColor = System.Drawing.Color.Magenta;
|
||||
this.btFind.Name = "btFind";
|
||||
this.btFind.Size = new System.Drawing.Size(23, 23);
|
||||
this.btFind.Text = "toolStripButton2";
|
||||
this.btFind.Click += new System.EventHandler(this.btFind_Click);
|
||||
this.FpSpread1_Sheet1.Reset();
|
||||
this.FpSpread1_Sheet1.SheetName = "Sheet1";
|
||||
// Formulas and custom names must be loaded with R1C1 reference style
|
||||
this.FpSpread1_Sheet1.ReferenceStyle = FarPoint.Win.Spread.Model.ReferenceStyle.R1C1;
|
||||
this.FpSpread1_Sheet1.ColumnCount = 23;
|
||||
this.FpSpread1_Sheet1.ActiveColumnIndex = -1;
|
||||
this.FpSpread1_Sheet1.ActiveRowIndex = -1;
|
||||
this.FpSpread1_Sheet1.AutoGenerateColumns = false;
|
||||
this.FpSpread1_Sheet1.ColumnHeader.Cells.Get(0, 0).Value = "Date";
|
||||
this.FpSpread1_Sheet1.ColumnHeader.Cells.Get(0, 1).Value = "state";
|
||||
this.FpSpread1_Sheet1.ColumnHeader.Cells.Get(0, 4).Value = "sc#";
|
||||
this.FpSpread1_Sheet1.ColumnHeader.Cells.Get(0, 6).Value = "sid#";
|
||||
this.FpSpread1_Sheet1.ColumnHeader.Cells.Get(0, 7).Value = "Item";
|
||||
this.FpSpread1_Sheet1.ColumnHeader.Cells.Get(0, 8).Value = "*";
|
||||
this.FpSpread1_Sheet1.ColumnHeader.Cells.Get(0, 9).Value = "Model";
|
||||
this.FpSpread1_Sheet1.ColumnHeader.Cells.Get(0, 10).Value = "Qty";
|
||||
this.FpSpread1_Sheet1.ColumnHeader.Cells.Get(0, 11).Value = "Unit";
|
||||
this.FpSpread1_Sheet1.ColumnHeader.Cells.Get(0, 12).Value = "Price";
|
||||
this.FpSpread1_Sheet1.ColumnHeader.Cells.Get(0, 13).Value = "Amt";
|
||||
this.FpSpread1_Sheet1.ColumnHeader.Cells.Get(0, 14).Value = "Supply";
|
||||
this.FpSpread1_Sheet1.ColumnHeader.Cells.Get(0, 15).Value = "*";
|
||||
this.FpSpread1_Sheet1.ColumnHeader.Cells.Get(0, 17).Value = "*";
|
||||
this.FpSpread1_Sheet1.ColumnHeader.Rows.Get(0).Height = 37F;
|
||||
this.FpSpread1_Sheet1.Columns.Get(0).CellType = textCellType1;
|
||||
this.FpSpread1_Sheet1.Columns.Get(0).DataField = "pdate";
|
||||
this.FpSpread1_Sheet1.Columns.Get(0).HorizontalAlignment = FarPoint.Win.Spread.CellHorizontalAlignment.Center;
|
||||
this.FpSpread1_Sheet1.Columns.Get(0).Label = "Date";
|
||||
this.FpSpread1_Sheet1.Columns.Get(0).VerticalAlignment = FarPoint.Win.Spread.CellVerticalAlignment.Center;
|
||||
this.FpSpread1_Sheet1.Columns.Get(0).Width = 34F;
|
||||
this.FpSpread1_Sheet1.Columns.Get(1).CellType = textCellType2;
|
||||
this.FpSpread1_Sheet1.Columns.Get(1).DataField = "stateName";
|
||||
this.FpSpread1_Sheet1.Columns.Get(1).HorizontalAlignment = FarPoint.Win.Spread.CellHorizontalAlignment.Center;
|
||||
this.FpSpread1_Sheet1.Columns.Get(1).Label = "state";
|
||||
this.FpSpread1_Sheet1.Columns.Get(1).VerticalAlignment = FarPoint.Win.Spread.CellVerticalAlignment.Center;
|
||||
this.FpSpread1_Sheet1.Columns.Get(1).Width = 34F;
|
||||
this.FpSpread1_Sheet1.Columns.Get(2).CellType = textCellType3;
|
||||
this.FpSpread1_Sheet1.Columns.Get(2).DataField = "process";
|
||||
this.FpSpread1_Sheet1.Columns.Get(2).HorizontalAlignment = FarPoint.Win.Spread.CellHorizontalAlignment.Center;
|
||||
this.FpSpread1_Sheet1.Columns.Get(2).VerticalAlignment = FarPoint.Win.Spread.CellVerticalAlignment.Center;
|
||||
this.FpSpread1_Sheet1.Columns.Get(2).Width = 49F;
|
||||
this.FpSpread1_Sheet1.Columns.Get(3).CellType = textCellType4;
|
||||
this.FpSpread1_Sheet1.Columns.Get(3).DataField = "request";
|
||||
this.FpSpread1_Sheet1.Columns.Get(3).HorizontalAlignment = FarPoint.Win.Spread.CellHorizontalAlignment.Left;
|
||||
this.FpSpread1_Sheet1.Columns.Get(3).Width = 48F;
|
||||
this.FpSpread1_Sheet1.Columns.Get(4).CellType = textCellType5;
|
||||
this.FpSpread1_Sheet1.Columns.Get(4).DataField = "sc";
|
||||
this.FpSpread1_Sheet1.Columns.Get(4).HorizontalAlignment = FarPoint.Win.Spread.CellHorizontalAlignment.Center;
|
||||
this.FpSpread1_Sheet1.Columns.Get(4).Label = "sc#";
|
||||
this.FpSpread1_Sheet1.Columns.Get(4).VerticalAlignment = FarPoint.Win.Spread.CellVerticalAlignment.Center;
|
||||
this.FpSpread1_Sheet1.Columns.Get(4).Width = 27F;
|
||||
this.FpSpread1_Sheet1.Columns.Get(5).CellType = textCellType6;
|
||||
this.FpSpread1_Sheet1.Columns.Get(5).DataField = "receive";
|
||||
this.FpSpread1_Sheet1.Columns.Get(5).HorizontalAlignment = FarPoint.Win.Spread.CellHorizontalAlignment.Left;
|
||||
this.FpSpread1_Sheet1.Columns.Get(5).Width = 46F;
|
||||
this.FpSpread1_Sheet1.Columns.Get(6).CellType = textCellType7;
|
||||
this.FpSpread1_Sheet1.Columns.Get(6).DataField = "sid";
|
||||
this.FpSpread1_Sheet1.Columns.Get(6).HorizontalAlignment = FarPoint.Win.Spread.CellHorizontalAlignment.Center;
|
||||
this.FpSpread1_Sheet1.Columns.Get(6).Label = "sid#";
|
||||
this.FpSpread1_Sheet1.Columns.Get(6).VerticalAlignment = FarPoint.Win.Spread.CellVerticalAlignment.Center;
|
||||
this.FpSpread1_Sheet1.Columns.Get(6).Width = 31F;
|
||||
this.FpSpread1_Sheet1.Columns.Get(7).CellType = textCellType8;
|
||||
this.FpSpread1_Sheet1.Columns.Get(7).DataField = "pumname";
|
||||
this.FpSpread1_Sheet1.Columns.Get(7).HorizontalAlignment = FarPoint.Win.Spread.CellHorizontalAlignment.Left;
|
||||
this.FpSpread1_Sheet1.Columns.Get(7).Label = "Item";
|
||||
this.FpSpread1_Sheet1.Columns.Get(7).Width = 33F;
|
||||
numberCellType1.DecimalPlaces = 0;
|
||||
numberCellType1.LeadingZero = FarPoint.Win.Spread.CellType.LeadingZero.Yes;
|
||||
numberCellType1.MaximumValue = 2147483647D;
|
||||
numberCellType1.MinimumValue = -2147483648D;
|
||||
this.FpSpread1_Sheet1.Columns.Get(8).CellType = numberCellType1;
|
||||
this.FpSpread1_Sheet1.Columns.Get(8).DataField = "pumidx";
|
||||
this.FpSpread1_Sheet1.Columns.Get(8).HorizontalAlignment = FarPoint.Win.Spread.CellHorizontalAlignment.Center;
|
||||
this.FpSpread1_Sheet1.Columns.Get(8).Label = "*";
|
||||
this.FpSpread1_Sheet1.Columns.Get(8).Width = 14F;
|
||||
this.FpSpread1_Sheet1.Columns.Get(9).CellType = textCellType9;
|
||||
this.FpSpread1_Sheet1.Columns.Get(9).DataField = "pumscale";
|
||||
this.FpSpread1_Sheet1.Columns.Get(9).HorizontalAlignment = FarPoint.Win.Spread.CellHorizontalAlignment.Left;
|
||||
this.FpSpread1_Sheet1.Columns.Get(9).Label = "Model";
|
||||
this.FpSpread1_Sheet1.Columns.Get(9).Width = 43F;
|
||||
numberCellType2.DecimalPlaces = 0;
|
||||
numberCellType2.LeadingZero = FarPoint.Win.Spread.CellType.LeadingZero.Yes;
|
||||
numberCellType2.MaximumValue = 2147483647D;
|
||||
numberCellType2.MinimumValue = -2147483648D;
|
||||
this.FpSpread1_Sheet1.Columns.Get(10).CellType = numberCellType2;
|
||||
this.FpSpread1_Sheet1.Columns.Get(10).DataField = "pumqty";
|
||||
this.FpSpread1_Sheet1.Columns.Get(10).HorizontalAlignment = FarPoint.Win.Spread.CellHorizontalAlignment.Center;
|
||||
this.FpSpread1_Sheet1.Columns.Get(10).Label = "Qty";
|
||||
this.FpSpread1_Sheet1.Columns.Get(10).Width = 28F;
|
||||
this.FpSpread1_Sheet1.Columns.Get(11).CellType = textCellType10;
|
||||
this.FpSpread1_Sheet1.Columns.Get(11).DataField = "pumunit";
|
||||
this.FpSpread1_Sheet1.Columns.Get(11).HorizontalAlignment = FarPoint.Win.Spread.CellHorizontalAlignment.Center;
|
||||
this.FpSpread1_Sheet1.Columns.Get(11).Label = "Unit";
|
||||
this.FpSpread1_Sheet1.Columns.Get(11).Width = 31F;
|
||||
numberCellType3.MaximumValue = 999999999999999D;
|
||||
numberCellType3.MinimumValue = -999999999999999D;
|
||||
this.FpSpread1_Sheet1.Columns.Get(12).CellType = numberCellType3;
|
||||
this.FpSpread1_Sheet1.Columns.Get(12).DataField = "pumprice";
|
||||
this.FpSpread1_Sheet1.Columns.Get(12).HorizontalAlignment = FarPoint.Win.Spread.CellHorizontalAlignment.Center;
|
||||
this.FpSpread1_Sheet1.Columns.Get(12).Label = "Price";
|
||||
this.FpSpread1_Sheet1.Columns.Get(12).Width = 35F;
|
||||
numberCellType4.MaximumValue = 999999999999999D;
|
||||
numberCellType4.MinimumValue = -999999999999999D;
|
||||
this.FpSpread1_Sheet1.Columns.Get(13).CellType = numberCellType4;
|
||||
this.FpSpread1_Sheet1.Columns.Get(13).DataField = "pumamt";
|
||||
this.FpSpread1_Sheet1.Columns.Get(13).HorizontalAlignment = FarPoint.Win.Spread.CellHorizontalAlignment.Center;
|
||||
this.FpSpread1_Sheet1.Columns.Get(13).Label = "Amt";
|
||||
this.FpSpread1_Sheet1.Columns.Get(13).Width = 32F;
|
||||
this.FpSpread1_Sheet1.Columns.Get(14).CellType = textCellType11;
|
||||
this.FpSpread1_Sheet1.Columns.Get(14).DataField = "supply";
|
||||
this.FpSpread1_Sheet1.Columns.Get(14).HorizontalAlignment = FarPoint.Win.Spread.CellHorizontalAlignment.Left;
|
||||
this.FpSpread1_Sheet1.Columns.Get(14).Label = "Supply";
|
||||
this.FpSpread1_Sheet1.Columns.Get(14).Width = 46F;
|
||||
numberCellType5.DecimalPlaces = 0;
|
||||
numberCellType5.LeadingZero = FarPoint.Win.Spread.CellType.LeadingZero.Yes;
|
||||
numberCellType5.MaximumValue = 2147483647D;
|
||||
numberCellType5.MinimumValue = -2147483648D;
|
||||
this.FpSpread1_Sheet1.Columns.Get(15).CellType = numberCellType5;
|
||||
this.FpSpread1_Sheet1.Columns.Get(15).DataField = "supplyidx";
|
||||
this.FpSpread1_Sheet1.Columns.Get(15).HorizontalAlignment = FarPoint.Win.Spread.CellHorizontalAlignment.Center;
|
||||
this.FpSpread1_Sheet1.Columns.Get(15).Label = "*";
|
||||
this.FpSpread1_Sheet1.Columns.Get(15).Width = 14F;
|
||||
this.FpSpread1_Sheet1.Columns.Get(16).CellType = textCellType12;
|
||||
this.FpSpread1_Sheet1.Columns.Get(16).DataField = "project";
|
||||
this.FpSpread1_Sheet1.Columns.Get(16).HorizontalAlignment = FarPoint.Win.Spread.CellHorizontalAlignment.Left;
|
||||
this.FpSpread1_Sheet1.Columns.Get(16).Width = 46F;
|
||||
numberCellType6.DecimalPlaces = 0;
|
||||
numberCellType6.LeadingZero = FarPoint.Win.Spread.CellType.LeadingZero.Yes;
|
||||
numberCellType6.MaximumValue = 2147483647D;
|
||||
numberCellType6.MinimumValue = -2147483648D;
|
||||
this.FpSpread1_Sheet1.Columns.Get(17).CellType = numberCellType6;
|
||||
this.FpSpread1_Sheet1.Columns.Get(17).DataField = "projectidx";
|
||||
this.FpSpread1_Sheet1.Columns.Get(17).HorizontalAlignment = FarPoint.Win.Spread.CellHorizontalAlignment.Center;
|
||||
this.FpSpread1_Sheet1.Columns.Get(17).Label = "*";
|
||||
this.FpSpread1_Sheet1.Columns.Get(17).Width = 14F;
|
||||
this.FpSpread1_Sheet1.Columns.Get(18).CellType = textCellType13;
|
||||
this.FpSpread1_Sheet1.Columns.Get(18).DataField = "asset";
|
||||
this.FpSpread1_Sheet1.Columns.Get(18).HorizontalAlignment = FarPoint.Win.Spread.CellHorizontalAlignment.Left;
|
||||
this.FpSpread1_Sheet1.Columns.Get(18).Width = 35F;
|
||||
this.FpSpread1_Sheet1.Columns.Get(19).CellType = textCellType14;
|
||||
this.FpSpread1_Sheet1.Columns.Get(19).DataField = "edate";
|
||||
this.FpSpread1_Sheet1.Columns.Get(19).HorizontalAlignment = FarPoint.Win.Spread.CellHorizontalAlignment.Center;
|
||||
this.FpSpread1_Sheet1.Columns.Get(19).Width = 38F;
|
||||
this.FpSpread1_Sheet1.Columns.Get(20).CellType = textCellType15;
|
||||
this.FpSpread1_Sheet1.Columns.Get(20).DataField = "indate";
|
||||
this.FpSpread1_Sheet1.Columns.Get(20).HorizontalAlignment = FarPoint.Win.Spread.CellHorizontalAlignment.Center;
|
||||
this.FpSpread1_Sheet1.Columns.Get(20).Width = 42F;
|
||||
this.FpSpread1_Sheet1.Columns.Get(21).CellType = textCellType16;
|
||||
this.FpSpread1_Sheet1.Columns.Get(21).DataField = "po";
|
||||
this.FpSpread1_Sheet1.Columns.Get(21).HorizontalAlignment = FarPoint.Win.Spread.CellHorizontalAlignment.Center;
|
||||
this.FpSpread1_Sheet1.Columns.Get(21).Width = 23F;
|
||||
this.FpSpread1_Sheet1.Columns.Get(22).CellType = textCellType17;
|
||||
this.FpSpread1_Sheet1.Columns.Get(22).DataField = "dept";
|
||||
this.FpSpread1_Sheet1.Columns.Get(22).HorizontalAlignment = FarPoint.Win.Spread.CellHorizontalAlignment.Left;
|
||||
this.FpSpread1_Sheet1.Columns.Get(22).Width = 33F;
|
||||
this.FpSpread1_Sheet1.DataAutoSizeColumns = false;
|
||||
this.FpSpread1_Sheet1.DataSource = this.bs;
|
||||
this.FpSpread1_Sheet1.RowHeader.Columns.Default.Resizable = false;
|
||||
this.FpSpread1_Sheet1.ReferenceStyle = FarPoint.Win.Spread.Model.ReferenceStyle.A1;
|
||||
//
|
||||
// fPurchase
|
||||
//
|
||||
this.AutoScaleDimensions = new System.Drawing.SizeF(7F, 12F);
|
||||
this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
|
||||
this.ClientSize = new System.Drawing.Size(864, 581);
|
||||
this.Controls.Add(this.dv1);
|
||||
this.ClientSize = new System.Drawing.Size(878, 519);
|
||||
this.Controls.Add(this.FpSpread1);
|
||||
this.Controls.Add(this.toolStrip1);
|
||||
this.Controls.Add(this.bn);
|
||||
this.DoubleBuffered = true;
|
||||
@@ -715,10 +659,11 @@
|
||||
((System.ComponentModel.ISupportInitialize)(this.bn)).EndInit();
|
||||
this.bn.ResumeLayout(false);
|
||||
this.bn.PerformLayout();
|
||||
((System.ComponentModel.ISupportInitialize)(this.dv1)).EndInit();
|
||||
this.cm1.ResumeLayout(false);
|
||||
this.toolStrip1.ResumeLayout(false);
|
||||
this.toolStrip1.PerformLayout();
|
||||
((System.ComponentModel.ISupportInitialize)(this.FpSpread1)).EndInit();
|
||||
((System.ComponentModel.ISupportInitialize)(this.FpSpread1_Sheet1)).EndInit();
|
||||
this.ResumeLayout(false);
|
||||
this.PerformLayout();
|
||||
|
||||
@@ -742,7 +687,6 @@
|
||||
private System.Windows.Forms.ToolStripButton bindingNavigatorMoveNextItem;
|
||||
private System.Windows.Forms.ToolStripButton bindingNavigatorMoveLastItem;
|
||||
private System.Windows.Forms.ToolStripSeparator bindingNavigatorSeparator2;
|
||||
private System.Windows.Forms.DataGridView dv1;
|
||||
private System.Windows.Forms.ToolStrip toolStrip1;
|
||||
private System.Windows.Forms.ToolStripLabel lbStt;
|
||||
private System.Windows.Forms.ToolStripTextBox dtSD;
|
||||
@@ -765,32 +709,13 @@
|
||||
private System.Windows.Forms.ToolStripMenuItem viewThisUserDataToolStripMenuItem;
|
||||
private System.Windows.Forms.ToolStripSeparator toolStripMenuItem1;
|
||||
private System.Windows.Forms.ToolStripMenuItem copyDataToolStripMenuItem;
|
||||
private System.Windows.Forms.DataGridViewTextBoxColumn dataGridViewTextBoxColumn2;
|
||||
private System.Windows.Forms.DataGridViewTextBoxColumn dvc_statename;
|
||||
private System.Windows.Forms.DataGridViewTextBoxColumn dvc_state;
|
||||
private System.Windows.Forms.DataGridViewTextBoxColumn dataGridViewTextBoxColumn4;
|
||||
private System.Windows.Forms.DataGridViewTextBoxColumn dataGridViewTextBoxColumn7;
|
||||
private System.Windows.Forms.DataGridViewTextBoxColumn dataGridViewTextBoxColumn6;
|
||||
private System.Windows.Forms.DataGridViewTextBoxColumn dataGridViewTextBoxColumn5;
|
||||
private System.Windows.Forms.DataGridViewTextBoxColumn dataGridViewTextBoxColumn8;
|
||||
private System.Windows.Forms.DataGridViewTextBoxColumn dataGridViewTextBoxColumn9;
|
||||
private System.Windows.Forms.DataGridViewTextBoxColumn pumidx;
|
||||
private System.Windows.Forms.DataGridViewTextBoxColumn dataGridViewTextBoxColumn10;
|
||||
private System.Windows.Forms.DataGridViewTextBoxColumn dataGridViewTextBoxColumn11;
|
||||
private System.Windows.Forms.DataGridViewTextBoxColumn dataGridViewTextBoxColumn12;
|
||||
private System.Windows.Forms.DataGridViewTextBoxColumn dataGridViewTextBoxColumn13;
|
||||
private System.Windows.Forms.DataGridViewTextBoxColumn dataGridViewTextBoxColumn14;
|
||||
private System.Windows.Forms.DataGridViewTextBoxColumn dataGridViewTextBoxColumn15;
|
||||
private System.Windows.Forms.DataGridViewTextBoxColumn supplyidx;
|
||||
private System.Windows.Forms.DataGridViewTextBoxColumn dataGridViewTextBoxColumn17;
|
||||
private System.Windows.Forms.DataGridViewTextBoxColumn dataGridViewTextBoxColumn19;
|
||||
private System.Windows.Forms.DataGridViewTextBoxColumn dataGridViewTextBoxColumn20;
|
||||
private System.Windows.Forms.DataGridViewTextBoxColumn dataGridViewTextBoxColumn21;
|
||||
private System.Windows.Forms.DataGridViewTextBoxColumn dataGridViewTextBoxColumn22;
|
||||
private System.Windows.Forms.DataGridViewTextBoxColumn dataGridViewTextBoxColumn23;
|
||||
private System.Windows.Forms.ToolStripSeparator toolStripSeparator4;
|
||||
private System.Windows.Forms.ToolStripLabel toolStripLabel2;
|
||||
private System.Windows.Forms.ToolStripTextBox tbFind;
|
||||
private System.Windows.Forms.ToolStripButton btFind;
|
||||
private FarPoint.Win.Spread.FpSpread FpSpread1;
|
||||
private System.Windows.Forms.ToolStripMenuItem editDataToolStripMenuItem;
|
||||
private System.Windows.Forms.ToolStripSeparator toolStripMenuItem2;
|
||||
private FarPoint.Win.Spread.SheetView FpSpread1_Sheet1;
|
||||
}
|
||||
}
|
||||
|
||||
@@ -15,60 +15,49 @@ namespace FEQ0000
|
||||
{
|
||||
InitializeComponent();
|
||||
this.dsPurchase.Purchase.TableNewRow += Purchase_TableNewRow;
|
||||
if (FCOMMON.info.Login.level > 9)
|
||||
{
|
||||
dv1.SelectionMode = DataGridViewSelectionMode.CellSelect;
|
||||
dv1.EditMode = DataGridViewEditMode.EditOnKeystrokeOrF2;
|
||||
btSave.Visible = true;
|
||||
}
|
||||
else
|
||||
{
|
||||
dv1.SelectionMode = DataGridViewSelectionMode.FullRowSelect;
|
||||
dv1.EditMode = DataGridViewEditMode.EditProgrammatically;
|
||||
btSave.Visible = false;
|
||||
}
|
||||
this.dv1.CellFormatting += dv1_CellFormatting;
|
||||
|
||||
//this.dv1.CellFormatting += dv1_CellFormatting;
|
||||
}
|
||||
|
||||
void dv1_CellFormatting(object sender, DataGridViewCellFormattingEventArgs e)
|
||||
{
|
||||
if (e.ColumnIndex < 0 || e.RowIndex < 0) return;
|
||||
var state = this.dv1.Rows[e.RowIndex].Cells["dvc_state"].Value.ToString();
|
||||
switch (state)
|
||||
{
|
||||
case "00": //입력대기(미확인)
|
||||
this.dv1.Rows[e.RowIndex].Cells[e.ColumnIndex].Style.ForeColor = Color.Black;
|
||||
this.dv1.Rows[e.RowIndex].Cells[e.ColumnIndex].Style.BackColor = Color.LightGray;
|
||||
break;
|
||||
case "01": //파트장 승인 기다림
|
||||
this.dv1.Rows[e.RowIndex].Cells[e.ColumnIndex].Style.ForeColor = Color.DarkBlue;
|
||||
this.dv1.Rows[e.RowIndex].Cells[e.ColumnIndex].Style.BackColor = Color.White;
|
||||
break;
|
||||
case "03": //PO (협력업체 전달)
|
||||
this.dv1.Rows[e.RowIndex].Cells[e.ColumnIndex].Style.ForeColor = Color.DarkMagenta;
|
||||
this.dv1.Rows[e.RowIndex].Cells[e.ColumnIndex].Style.BackColor = Color.White;
|
||||
break;
|
||||
case "04": //자재 수령
|
||||
this.dv1.Rows[e.RowIndex].Cells[e.ColumnIndex].Style.BackColor = Color.White;
|
||||
this.dv1.Rows[e.RowIndex].Cells[e.ColumnIndex].Style.ForeColor = Color.Green;
|
||||
break;
|
||||
case "05": //canceld (취소)
|
||||
this.dv1.Rows[e.RowIndex].Cells[e.ColumnIndex].Style.BackColor = Color.LightGray;
|
||||
this.dv1.Rows[e.RowIndex].Cells[e.ColumnIndex].Style.ForeColor = Color.Red;
|
||||
break;
|
||||
case "06": //cancel (취소됨)
|
||||
this.dv1.Rows[e.RowIndex].Cells[e.ColumnIndex].Style.BackColor = Color.HotPink;
|
||||
this.dv1.Rows[e.RowIndex].Cells[e.ColumnIndex].Style.ForeColor = Color.Black;
|
||||
break;
|
||||
case "08": //문의
|
||||
this.dv1.Rows[e.RowIndex].Cells[e.ColumnIndex].Style.BackColor = Color.Green;
|
||||
this.dv1.Rows[e.RowIndex].Cells[e.ColumnIndex].Style.ForeColor = Color.White;
|
||||
break;
|
||||
default:
|
||||
this.dv1.Rows[e.RowIndex].Cells[e.ColumnIndex].Style.BackColor = Color.White;
|
||||
this.dv1.Rows[e.RowIndex].Cells[e.ColumnIndex].Style.ForeColor = Color.Black;
|
||||
break;
|
||||
}
|
||||
//if (e.ColumnIndex < 0 || e.RowIndex < 0) return;
|
||||
//var state = this.dv1.Rows[e.RowIndex].Cells["dvc_state"].Value.ToString();
|
||||
//switch (state)
|
||||
//{
|
||||
// case "00": //입력대기(미확인)
|
||||
// this.dv1.Rows[e.RowIndex].Cells[e.ColumnIndex].Style.ForeColor = Color.Black;
|
||||
// this.dv1.Rows[e.RowIndex].Cells[e.ColumnIndex].Style.BackColor = Color.LightGray;
|
||||
// break;
|
||||
// case "01": //파트장 승인 기다림
|
||||
// this.dv1.Rows[e.RowIndex].Cells[e.ColumnIndex].Style.ForeColor = Color.DarkBlue;
|
||||
// this.dv1.Rows[e.RowIndex].Cells[e.ColumnIndex].Style.BackColor = Color.White;
|
||||
// break;
|
||||
// case "03": //PO (협력업체 전달)
|
||||
// this.dv1.Rows[e.RowIndex].Cells[e.ColumnIndex].Style.ForeColor = Color.DarkMagenta;
|
||||
// this.dv1.Rows[e.RowIndex].Cells[e.ColumnIndex].Style.BackColor = Color.White;
|
||||
// break;
|
||||
// case "04": //자재 수령
|
||||
// this.dv1.Rows[e.RowIndex].Cells[e.ColumnIndex].Style.BackColor = Color.White;
|
||||
// this.dv1.Rows[e.RowIndex].Cells[e.ColumnIndex].Style.ForeColor = Color.Green;
|
||||
// break;
|
||||
// case "05": //canceld (취소)
|
||||
// this.dv1.Rows[e.RowIndex].Cells[e.ColumnIndex].Style.BackColor = Color.LightGray;
|
||||
// this.dv1.Rows[e.RowIndex].Cells[e.ColumnIndex].Style.ForeColor = Color.Red;
|
||||
// break;
|
||||
// case "06": //cancel (취소됨)
|
||||
// this.dv1.Rows[e.RowIndex].Cells[e.ColumnIndex].Style.BackColor = Color.HotPink;
|
||||
// this.dv1.Rows[e.RowIndex].Cells[e.ColumnIndex].Style.ForeColor = Color.Black;
|
||||
// break;
|
||||
// case "08": //문의
|
||||
// this.dv1.Rows[e.RowIndex].Cells[e.ColumnIndex].Style.BackColor = Color.Green;
|
||||
// this.dv1.Rows[e.RowIndex].Cells[e.ColumnIndex].Style.ForeColor = Color.White;
|
||||
// break;
|
||||
// default:
|
||||
// this.dv1.Rows[e.RowIndex].Cells[e.ColumnIndex].Style.BackColor = Color.White;
|
||||
// this.dv1.Rows[e.RowIndex].Cells[e.ColumnIndex].Style.ForeColor = Color.Black;
|
||||
// break;
|
||||
//}
|
||||
}
|
||||
|
||||
void Purchase_TableNewRow(object sender, DataTableNewRowEventArgs e)
|
||||
@@ -82,7 +71,7 @@ namespace FEQ0000
|
||||
e.Row["pumprice"] = 0;
|
||||
e.Row["pumamt"] = 0;
|
||||
e.Row["request"] = FCOMMON.info.Login.nameK;
|
||||
e.Row["receive"] = FCOMMON.info.Login.nameK;
|
||||
e.Row["receive"] = "";// FCOMMON.info.Login.nameK;
|
||||
}
|
||||
|
||||
private void __Load(object sender, EventArgs e)
|
||||
@@ -100,6 +89,19 @@ namespace FEQ0000
|
||||
cmbState.Items.Add(item);
|
||||
this.cmbState.SelectedIndex = 1;
|
||||
|
||||
if (FCOMMON.info.Login.level > 9)
|
||||
{
|
||||
btSave.Visible = true;
|
||||
}
|
||||
else
|
||||
{
|
||||
FpSpread1.EditMode = false;
|
||||
FpSpread1.Sheets[0].SelectionUnit = FarPoint.Win.Spread.Model.SelectionUnit.Row;
|
||||
FpSpread1.EditModePermanent = false;
|
||||
FpSpread1.EditModeReplace = false;
|
||||
btSave.Visible = false;
|
||||
}
|
||||
|
||||
refreshData();
|
||||
}
|
||||
|
||||
@@ -138,11 +140,10 @@ namespace FEQ0000
|
||||
cmd.Connection = this.ta.Connection;
|
||||
da.SelectCommand = cmd;
|
||||
|
||||
//read adata
|
||||
this.dsPurchase.Purchase.Clear();
|
||||
da.Fill(this.dsPurchase.Purchase);
|
||||
this.dsPurchase.AcceptChanges();
|
||||
//this.ta.Fill(this.dsPurchase.Purchase, dtSD.Text, dtED.Text, request, state);
|
||||
if (!tbRequest.Text.isEmpty()) this.dv1.AutoResizeColumns();
|
||||
showSummary();
|
||||
}
|
||||
catch (System.Exception ex)
|
||||
@@ -165,7 +166,10 @@ namespace FEQ0000
|
||||
|
||||
private void autoResizeColumnsToolStripMenuItem_Click(object sender, EventArgs e)
|
||||
{
|
||||
dv1.AutoResizeColumns();
|
||||
this.FpSpread1.ActiveSheet.DataAutoSizeColumns = true;
|
||||
for (int i = 0; i < this.FpSpread1.ActiveSheet.Rows.Count; i++)
|
||||
this.FpSpread1.ActiveSheet.SetRowHeight(i, 25);
|
||||
//dv1.AutoResizeColumns();
|
||||
}
|
||||
|
||||
private void toolStripButton1_Click(object sender, EventArgs e)
|
||||
@@ -224,25 +228,7 @@ namespace FEQ0000
|
||||
|
||||
private void dv1_DoubleClick(object sender, EventArgs e)
|
||||
{
|
||||
var drv = this.bs.Current as DataRowView;
|
||||
if (drv == null) return;
|
||||
var dr = drv.Row as dsPurchase.PurchaseRow;
|
||||
|
||||
fPurchase_Add f = new fPurchase_Add(dr);
|
||||
if (f.ShowDialog() == System.Windows.Forms.DialogResult.OK)
|
||||
{
|
||||
//존재하지 않는 sid 는 추가를 해준다.
|
||||
var newidx = AddItemInfoGetIndex(dr);
|
||||
if (newidx != -1)
|
||||
{
|
||||
dr.pumidx = newidx;
|
||||
dr.EndEdit();
|
||||
}
|
||||
|
||||
this.ta.Update(dr);
|
||||
dr.AcceptChanges();
|
||||
}
|
||||
else dr.RejectChanges();
|
||||
|
||||
}
|
||||
|
||||
private void lbStt_Click(object sender, EventArgs e)
|
||||
@@ -408,5 +394,28 @@ namespace FEQ0000
|
||||
{
|
||||
if (e.KeyCode == Keys.Enter) btFind.PerformClick();
|
||||
}
|
||||
|
||||
private void editDataToolStripMenuItem_Click(object sender, EventArgs e)
|
||||
{
|
||||
var drv = this.bs.Current as DataRowView;
|
||||
if (drv == null) return;
|
||||
var dr = drv.Row as dsPurchase.PurchaseRow;
|
||||
|
||||
fPurchase_Add f = new fPurchase_Add(dr);
|
||||
if (f.ShowDialog() == System.Windows.Forms.DialogResult.OK)
|
||||
{
|
||||
//존재하지 않는 sid 는 추가를 해준다.
|
||||
var newidx = AddItemInfoGetIndex(dr);
|
||||
if (newidx != -1)
|
||||
{
|
||||
dr.pumidx = newidx;
|
||||
dr.EndEdit();
|
||||
}
|
||||
|
||||
this.ta.Update(dr);
|
||||
dr.AcceptChanges();
|
||||
}
|
||||
else dr.RejectChanges();
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@@ -223,15 +223,6 @@
|
||||
GoSrpcVIQqmAj6LZftFBup9vWiUlUQdIDCbsQrsGZRJKBbOXyA++SlEsu6QjvQAAAABJRU5ErkJggg==
|
||||
</value>
|
||||
</data>
|
||||
<metadata name="dvc_state.UserAddedColumn" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
|
||||
<value>True</value>
|
||||
</metadata>
|
||||
<metadata name="pumidx.UserAddedColumn" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
|
||||
<value>True</value>
|
||||
</metadata>
|
||||
<metadata name="supplyidx.UserAddedColumn" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
|
||||
<value>True</value>
|
||||
</metadata>
|
||||
<metadata name="cm1.TrayLocation" type="System.Drawing.Point, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a">
|
||||
<value>502, 17</value>
|
||||
</metadata>
|
||||
@@ -249,4 +240,7 @@
|
||||
dBo6zn/3OB7XHovRyuhQ6+hhYKA9DpL+A1keRebNAhkaJH0OHOcP031C4EjYr6wAAAAASUVORK5CYII=
|
||||
</value>
|
||||
</data>
|
||||
<metadata name="FpSpread1_Sheet1.TrayLocation" type="System.Drawing.Point, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a">
|
||||
<value>577, 17</value>
|
||||
</metadata>
|
||||
</root>
|
||||
@@ -1,9 +1,8 @@
|
||||
<?xml version="1.0" encoding="utf-8" ?>
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<configuration>
|
||||
<configSections>
|
||||
</configSections>
|
||||
<connectionStrings>
|
||||
<add name="FEQ0000.Properties.Settings.gwcs" connectionString="Data Source=10.131.36.205;Initial Catalog=GroupWare;Persist Security Info=True;User ID=gw;Password=Amkor123!"
|
||||
providerName="System.Data.SqlClient" />
|
||||
<add name="FEQ0000.Properties.Settings.gwcs" connectionString="Data Source=10.131.36.205;Initial Catalog=GroupWare;Persist Security Info=True;User ID=gw;Password=Amkor123!" providerName="System.Data.SqlClient"/>
|
||||
</connectionStrings>
|
||||
</configuration>
|
||||
<startup><supportedRuntime version="v4.0" sku=".NETFramework,Version=v4.5.2"/></startup></configuration>
|
||||
|
||||
Reference in New Issue
Block a user