공정 항목 추가 (업무일지, 프로젝트)
구매내역에 s/c 정렬 기능 추가
This commit is contained in:
259
SubProject/FBS0000/Holiday/fHolyday.Designer.cs
generated
259
SubProject/FBS0000/Holiday/fHolyday.Designer.cs
generated
@@ -31,12 +31,9 @@
|
||||
this.components = new System.ComponentModel.Container();
|
||||
System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(fHolyday));
|
||||
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();
|
||||
this.bn = new System.Windows.Forms.BindingNavigator(this.components);
|
||||
this.bs = new System.Windows.Forms.BindingSource(this.components);
|
||||
this.dsMSSQL = new FBS0000.dsMSSQL();
|
||||
this.bindingNavigatorCountItem = new System.Windows.Forms.ToolStripLabel();
|
||||
this.bindingNavigatorDeleteItem = new System.Windows.Forms.ToolStripButton();
|
||||
this.bindingNavigatorMoveFirstItem = new System.Windows.Forms.ToolStripButton();
|
||||
@@ -48,7 +45,13 @@
|
||||
this.bindingNavigatorMoveLastItem = new System.Windows.Forms.ToolStripButton();
|
||||
this.bindingNavigatorSeparator2 = new System.Windows.Forms.ToolStripSeparator();
|
||||
this.bindingNavigatorAddNewItem = new System.Windows.Forms.ToolStripButton();
|
||||
this.boardBindingNavigatorSaveItem = new System.Windows.Forms.ToolStripButton();
|
||||
this.toolStripSeparator1 = new System.Windows.Forms.ToolStripSeparator();
|
||||
this.toolStripLabel7 = new System.Windows.Forms.ToolStripLabel();
|
||||
this.sbUse = new System.Windows.Forms.ToolStripLabel();
|
||||
this.toolStripLabel5 = new System.Windows.Forms.ToolStripLabel();
|
||||
this.sbGen = new System.Windows.Forms.ToolStripLabel();
|
||||
this.toolStripLabel8 = new System.Windows.Forms.ToolStripLabel();
|
||||
this.sbJan = new System.Windows.Forms.ToolStripLabel();
|
||||
this.dv1 = new System.Windows.Forms.DataGridView();
|
||||
this.cm1 = new System.Windows.Forms.ContextMenuStrip(this.components);
|
||||
this.sendToMailToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
|
||||
@@ -62,32 +65,19 @@
|
||||
this.toolStripLabel3 = new System.Windows.Forms.ToolStripLabel();
|
||||
this.cmbUser = new System.Windows.Forms.ToolStripComboBox();
|
||||
this.toolStripButton1 = new System.Windows.Forms.ToolStripButton();
|
||||
this.bs = new System.Windows.Forms.BindingSource(this.components);
|
||||
this.dsMSSQL = new FBS0000.dsMSSQL();
|
||||
this.tam = new FBS0000.dsMSSQLTableAdapters.TableAdapterManager();
|
||||
this.ta = new FBS0000.dsMSSQLTableAdapters.HolydayTableAdapter();
|
||||
this.dvc_user = new System.Windows.Forms.DataGridViewComboBoxColumn();
|
||||
this.dvc_cate = new System.Windows.Forms.DataGridViewComboBoxColumn();
|
||||
this.sdateDataGridViewTextBoxColumn = new System.Windows.Forms.DataGridViewTextBoxColumn();
|
||||
this.edateDataGridViewTextBoxColumn = new System.Windows.Forms.DataGridViewTextBoxColumn();
|
||||
this.ta = new FBS0000.dsMSSQLTableAdapters.vHoliday_uselistTableAdapter();
|
||||
this.pdate = new System.Windows.Forms.DataGridViewTextBoxColumn();
|
||||
this.dvc_cate = new System.Windows.Forms.DataGridViewTextBoxColumn();
|
||||
this.termDataGridViewTextBoxColumn = new System.Windows.Forms.DataGridViewTextBoxColumn();
|
||||
this.termDr = new System.Windows.Forms.DataGridViewTextBoxColumn();
|
||||
this.dvc_result = new System.Windows.Forms.DataGridViewComboBoxColumn();
|
||||
this.contents = new System.Windows.Forms.DataGridViewTextBoxColumn();
|
||||
this.toolStripSeparator1 = new System.Windows.Forms.ToolStripSeparator();
|
||||
this.sbGen = new System.Windows.Forms.ToolStripLabel();
|
||||
this.toolStripLabel5 = new System.Windows.Forms.ToolStripLabel();
|
||||
this.sbUse = new System.Windows.Forms.ToolStripLabel();
|
||||
this.toolStripLabel7 = new System.Windows.Forms.ToolStripLabel();
|
||||
this.toolStripLabel8 = new System.Windows.Forms.ToolStripLabel();
|
||||
this.sbJan = new System.Windows.Forms.ToolStripLabel();
|
||||
((System.ComponentModel.ISupportInitialize)(this.bn)).BeginInit();
|
||||
this.bn.SuspendLayout();
|
||||
((System.ComponentModel.ISupportInitialize)(this.bs)).BeginInit();
|
||||
((System.ComponentModel.ISupportInitialize)(this.dsMSSQL)).BeginInit();
|
||||
((System.ComponentModel.ISupportInitialize)(this.dv1)).BeginInit();
|
||||
this.cm1.SuspendLayout();
|
||||
this.toolStrip1.SuspendLayout();
|
||||
((System.ComponentModel.ISupportInitialize)(this.bs)).BeginInit();
|
||||
((System.ComponentModel.ISupportInitialize)(this.dsMSSQL)).BeginInit();
|
||||
this.SuspendLayout();
|
||||
//
|
||||
// bn
|
||||
@@ -110,7 +100,6 @@
|
||||
this.bindingNavigatorSeparator2,
|
||||
this.bindingNavigatorAddNewItem,
|
||||
this.bindingNavigatorDeleteItem,
|
||||
this.boardBindingNavigatorSaveItem,
|
||||
this.toolStripSeparator1,
|
||||
this.toolStripLabel7,
|
||||
this.sbUse,
|
||||
@@ -129,6 +118,16 @@
|
||||
this.bn.TabIndex = 0;
|
||||
this.bn.Text = "bindingNavigator1";
|
||||
//
|
||||
// bs
|
||||
//
|
||||
this.bs.DataMember = "vHoliday_uselist";
|
||||
this.bs.DataSource = this.dsMSSQL;
|
||||
//
|
||||
// dsMSSQL
|
||||
//
|
||||
this.dsMSSQL.DataSetName = "dsMSSQL";
|
||||
this.dsMSSQL.SchemaSerializationMode = System.Data.SchemaSerializationMode.IncludeSchema;
|
||||
//
|
||||
// bindingNavigatorCountItem
|
||||
//
|
||||
this.bindingNavigatorCountItem.Name = "bindingNavigatorCountItem";
|
||||
@@ -209,17 +208,54 @@
|
||||
this.bindingNavigatorAddNewItem.Image = ((System.Drawing.Image)(resources.GetObject("bindingNavigatorAddNewItem.Image")));
|
||||
this.bindingNavigatorAddNewItem.Name = "bindingNavigatorAddNewItem";
|
||||
this.bindingNavigatorAddNewItem.RightToLeftAutoMirrorImage = true;
|
||||
this.bindingNavigatorAddNewItem.Size = new System.Drawing.Size(75, 28);
|
||||
this.bindingNavigatorAddNewItem.Text = "추가(&A)";
|
||||
this.bindingNavigatorAddNewItem.Size = new System.Drawing.Size(131, 28);
|
||||
this.bindingNavigatorAddNewItem.Text = "휴가 발생 등록(&A)";
|
||||
this.bindingNavigatorAddNewItem.Click += new System.EventHandler(this.bindingNavigatorAddNewItem_Click);
|
||||
//
|
||||
// boardBindingNavigatorSaveItem
|
||||
// toolStripSeparator1
|
||||
//
|
||||
this.boardBindingNavigatorSaveItem.Image = ((System.Drawing.Image)(resources.GetObject("boardBindingNavigatorSaveItem.Image")));
|
||||
this.boardBindingNavigatorSaveItem.Name = "boardBindingNavigatorSaveItem";
|
||||
this.boardBindingNavigatorSaveItem.Size = new System.Drawing.Size(74, 28);
|
||||
this.boardBindingNavigatorSaveItem.Text = "저장(&S)";
|
||||
this.boardBindingNavigatorSaveItem.Click += new System.EventHandler(this.boardBindingNavigatorSaveItem_Click);
|
||||
this.toolStripSeparator1.Name = "toolStripSeparator1";
|
||||
this.toolStripSeparator1.Size = new System.Drawing.Size(6, 31);
|
||||
//
|
||||
// toolStripLabel7
|
||||
//
|
||||
this.toolStripLabel7.Name = "toolStripLabel7";
|
||||
this.toolStripLabel7.Size = new System.Drawing.Size(31, 28);
|
||||
this.toolStripLabel7.Text = "사용";
|
||||
//
|
||||
// sbUse
|
||||
//
|
||||
this.sbUse.Font = new System.Drawing.Font("맑은 고딕", 12F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(129)));
|
||||
this.sbUse.Name = "sbUse";
|
||||
this.sbUse.Size = new System.Drawing.Size(19, 28);
|
||||
this.sbUse.Text = "0";
|
||||
//
|
||||
// toolStripLabel5
|
||||
//
|
||||
this.toolStripLabel5.Name = "toolStripLabel5";
|
||||
this.toolStripLabel5.Size = new System.Drawing.Size(31, 28);
|
||||
this.toolStripLabel5.Text = "발생";
|
||||
//
|
||||
// sbGen
|
||||
//
|
||||
this.sbGen.Font = new System.Drawing.Font("맑은 고딕", 12F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(129)));
|
||||
this.sbGen.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(0)))), ((int)(((byte)(0)))), ((int)(((byte)(192)))));
|
||||
this.sbGen.Name = "sbGen";
|
||||
this.sbGen.Size = new System.Drawing.Size(19, 28);
|
||||
this.sbGen.Text = "0";
|
||||
//
|
||||
// toolStripLabel8
|
||||
//
|
||||
this.toolStripLabel8.Name = "toolStripLabel8";
|
||||
this.toolStripLabel8.Size = new System.Drawing.Size(31, 28);
|
||||
this.toolStripLabel8.Text = "잔량";
|
||||
//
|
||||
// sbJan
|
||||
//
|
||||
this.sbJan.Font = new System.Drawing.Font("맑은 고딕", 12F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(129)));
|
||||
this.sbJan.Name = "sbJan";
|
||||
this.sbJan.Size = new System.Drawing.Size(19, 28);
|
||||
this.sbJan.Text = "0";
|
||||
//
|
||||
// dv1
|
||||
//
|
||||
@@ -229,13 +265,10 @@
|
||||
this.dv1.ColumnHeadersHeight = 30;
|
||||
this.dv1.ColumnHeadersHeightSizeMode = System.Windows.Forms.DataGridViewColumnHeadersHeightSizeMode.DisableResizing;
|
||||
this.dv1.Columns.AddRange(new System.Windows.Forms.DataGridViewColumn[] {
|
||||
this.dvc_user,
|
||||
this.pdate,
|
||||
this.dvc_cate,
|
||||
this.sdateDataGridViewTextBoxColumn,
|
||||
this.edateDataGridViewTextBoxColumn,
|
||||
this.termDataGridViewTextBoxColumn,
|
||||
this.termDr,
|
||||
this.dvc_result,
|
||||
this.contents});
|
||||
this.dv1.ContextMenuStrip = this.cm1;
|
||||
this.dv1.DataSource = this.bs;
|
||||
@@ -298,8 +331,8 @@
|
||||
// toolStripLabel1
|
||||
//
|
||||
this.toolStripLabel1.Name = "toolStripLabel1";
|
||||
this.toolStripLabel1.Size = new System.Drawing.Size(34, 28);
|
||||
this.toolStripLabel1.Text = "Term";
|
||||
this.toolStripLabel1.Size = new System.Drawing.Size(31, 28);
|
||||
this.toolStripLabel1.Text = "기간";
|
||||
//
|
||||
// tbSD
|
||||
//
|
||||
@@ -326,8 +359,8 @@
|
||||
// toolStripLabel3
|
||||
//
|
||||
this.toolStripLabel3.Name = "toolStripLabel3";
|
||||
this.toolStripLabel3.Size = new System.Drawing.Size(30, 28);
|
||||
this.toolStripLabel3.Text = "User";
|
||||
this.toolStripLabel3.Size = new System.Drawing.Size(43, 28);
|
||||
this.toolStripLabel3.Text = "담당자";
|
||||
//
|
||||
// cmbUser
|
||||
//
|
||||
@@ -340,77 +373,34 @@
|
||||
this.toolStripButton1.Image = global::FBS0000.Properties.Resources.action_refresh;
|
||||
this.toolStripButton1.ImageTransparentColor = System.Drawing.Color.Magenta;
|
||||
this.toolStripButton1.Name = "toolStripButton1";
|
||||
this.toolStripButton1.Size = new System.Drawing.Size(86, 28);
|
||||
this.toolStripButton1.Text = "Search(&R)";
|
||||
this.toolStripButton1.Size = new System.Drawing.Size(74, 28);
|
||||
this.toolStripButton1.Text = "검색(&R)";
|
||||
this.toolStripButton1.Click += new System.EventHandler(this.toolStripButton1_Click);
|
||||
//
|
||||
// bs
|
||||
//
|
||||
this.bs.DataMember = "Holyday";
|
||||
this.bs.DataSource = this.dsMSSQL;
|
||||
//
|
||||
// dsMSSQL
|
||||
//
|
||||
this.dsMSSQL.DataSetName = "dsMSSQL";
|
||||
this.dsMSSQL.SchemaSerializationMode = System.Data.SchemaSerializationMode.IncludeSchema;
|
||||
//
|
||||
// tam
|
||||
//
|
||||
this.tam.BackupDataSetBeforeUpdate = false;
|
||||
this.tam.BoardTableAdapter = null;
|
||||
this.tam.HolydayTableAdapter = this.ta;
|
||||
this.tam.minutesTableAdapter = null;
|
||||
this.tam.UpdateOrder = FBS0000.dsMSSQLTableAdapters.TableAdapterManager.UpdateOrderOption.InsertUpdateDelete;
|
||||
//
|
||||
// ta
|
||||
//
|
||||
this.ta.ClearBeforeFill = true;
|
||||
//
|
||||
// dvc_user
|
||||
// pdate
|
||||
//
|
||||
this.dvc_user.DataPropertyName = "uid";
|
||||
dataGridViewCellStyle1.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleCenter;
|
||||
this.dvc_user.DefaultCellStyle = dataGridViewCellStyle1;
|
||||
this.dvc_user.HeaderText = "사용자";
|
||||
this.dvc_user.Name = "dvc_user";
|
||||
this.dvc_user.ReadOnly = true;
|
||||
this.dvc_user.Resizable = System.Windows.Forms.DataGridViewTriState.True;
|
||||
this.dvc_user.SortMode = System.Windows.Forms.DataGridViewColumnSortMode.Automatic;
|
||||
this.pdate.DataPropertyName = "pdate";
|
||||
this.pdate.HeaderText = "등록일";
|
||||
this.pdate.Name = "pdate";
|
||||
this.pdate.ReadOnly = true;
|
||||
//
|
||||
// dvc_cate
|
||||
//
|
||||
this.dvc_cate.DataPropertyName = "cate";
|
||||
dataGridViewCellStyle2.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleCenter;
|
||||
this.dvc_cate.DefaultCellStyle = dataGridViewCellStyle2;
|
||||
this.dvc_cate.HeaderText = "구분";
|
||||
this.dvc_cate.HeaderText = "cate";
|
||||
this.dvc_cate.Name = "dvc_cate";
|
||||
this.dvc_cate.ReadOnly = true;
|
||||
this.dvc_cate.Resizable = System.Windows.Forms.DataGridViewTriState.True;
|
||||
this.dvc_cate.SortMode = System.Windows.Forms.DataGridViewColumnSortMode.Automatic;
|
||||
//
|
||||
// sdateDataGridViewTextBoxColumn
|
||||
//
|
||||
this.sdateDataGridViewTextBoxColumn.DataPropertyName = "sdate";
|
||||
dataGridViewCellStyle3.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleCenter;
|
||||
this.sdateDataGridViewTextBoxColumn.DefaultCellStyle = dataGridViewCellStyle3;
|
||||
this.sdateDataGridViewTextBoxColumn.HeaderText = "시작일";
|
||||
this.sdateDataGridViewTextBoxColumn.Name = "sdateDataGridViewTextBoxColumn";
|
||||
this.sdateDataGridViewTextBoxColumn.ReadOnly = true;
|
||||
//
|
||||
// edateDataGridViewTextBoxColumn
|
||||
//
|
||||
this.edateDataGridViewTextBoxColumn.DataPropertyName = "edate";
|
||||
dataGridViewCellStyle4.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleCenter;
|
||||
this.edateDataGridViewTextBoxColumn.DefaultCellStyle = dataGridViewCellStyle4;
|
||||
this.edateDataGridViewTextBoxColumn.HeaderText = "종료일";
|
||||
this.edateDataGridViewTextBoxColumn.Name = "edateDataGridViewTextBoxColumn";
|
||||
this.edateDataGridViewTextBoxColumn.ReadOnly = true;
|
||||
this.dvc_cate.Visible = false;
|
||||
//
|
||||
// termDataGridViewTextBoxColumn
|
||||
//
|
||||
this.termDataGridViewTextBoxColumn.DataPropertyName = "term";
|
||||
dataGridViewCellStyle5.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleCenter;
|
||||
this.termDataGridViewTextBoxColumn.DefaultCellStyle = dataGridViewCellStyle5;
|
||||
dataGridViewCellStyle1.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleCenter;
|
||||
this.termDataGridViewTextBoxColumn.DefaultCellStyle = dataGridViewCellStyle1;
|
||||
this.termDataGridViewTextBoxColumn.HeaderText = "사용";
|
||||
this.termDataGridViewTextBoxColumn.Name = "termDataGridViewTextBoxColumn";
|
||||
this.termDataGridViewTextBoxColumn.ReadOnly = true;
|
||||
@@ -422,17 +412,6 @@
|
||||
this.termDr.Name = "termDr";
|
||||
this.termDr.ReadOnly = true;
|
||||
//
|
||||
// dvc_result
|
||||
//
|
||||
this.dvc_result.DataPropertyName = "result";
|
||||
dataGridViewCellStyle6.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleCenter;
|
||||
this.dvc_result.DefaultCellStyle = dataGridViewCellStyle6;
|
||||
this.dvc_result.HeaderText = "결과";
|
||||
this.dvc_result.Name = "dvc_result";
|
||||
this.dvc_result.ReadOnly = true;
|
||||
this.dvc_result.Resizable = System.Windows.Forms.DataGridViewTriState.True;
|
||||
this.dvc_result.SortMode = System.Windows.Forms.DataGridViewColumnSortMode.Automatic;
|
||||
//
|
||||
// contents
|
||||
//
|
||||
this.contents.AutoSizeMode = System.Windows.Forms.DataGridViewAutoSizeColumnMode.Fill;
|
||||
@@ -441,51 +420,6 @@
|
||||
this.contents.Name = "contents";
|
||||
this.contents.ReadOnly = true;
|
||||
//
|
||||
// toolStripSeparator1
|
||||
//
|
||||
this.toolStripSeparator1.Name = "toolStripSeparator1";
|
||||
this.toolStripSeparator1.Size = new System.Drawing.Size(6, 31);
|
||||
//
|
||||
// sbGen
|
||||
//
|
||||
this.sbGen.Font = new System.Drawing.Font("맑은 고딕", 12F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(129)));
|
||||
this.sbGen.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(0)))), ((int)(((byte)(0)))), ((int)(((byte)(192)))));
|
||||
this.sbGen.Name = "sbGen";
|
||||
this.sbGen.Size = new System.Drawing.Size(19, 28);
|
||||
this.sbGen.Text = "0";
|
||||
//
|
||||
// toolStripLabel5
|
||||
//
|
||||
this.toolStripLabel5.Name = "toolStripLabel5";
|
||||
this.toolStripLabel5.Size = new System.Drawing.Size(31, 28);
|
||||
this.toolStripLabel5.Text = "발생";
|
||||
//
|
||||
// sbUse
|
||||
//
|
||||
this.sbUse.Font = new System.Drawing.Font("맑은 고딕", 12F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(129)));
|
||||
this.sbUse.Name = "sbUse";
|
||||
this.sbUse.Size = new System.Drawing.Size(19, 28);
|
||||
this.sbUse.Text = "0";
|
||||
//
|
||||
// toolStripLabel7
|
||||
//
|
||||
this.toolStripLabel7.Name = "toolStripLabel7";
|
||||
this.toolStripLabel7.Size = new System.Drawing.Size(31, 28);
|
||||
this.toolStripLabel7.Text = "사용";
|
||||
//
|
||||
// toolStripLabel8
|
||||
//
|
||||
this.toolStripLabel8.Name = "toolStripLabel8";
|
||||
this.toolStripLabel8.Size = new System.Drawing.Size(31, 28);
|
||||
this.toolStripLabel8.Text = "잔량";
|
||||
//
|
||||
// sbJan
|
||||
//
|
||||
this.sbJan.Font = new System.Drawing.Font("맑은 고딕", 12F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(129)));
|
||||
this.sbJan.Name = "sbJan";
|
||||
this.sbJan.Size = new System.Drawing.Size(19, 28);
|
||||
this.sbJan.Text = "0";
|
||||
//
|
||||
// fHolyday
|
||||
//
|
||||
this.AutoScaleDimensions = new System.Drawing.SizeF(7F, 12F);
|
||||
@@ -495,17 +429,17 @@
|
||||
this.Controls.Add(this.toolStrip1);
|
||||
this.Controls.Add(this.bn);
|
||||
this.Name = "fHolyday";
|
||||
this.Text = "Holiday List";
|
||||
this.Text = "휴가 사용 내역";
|
||||
this.Load += new System.EventHandler(this.@__Load);
|
||||
((System.ComponentModel.ISupportInitialize)(this.bn)).EndInit();
|
||||
this.bn.ResumeLayout(false);
|
||||
this.bn.PerformLayout();
|
||||
((System.ComponentModel.ISupportInitialize)(this.bs)).EndInit();
|
||||
((System.ComponentModel.ISupportInitialize)(this.dsMSSQL)).EndInit();
|
||||
((System.ComponentModel.ISupportInitialize)(this.dv1)).EndInit();
|
||||
this.cm1.ResumeLayout(false);
|
||||
this.toolStrip1.ResumeLayout(false);
|
||||
this.toolStrip1.PerformLayout();
|
||||
((System.ComponentModel.ISupportInitialize)(this.bs)).EndInit();
|
||||
((System.ComponentModel.ISupportInitialize)(this.dsMSSQL)).EndInit();
|
||||
this.ResumeLayout(false);
|
||||
this.PerformLayout();
|
||||
|
||||
@@ -515,7 +449,6 @@
|
||||
|
||||
private dsMSSQL dsMSSQL;
|
||||
private System.Windows.Forms.BindingSource bs;
|
||||
private dsMSSQLTableAdapters.TableAdapterManager tam;
|
||||
private System.Windows.Forms.BindingNavigator bn;
|
||||
private System.Windows.Forms.ToolStripButton bindingNavigatorAddNewItem;
|
||||
private System.Windows.Forms.ToolStripLabel bindingNavigatorCountItem;
|
||||
@@ -528,9 +461,7 @@
|
||||
private System.Windows.Forms.ToolStripButton bindingNavigatorMoveNextItem;
|
||||
private System.Windows.Forms.ToolStripButton bindingNavigatorMoveLastItem;
|
||||
private System.Windows.Forms.ToolStripSeparator bindingNavigatorSeparator2;
|
||||
private System.Windows.Forms.ToolStripButton boardBindingNavigatorSaveItem;
|
||||
private System.Windows.Forms.DataGridView dv1;
|
||||
private dsMSSQLTableAdapters.HolydayTableAdapter ta;
|
||||
private System.Windows.Forms.ToolStrip toolStrip1;
|
||||
private System.Windows.Forms.ToolStripLabel toolStripLabel1;
|
||||
private System.Windows.Forms.ToolStripTextBox tbSD;
|
||||
@@ -543,14 +474,6 @@
|
||||
private System.Windows.Forms.ToolStripMenuItem autoResizeComlumnsToolStripMenuItem;
|
||||
private System.Windows.Forms.ToolStripMenuItem sendToMailToolStripMenuItem;
|
||||
private System.Windows.Forms.ToolStripSeparator toolStripMenuItem1;
|
||||
private System.Windows.Forms.DataGridViewComboBoxColumn dvc_user;
|
||||
private System.Windows.Forms.DataGridViewComboBoxColumn dvc_cate;
|
||||
private System.Windows.Forms.DataGridViewTextBoxColumn sdateDataGridViewTextBoxColumn;
|
||||
private System.Windows.Forms.DataGridViewTextBoxColumn edateDataGridViewTextBoxColumn;
|
||||
private System.Windows.Forms.DataGridViewTextBoxColumn termDataGridViewTextBoxColumn;
|
||||
private System.Windows.Forms.DataGridViewTextBoxColumn termDr;
|
||||
private System.Windows.Forms.DataGridViewComboBoxColumn dvc_result;
|
||||
private System.Windows.Forms.DataGridViewTextBoxColumn contents;
|
||||
private System.Windows.Forms.ToolStripSeparator toolStripSeparator1;
|
||||
private System.Windows.Forms.ToolStripLabel toolStripLabel7;
|
||||
private System.Windows.Forms.ToolStripLabel sbUse;
|
||||
@@ -558,5 +481,11 @@
|
||||
private System.Windows.Forms.ToolStripLabel sbGen;
|
||||
private System.Windows.Forms.ToolStripLabel toolStripLabel8;
|
||||
private System.Windows.Forms.ToolStripLabel sbJan;
|
||||
private dsMSSQLTableAdapters.vHoliday_uselistTableAdapter ta;
|
||||
private System.Windows.Forms.DataGridViewTextBoxColumn pdate;
|
||||
private System.Windows.Forms.DataGridViewTextBoxColumn dvc_cate;
|
||||
private System.Windows.Forms.DataGridViewTextBoxColumn termDataGridViewTextBoxColumn;
|
||||
private System.Windows.Forms.DataGridViewTextBoxColumn termDr;
|
||||
private System.Windows.Forms.DataGridViewTextBoxColumn contents;
|
||||
}
|
||||
}
|
||||
@@ -17,28 +17,39 @@ namespace FBS0000
|
||||
public fHolyday()
|
||||
{
|
||||
InitializeComponent();
|
||||
this.dsMSSQL.Holyday.TableNewRow += Holyday_TableNewRow;
|
||||
this.dsMSSQL.vHoliday_uselist.TableNewRow += Holyday_TableNewRow;
|
||||
this.dv1.CellFormatting += dv1_CellFormatting;
|
||||
}
|
||||
|
||||
void dv1_CellFormatting(object sender, DataGridViewCellFormattingEventArgs e)
|
||||
{
|
||||
if (e.RowIndex < 0 || e.ColumnIndex < 0) return;
|
||||
var col = this.dv1.Columns[e.ColumnIndex];
|
||||
var cate = dv1.Rows[e.RowIndex].Cells["dvc_cate"].Value.ToString();
|
||||
if (cate == "0") dv1.Rows[e.RowIndex].DefaultCellStyle.ForeColor = Color.Blue;// = Color.Gray;
|
||||
else dv1.Rows[e.RowIndex].DefaultCellStyle.ForeColor = Color.Black;
|
||||
}
|
||||
|
||||
private void __Load(object sender, EventArgs e)
|
||||
{
|
||||
|
||||
tbSD.Text = DateTime.Now.Year.ToString("0000") + "-01-01";
|
||||
tbED.Text = DateTime.Now.AddDays(10).ToShortDateString();
|
||||
|
||||
var userlist = FCOMMON.DBM.getUserTable();
|
||||
dvc_user.DataSource = userlist;
|
||||
dvc_user.ValueMember = "Key";
|
||||
dvc_user.DisplayMember = "Value";
|
||||
//var userlist = FCOMMON.DBM.getUserTable();
|
||||
//dvc_user.DataSource = userlist;
|
||||
//dvc_user.ValueMember = "Key";
|
||||
//dvc_user.DisplayMember = "Value";
|
||||
|
||||
var cateList = FCOMMON.DBM.getCodeTable("02");
|
||||
this.dvc_cate.DataSource = cateList;
|
||||
dvc_cate.ValueMember = "Key";
|
||||
dvc_cate.DisplayMember = "Value";
|
||||
//var cateList = FCOMMON.DBM.getCodeTable("02");
|
||||
//this.dvc_cate.DataSource = cateList;
|
||||
//dvc_cate.ValueMember = "Key";
|
||||
//dvc_cate.DisplayMember = "Value";
|
||||
|
||||
var rrltList = FCOMMON.DBM.getCodeTable("03");
|
||||
this.dvc_result.DataSource = rrltList;
|
||||
dvc_result.ValueMember = "Key";
|
||||
dvc_result.DisplayMember = "Value";
|
||||
//var rrltList = FCOMMON.DBM.getCodeTable("03");
|
||||
//this.dvc_result.DataSource = rrltList;
|
||||
//dvc_result.ValueMember = "Key";
|
||||
//dvc_result.DisplayMember = "Value";
|
||||
|
||||
//udpate user list
|
||||
var userList = FCOMMON.DBM.getUserList();
|
||||
@@ -51,7 +62,7 @@ namespace FBS0000
|
||||
if (user.Key == FCOMMON.info.Login.no) curuserindex = cmbUser.Items.Count - 1;
|
||||
}
|
||||
this.cmbUser.SelectedIndex = curuserindex;
|
||||
|
||||
|
||||
//일반사용자의경우에는 상태를 변경하지 못한다.
|
||||
int curLevel = Math.Max(FCOMMON.info.Login.level, FCOMMON.DBM.getAuth(FCOMMON.DBM.eAuthType.holyday));
|
||||
if (curLevel >= 5)
|
||||
@@ -71,11 +82,10 @@ namespace FBS0000
|
||||
e.Row["wuid"] = FCOMMON.info.Login.no;
|
||||
e.Row["uid"] = FCOMMON.info.Login.no;
|
||||
e.Row["wdate"] = DateTime.Now;
|
||||
e.Row["cate"] = "10"; //기본 신청
|
||||
e.Row["sdate"] = DateTime.Now.ToShortDateString();
|
||||
e.Row["edate"] = DateTime.Now.ToShortDateString();
|
||||
e.Row["term"] = 1.0f;
|
||||
e.Row["Result"] = "00";
|
||||
e.Row["cate"] = "0"; //기본 신청
|
||||
e.Row["pdate"] = DateTime.Now;
|
||||
e.Row["termDr"] = 1.0f;
|
||||
e.Row["contents"] = string.Empty;
|
||||
}
|
||||
|
||||
|
||||
@@ -87,24 +97,25 @@ namespace FBS0000
|
||||
{
|
||||
uid = cmbUser.Text.Substring(1, cmbUser.Text.IndexOf(']') - 1);
|
||||
}
|
||||
this.ta.Fill(this.dsMSSQL.Holyday, tbSD.Text, tbED.Text, uid);
|
||||
var sd = DateTime.Parse(tbSD.Text + " 00:00:00");
|
||||
var ed = DateTime.Parse(tbED.Text + " 23:59:59");
|
||||
this.ta.Fill(this.dsMSSQL.vHoliday_uselist,uid,tbSD.Text,tbED.Text,FCOMMON.info.Login.gcode);
|
||||
|
||||
|
||||
//잔량계산
|
||||
double sumdr = 0;
|
||||
double sumcr = 0;
|
||||
double jan = 0;
|
||||
foreach( dsMSSQL.HolydayRow dr in this.dsMSSQL.Holyday.Rows)
|
||||
{
|
||||
if (dr.RowState == DataRowState.Deleted || dr.RowState == DataRowState.Detached) continue;
|
||||
sumdr += dr.termDr;
|
||||
sumcr += dr.term;
|
||||
}
|
||||
jan = sumdr - sumcr;
|
||||
double sumdr = this.dsMSSQL.vHoliday_uselist.Sum(t => t.termDr);
|
||||
double sumcr = this.dsMSSQL.vHoliday_uselist.Sum(t => t.term);
|
||||
double jan = sumdr - sumcr;
|
||||
sbGen.Text = sumdr.ToString("N0");
|
||||
sbUse.Text = sumcr.ToString("N0");
|
||||
sbJan.Text = jan.ToString("N0");
|
||||
if (jan < 0) sbJan.ForeColor = Color.Red;
|
||||
else sbJan.ForeColor = Color.Blue;
|
||||
sbJan.Text = jan.ToString("N0");
|
||||
if (jan < 0) sbJan.ForeColor = Color.Red;
|
||||
else sbJan.ForeColor = Color.Blue;
|
||||
|
||||
//색상변경
|
||||
|
||||
|
||||
this.dv1.AutoResizeColumns();
|
||||
}
|
||||
private void boardBindingNavigatorSaveItem_Click(object sender, EventArgs e)
|
||||
{
|
||||
@@ -114,27 +125,21 @@ namespace FBS0000
|
||||
if (dlg != System.Windows.Forms.DialogResult.Yes) return;
|
||||
try
|
||||
{
|
||||
this.tam.UpdateAll(this.dsMSSQL);
|
||||
} catch (Exception ex)
|
||||
|
||||
}
|
||||
catch (Exception ex)
|
||||
{
|
||||
FCOMMON.Util.MsgE(ex.Message);
|
||||
}
|
||||
|
||||
|
||||
}
|
||||
|
||||
private void bindingNavigatorAddNewItem_Click(object sender, EventArgs e)
|
||||
{
|
||||
var newdr = this.dsMSSQL.Holyday.NewHolydayRow();
|
||||
var f = new fHolyday_Add(newdr);
|
||||
if (f.ShowDialog() != System.Windows.Forms.DialogResult.OK)
|
||||
|
||||
var f = new fHolyday_Add();
|
||||
if (f.ShowDialog() == System.Windows.Forms.DialogResult.OK)
|
||||
{
|
||||
newdr.Delete();
|
||||
}
|
||||
else
|
||||
{
|
||||
newdr.EndEdit();
|
||||
this.dsMSSQL.Holyday.AddHolydayRow(newdr);
|
||||
RefreshData();
|
||||
}
|
||||
}
|
||||
|
||||
@@ -152,12 +157,21 @@ namespace FBS0000
|
||||
{
|
||||
var drv = this.bs.Current as DataRowView;
|
||||
if (drv == null) return;
|
||||
var dr = drv.Row as dsMSSQL.HolydayRow;
|
||||
var f = new fHolyday_Add(dr);
|
||||
if(f.ShowDialog() != System.Windows.Forms.DialogResult.OK)
|
||||
var dr = drv.Row as dsMSSQL.vHoliday_uselistRow;
|
||||
if(dr.cate == "0")
|
||||
{
|
||||
dr.RejectChanges();
|
||||
var f = new fHolyday_Add(dr.idx);
|
||||
if (f.ShowDialog() == System.Windows.Forms.DialogResult.OK)
|
||||
{
|
||||
RefreshData();
|
||||
}
|
||||
}
|
||||
else
|
||||
{
|
||||
FCOMMON.Util.MsgI("이 데이터는 업무일지의 데이터가 입니다.\n\n" +
|
||||
"변경하려면 업무일지의 자료를 수정하세요" );
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
private void toolStripButton1_Click(object sender, EventArgs e)
|
||||
@@ -168,10 +182,10 @@ namespace FBS0000
|
||||
private void tbSD_KeyDown(object sender, KeyEventArgs e)
|
||||
{
|
||||
var tb = sender as ToolStripTextBox;
|
||||
if(e.KeyCode == Keys.Enter)
|
||||
if (e.KeyCode == Keys.Enter)
|
||||
{
|
||||
string datestring ;
|
||||
if(FCOMMON.Util.MakeDateString(tb.Text,out datestring))
|
||||
string datestring;
|
||||
if (FCOMMON.Util.MakeDateString(tb.Text, out datestring))
|
||||
{
|
||||
tb.Text = datestring;
|
||||
SendKeys.Send("{TAB}");
|
||||
@@ -193,7 +207,7 @@ namespace FBS0000
|
||||
|
||||
Outlook.Application outlookApplication = new Outlook.Application();
|
||||
Outlook.MailItem newTask = outlookApplication.CreateItem(OlItemType.olMailItem) as Outlook.MailItem;
|
||||
newTask.Subject="mail test";
|
||||
newTask.Subject = "mail test";
|
||||
newTask.To = "Chikyun.Kim@amkor.co.kr";
|
||||
newTask.HTMLBody = "<i><b>this is test mail</b></i>";
|
||||
newTask.BodyFormat = OlBodyFormat.olFormatHTML;
|
||||
|
||||
@@ -118,7 +118,7 @@
|
||||
<value>System.Resources.ResXResourceWriter, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
|
||||
</resheader>
|
||||
<metadata name="bn.TrayLocation" type="System.Drawing.Point, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a">
|
||||
<value>259, 17</value>
|
||||
<value>186, 17</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>
|
||||
@@ -191,32 +191,25 @@
|
||||
rkJggg==
|
||||
</value>
|
||||
</data>
|
||||
<data name="boardBindingNavigatorSaveItem.Image" type="System.Drawing.Bitmap, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64">
|
||||
<value>
|
||||
iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAABGdBTUEAALGPC/xhBQAAAAlwSFlzAAAO
|
||||
wwAADsMBx2+oZAAAAExJREFUOE9joAr49u3bf1IxVCsEgAWC58Dxh/cf4RhZDETHTNiHaQgpBoAwzBCo
|
||||
dtINAGGiDUDGyGpoawAxeNSAQWkAORiqnRLAwAAA9EMMU8Daa3MAAAAASUVORK5CYII=
|
||||
</value>
|
||||
</data>
|
||||
<metadata name="termDr.UserAddedColumn" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
|
||||
<metadata name="pdate.UserAddedColumn" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
|
||||
<value>True</value>
|
||||
</metadata>
|
||||
<metadata name="dvc_result.UserAddedColumn" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
|
||||
<metadata name="dvc_cate.UserAddedColumn" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
|
||||
<value>True</value>
|
||||
</metadata>
|
||||
<metadata name="termDr.UserAddedColumn" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
|
||||
<value>True</value>
|
||||
</metadata>
|
||||
<metadata name="contents.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>493, 17</value>
|
||||
<value>358, 17</value>
|
||||
</metadata>
|
||||
<metadata name="toolStrip1.TrayLocation" type="System.Drawing.Point, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a">
|
||||
<value>387, 17</value>
|
||||
</metadata>
|
||||
<metadata name="tam.TrayLocation" type="System.Drawing.Point, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a">
|
||||
<value>186, 17</value>
|
||||
<value>252, 17</value>
|
||||
</metadata>
|
||||
<metadata name="ta.TrayLocation" type="System.Drawing.Point, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a">
|
||||
<value>325, 17</value>
|
||||
<value>433, 17</value>
|
||||
</metadata>
|
||||
</root>
|
||||
215
SubProject/FBS0000/Holiday/fHolyday_Add.Designer.cs
generated
215
SubProject/FBS0000/Holiday/fHolyday_Add.Designer.cs
generated
@@ -29,112 +29,58 @@
|
||||
private void InitializeComponent()
|
||||
{
|
||||
this.components = new System.ComponentModel.Container();
|
||||
System.Windows.Forms.Label cateLabel;
|
||||
System.Windows.Forms.Label resutLabel;
|
||||
System.Windows.Forms.Label sdateLabel;
|
||||
System.Windows.Forms.Label edateLabel;
|
||||
System.Windows.Forms.Label contentsLabel;
|
||||
System.Windows.Forms.Label uidLabel;
|
||||
System.Windows.Forms.Label tolistLabel;
|
||||
System.Windows.Forms.Label label1;
|
||||
this.dsMSSQL = new FBS0000.dsMSSQL();
|
||||
this.bs = new System.Windows.Forms.BindingSource(this.components);
|
||||
this.ta = new FBS0000.dsMSSQLTableAdapters.HolydayTableAdapter();
|
||||
this.tam = new FBS0000.dsMSSQLTableAdapters.TableAdapterManager();
|
||||
this.contentsTextBox = new System.Windows.Forms.TextBox();
|
||||
this.tolistTextBox = new System.Windows.Forms.TextBox();
|
||||
this.mailCheckBox = new System.Windows.Forms.CheckBox();
|
||||
this.reasonTextBox = new System.Windows.Forms.TextBox();
|
||||
this.dateTimePicker1 = new System.Windows.Forms.DateTimePicker();
|
||||
this.dateTimePicker2 = new System.Windows.Forms.DateTimePicker();
|
||||
this.cmbCate = new System.Windows.Forms.ComboBox();
|
||||
this.cmbUser = new System.Windows.Forms.ComboBox();
|
||||
this.cmbRlt = new System.Windows.Forms.ComboBox();
|
||||
this.btOK = new System.Windows.Forms.Button();
|
||||
this.numericUpDown1 = new System.Windows.Forms.NumericUpDown();
|
||||
this.numericUpDown2 = new System.Windows.Forms.NumericUpDown();
|
||||
cateLabel = new System.Windows.Forms.Label();
|
||||
resutLabel = new System.Windows.Forms.Label();
|
||||
sdateLabel = new System.Windows.Forms.Label();
|
||||
edateLabel = new System.Windows.Forms.Label();
|
||||
contentsLabel = new System.Windows.Forms.Label();
|
||||
uidLabel = new System.Windows.Forms.Label();
|
||||
tolistLabel = new System.Windows.Forms.Label();
|
||||
label1 = new System.Windows.Forms.Label();
|
||||
((System.ComponentModel.ISupportInitialize)(this.dsMSSQL)).BeginInit();
|
||||
((System.ComponentModel.ISupportInitialize)(this.bs)).BeginInit();
|
||||
((System.ComponentModel.ISupportInitialize)(this.numericUpDown1)).BeginInit();
|
||||
((System.ComponentModel.ISupportInitialize)(this.numericUpDown2)).BeginInit();
|
||||
this.SuspendLayout();
|
||||
//
|
||||
// cateLabel
|
||||
//
|
||||
cateLabel.AutoSize = true;
|
||||
cateLabel.Location = new System.Drawing.Point(12, 73);
|
||||
cateLabel.Margin = new System.Windows.Forms.Padding(4, 0, 4, 0);
|
||||
cateLabel.Name = "cateLabel";
|
||||
cateLabel.Size = new System.Drawing.Size(72, 19);
|
||||
cateLabel.TabIndex = 4;
|
||||
cateLabel.Text = "Category";
|
||||
//
|
||||
// resutLabel
|
||||
//
|
||||
resutLabel.AutoSize = true;
|
||||
resutLabel.Location = new System.Drawing.Point(372, 9);
|
||||
resutLabel.Margin = new System.Windows.Forms.Padding(4, 0, 4, 0);
|
||||
resutLabel.Name = "resutLabel";
|
||||
resutLabel.Size = new System.Drawing.Size(54, 19);
|
||||
resutLabel.TabIndex = 6;
|
||||
resutLabel.Text = "Resut:";
|
||||
//
|
||||
// sdateLabel
|
||||
//
|
||||
sdateLabel.AutoSize = true;
|
||||
sdateLabel.Location = new System.Drawing.Point(42, 107);
|
||||
sdateLabel.Location = new System.Drawing.Point(38, 50);
|
||||
sdateLabel.Margin = new System.Windows.Forms.Padding(4, 0, 4, 0);
|
||||
sdateLabel.Name = "sdateLabel";
|
||||
sdateLabel.Size = new System.Drawing.Size(42, 19);
|
||||
sdateLabel.TabIndex = 8;
|
||||
sdateLabel.TabIndex = 2;
|
||||
sdateLabel.Text = "Start";
|
||||
//
|
||||
// edateLabel
|
||||
//
|
||||
edateLabel.AutoSize = true;
|
||||
edateLabel.Location = new System.Drawing.Point(48, 140);
|
||||
edateLabel.Margin = new System.Windows.Forms.Padding(4, 0, 4, 0);
|
||||
edateLabel.Name = "edateLabel";
|
||||
edateLabel.Size = new System.Drawing.Size(36, 19);
|
||||
edateLabel.TabIndex = 10;
|
||||
edateLabel.Text = "End";
|
||||
//
|
||||
// contentsLabel
|
||||
//
|
||||
contentsLabel.AutoSize = true;
|
||||
contentsLabel.Location = new System.Drawing.Point(21, 173);
|
||||
contentsLabel.Location = new System.Drawing.Point(17, 83);
|
||||
contentsLabel.Margin = new System.Windows.Forms.Padding(4, 0, 4, 0);
|
||||
contentsLabel.Name = "contentsLabel";
|
||||
contentsLabel.Size = new System.Drawing.Size(63, 19);
|
||||
contentsLabel.TabIndex = 16;
|
||||
contentsLabel.TabIndex = 4;
|
||||
contentsLabel.Text = "Remark";
|
||||
//
|
||||
// uidLabel
|
||||
//
|
||||
uidLabel.AutoSize = true;
|
||||
uidLabel.Location = new System.Drawing.Point(43, 41);
|
||||
uidLabel.Location = new System.Drawing.Point(39, 16);
|
||||
uidLabel.Margin = new System.Windows.Forms.Padding(4, 0, 4, 0);
|
||||
uidLabel.Name = "uidLabel";
|
||||
uidLabel.Size = new System.Drawing.Size(41, 19);
|
||||
uidLabel.TabIndex = 18;
|
||||
uidLabel.TabIndex = 0;
|
||||
uidLabel.Text = "User";
|
||||
//
|
||||
// tolistLabel
|
||||
//
|
||||
tolistLabel.AutoSize = true;
|
||||
tolistLabel.Location = new System.Drawing.Point(18, 364);
|
||||
tolistLabel.Margin = new System.Windows.Forms.Padding(4, 0, 4, 0);
|
||||
tolistLabel.Name = "tolistLabel";
|
||||
tolistLabel.Size = new System.Drawing.Size(66, 19);
|
||||
tolistLabel.TabIndex = 20;
|
||||
tolistLabel.Text = "Mail List";
|
||||
//
|
||||
// dsMSSQL
|
||||
//
|
||||
this.dsMSSQL.DataSetName = "dsMSSQL";
|
||||
@@ -160,171 +106,87 @@
|
||||
// contentsTextBox
|
||||
//
|
||||
this.contentsTextBox.DataBindings.Add(new System.Windows.Forms.Binding("Text", this.bs, "contents", true));
|
||||
this.contentsTextBox.Location = new System.Drawing.Point(91, 170);
|
||||
this.contentsTextBox.Location = new System.Drawing.Point(87, 80);
|
||||
this.contentsTextBox.Margin = new System.Windows.Forms.Padding(4, 5, 4, 5);
|
||||
this.contentsTextBox.Multiline = true;
|
||||
this.contentsTextBox.Name = "contentsTextBox";
|
||||
this.contentsTextBox.ScrollBars = System.Windows.Forms.ScrollBars.Vertical;
|
||||
this.contentsTextBox.Size = new System.Drawing.Size(301, 145);
|
||||
this.contentsTextBox.TabIndex = 17;
|
||||
//
|
||||
// tolistTextBox
|
||||
//
|
||||
this.tolistTextBox.DataBindings.Add(new System.Windows.Forms.Binding("Text", this.bs, "tolist", true));
|
||||
this.tolistTextBox.Location = new System.Drawing.Point(91, 360);
|
||||
this.tolistTextBox.Margin = new System.Windows.Forms.Padding(4, 5, 4, 5);
|
||||
this.tolistTextBox.Name = "tolistTextBox";
|
||||
this.tolistTextBox.Size = new System.Drawing.Size(301, 27);
|
||||
this.tolistTextBox.TabIndex = 21;
|
||||
//
|
||||
// mailCheckBox
|
||||
//
|
||||
this.mailCheckBox.DataBindings.Add(new System.Windows.Forms.Binding("CheckState", this.bs, "mail", true));
|
||||
this.mailCheckBox.Location = new System.Drawing.Point(91, 324);
|
||||
this.mailCheckBox.Margin = new System.Windows.Forms.Padding(4, 5, 4, 5);
|
||||
this.mailCheckBox.Name = "mailCheckBox";
|
||||
this.mailCheckBox.Size = new System.Drawing.Size(257, 38);
|
||||
this.mailCheckBox.TabIndex = 23;
|
||||
this.mailCheckBox.Text = "Send Mail";
|
||||
this.mailCheckBox.UseVisualStyleBackColor = true;
|
||||
//
|
||||
// reasonTextBox
|
||||
//
|
||||
this.reasonTextBox.DataBindings.Add(new System.Windows.Forms.Binding("Text", this.bs, "reason", true));
|
||||
this.reasonTextBox.Location = new System.Drawing.Point(408, 121);
|
||||
this.reasonTextBox.Margin = new System.Windows.Forms.Padding(4, 5, 4, 5);
|
||||
this.reasonTextBox.Multiline = true;
|
||||
this.reasonTextBox.Name = "reasonTextBox";
|
||||
this.reasonTextBox.ScrollBars = System.Windows.Forms.ScrollBars.Vertical;
|
||||
this.reasonTextBox.Size = new System.Drawing.Size(279, 266);
|
||||
this.reasonTextBox.TabIndex = 27;
|
||||
this.contentsTextBox.Size = new System.Drawing.Size(301, 110);
|
||||
this.contentsTextBox.TabIndex = 5;
|
||||
//
|
||||
// dateTimePicker1
|
||||
//
|
||||
this.dateTimePicker1.DataBindings.Add(new System.Windows.Forms.Binding("Value", this.bs, "sdate", true));
|
||||
this.dateTimePicker1.Location = new System.Drawing.Point(91, 102);
|
||||
this.dateTimePicker1.Location = new System.Drawing.Point(87, 45);
|
||||
this.dateTimePicker1.Name = "dateTimePicker1";
|
||||
this.dateTimePicker1.Size = new System.Drawing.Size(301, 27);
|
||||
this.dateTimePicker1.TabIndex = 28;
|
||||
this.dateTimePicker1.TabIndex = 3;
|
||||
this.dateTimePicker1.ValueChanged += new System.EventHandler(this.dateTimePicker1_ValueChanged);
|
||||
//
|
||||
// dateTimePicker2
|
||||
//
|
||||
this.dateTimePicker2.DataBindings.Add(new System.Windows.Forms.Binding("Value", this.bs, "edate", true));
|
||||
this.dateTimePicker2.Location = new System.Drawing.Point(91, 135);
|
||||
this.dateTimePicker2.Name = "dateTimePicker2";
|
||||
this.dateTimePicker2.Size = new System.Drawing.Size(301, 27);
|
||||
this.dateTimePicker2.TabIndex = 29;
|
||||
this.dateTimePicker2.ValueChanged += new System.EventHandler(this.dateTimePicker2_ValueChanged);
|
||||
//
|
||||
// cmbCate
|
||||
//
|
||||
this.cmbCate.DataBindings.Add(new System.Windows.Forms.Binding("SelectedValue", this.bs, "cate", true));
|
||||
this.cmbCate.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList;
|
||||
this.cmbCate.FormattingEnabled = true;
|
||||
this.cmbCate.Location = new System.Drawing.Point(91, 69);
|
||||
this.cmbCate.Name = "cmbCate";
|
||||
this.cmbCate.Size = new System.Drawing.Size(301, 27);
|
||||
this.cmbCate.TabIndex = 32;
|
||||
//
|
||||
// cmbUser
|
||||
//
|
||||
this.cmbUser.DataBindings.Add(new System.Windows.Forms.Binding("SelectedValue", this.bs, "uid", true));
|
||||
this.cmbUser.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList;
|
||||
this.cmbUser.FormattingEnabled = true;
|
||||
this.cmbUser.Location = new System.Drawing.Point(91, 37);
|
||||
this.cmbUser.Location = new System.Drawing.Point(87, 12);
|
||||
this.cmbUser.Name = "cmbUser";
|
||||
this.cmbUser.Size = new System.Drawing.Size(301, 27);
|
||||
this.cmbUser.TabIndex = 33;
|
||||
//
|
||||
// cmbRlt
|
||||
//
|
||||
this.cmbRlt.DataBindings.Add(new System.Windows.Forms.Binding("SelectedValue", this.bs, "result", true));
|
||||
this.cmbRlt.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList;
|
||||
this.cmbRlt.FormattingEnabled = true;
|
||||
this.cmbRlt.Location = new System.Drawing.Point(409, 89);
|
||||
this.cmbRlt.Name = "cmbRlt";
|
||||
this.cmbRlt.Size = new System.Drawing.Size(278, 27);
|
||||
this.cmbRlt.TabIndex = 34;
|
||||
this.cmbUser.TabIndex = 1;
|
||||
//
|
||||
// btOK
|
||||
//
|
||||
this.btOK.Location = new System.Drawing.Point(91, 399);
|
||||
this.btOK.Location = new System.Drawing.Point(87, 233);
|
||||
this.btOK.Name = "btOK";
|
||||
this.btOK.Size = new System.Drawing.Size(596, 38);
|
||||
this.btOK.TabIndex = 35;
|
||||
this.btOK.Size = new System.Drawing.Size(301, 38);
|
||||
this.btOK.TabIndex = 8;
|
||||
this.btOK.Text = "OK";
|
||||
this.btOK.UseVisualStyleBackColor = true;
|
||||
this.btOK.Click += new System.EventHandler(this.btOK_Click);
|
||||
//
|
||||
// label1
|
||||
//
|
||||
label1.AutoSize = true;
|
||||
label1.Location = new System.Drawing.Point(38, 200);
|
||||
label1.Margin = new System.Windows.Forms.Padding(4, 0, 4, 0);
|
||||
label1.Name = "label1";
|
||||
label1.Size = new System.Drawing.Size(34, 19);
|
||||
label1.TabIndex = 6;
|
||||
label1.Text = "day";
|
||||
//
|
||||
// numericUpDown1
|
||||
//
|
||||
this.numericUpDown1.BackColor = System.Drawing.Color.HotPink;
|
||||
this.numericUpDown1.DecimalPlaces = 1;
|
||||
this.numericUpDown1.Font = new System.Drawing.Font("Tahoma", 24F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
|
||||
this.numericUpDown1.Location = new System.Drawing.Point(409, 37);
|
||||
this.numericUpDown1.Maximum = new decimal(new int[] {
|
||||
99999,
|
||||
0,
|
||||
0,
|
||||
0});
|
||||
this.numericUpDown1.DataBindings.Add(new System.Windows.Forms.Binding("Value", this.bs, "termDr", true));
|
||||
this.numericUpDown1.Location = new System.Drawing.Point(87, 198);
|
||||
this.numericUpDown1.Name = "numericUpDown1";
|
||||
this.numericUpDown1.Size = new System.Drawing.Size(94, 46);
|
||||
this.numericUpDown1.TabIndex = 36;
|
||||
this.numericUpDown1.Size = new System.Drawing.Size(301, 27);
|
||||
this.numericUpDown1.TabIndex = 7;
|
||||
this.numericUpDown1.TextAlign = System.Windows.Forms.HorizontalAlignment.Center;
|
||||
//
|
||||
// numericUpDown2
|
||||
//
|
||||
this.numericUpDown2.BackColor = System.Drawing.Color.Lime;
|
||||
this.numericUpDown2.DecimalPlaces = 1;
|
||||
this.numericUpDown2.Font = new System.Drawing.Font("Tahoma", 24F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
|
||||
this.numericUpDown2.Location = new System.Drawing.Point(509, 37);
|
||||
this.numericUpDown2.Maximum = new decimal(new int[] {
|
||||
99999,
|
||||
0,
|
||||
0,
|
||||
0});
|
||||
this.numericUpDown2.Name = "numericUpDown2";
|
||||
this.numericUpDown2.Size = new System.Drawing.Size(94, 46);
|
||||
this.numericUpDown2.TabIndex = 37;
|
||||
this.numericUpDown2.TextAlign = System.Windows.Forms.HorizontalAlignment.Center;
|
||||
//
|
||||
// fHolyday_Add
|
||||
//
|
||||
this.AutoScaleDimensions = new System.Drawing.SizeF(9F, 19F);
|
||||
this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
|
||||
this.ClientSize = new System.Drawing.Size(704, 449);
|
||||
this.Controls.Add(this.numericUpDown2);
|
||||
this.ClientSize = new System.Drawing.Size(398, 280);
|
||||
this.Controls.Add(this.numericUpDown1);
|
||||
this.Controls.Add(label1);
|
||||
this.Controls.Add(this.btOK);
|
||||
this.Controls.Add(this.cmbRlt);
|
||||
this.Controls.Add(this.cmbUser);
|
||||
this.Controls.Add(this.cmbCate);
|
||||
this.Controls.Add(this.dateTimePicker2);
|
||||
this.Controls.Add(this.dateTimePicker1);
|
||||
this.Controls.Add(cateLabel);
|
||||
this.Controls.Add(resutLabel);
|
||||
this.Controls.Add(sdateLabel);
|
||||
this.Controls.Add(edateLabel);
|
||||
this.Controls.Add(contentsLabel);
|
||||
this.Controls.Add(this.contentsTextBox);
|
||||
this.Controls.Add(uidLabel);
|
||||
this.Controls.Add(tolistLabel);
|
||||
this.Controls.Add(this.tolistTextBox);
|
||||
this.Controls.Add(this.mailCheckBox);
|
||||
this.Controls.Add(this.reasonTextBox);
|
||||
this.Font = new System.Drawing.Font("Tahoma", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
|
||||
this.FormBorderStyle = System.Windows.Forms.FormBorderStyle.FixedDialog;
|
||||
this.Margin = new System.Windows.Forms.Padding(4, 5, 4, 5);
|
||||
this.MaximizeBox = false;
|
||||
this.MinimizeBox = false;
|
||||
this.Name = "fHolyday_Add";
|
||||
this.Text = "fHolyday_Add";
|
||||
this.Text = "휴가 발생 등록";
|
||||
this.Load += new System.EventHandler(this.@__Load);
|
||||
((System.ComponentModel.ISupportInitialize)(this.dsMSSQL)).EndInit();
|
||||
((System.ComponentModel.ISupportInitialize)(this.bs)).EndInit();
|
||||
((System.ComponentModel.ISupportInitialize)(this.numericUpDown1)).EndInit();
|
||||
((System.ComponentModel.ISupportInitialize)(this.numericUpDown2)).EndInit();
|
||||
this.ResumeLayout(false);
|
||||
this.PerformLayout();
|
||||
|
||||
@@ -337,16 +199,9 @@
|
||||
private dsMSSQLTableAdapters.HolydayTableAdapter ta;
|
||||
private dsMSSQLTableAdapters.TableAdapterManager tam;
|
||||
private System.Windows.Forms.TextBox contentsTextBox;
|
||||
private System.Windows.Forms.TextBox tolistTextBox;
|
||||
private System.Windows.Forms.CheckBox mailCheckBox;
|
||||
private System.Windows.Forms.TextBox reasonTextBox;
|
||||
private System.Windows.Forms.DateTimePicker dateTimePicker1;
|
||||
private System.Windows.Forms.DateTimePicker dateTimePicker2;
|
||||
private System.Windows.Forms.ComboBox cmbCate;
|
||||
private System.Windows.Forms.ComboBox cmbUser;
|
||||
private System.Windows.Forms.ComboBox cmbRlt;
|
||||
private System.Windows.Forms.Button btOK;
|
||||
private System.Windows.Forms.NumericUpDown numericUpDown1;
|
||||
private System.Windows.Forms.NumericUpDown numericUpDown2;
|
||||
}
|
||||
}
|
||||
@@ -13,24 +13,35 @@ namespace FBS0000
|
||||
{
|
||||
Boolean bInit = false;
|
||||
dsMSSQL.HolydayRow dr;
|
||||
public fHolyday_Add(dsMSSQL.HolydayRow dr_)
|
||||
|
||||
public fHolyday_Add(int idx)
|
||||
{
|
||||
InitializeComponent();
|
||||
dr = dr_;
|
||||
this.cmbCate.DataSource = FCOMMON.DBM.getCodeTable("02"); ;
|
||||
this.cmbCate.DisplayMember = "KeyValue";
|
||||
this.cmbCate.ValueMember = "Key";
|
||||
|
||||
this.cmbRlt.DataSource = FCOMMON.DBM.getCodeTable("03"); ;
|
||||
this.cmbRlt.DisplayMember = "KeyValue";
|
||||
this.cmbRlt.ValueMember = "Key";
|
||||
if(idx == -1)
|
||||
{
|
||||
dr = this.dsMSSQL.Holyday.NewHolydayRow();
|
||||
dr.sdate = DateTime.Parse( DateTime.Now.Year.ToString() + "-01-01");
|
||||
dr.edate = dr.sdate;
|
||||
dr.wuid = FCOMMON.info.Login.no;
|
||||
dr.wdate = DateTime.Now;
|
||||
dr.term = 0.0;
|
||||
dr.cate = "10";
|
||||
dr.gcode = FCOMMON.info.Login.gcode;
|
||||
dr.uid = FCOMMON.info.Login.no;
|
||||
this.dsMSSQL.Holyday.AddHolydayRow(dr);
|
||||
}
|
||||
else
|
||||
{
|
||||
ta.FillByIdx(this.dsMSSQL.Holyday, FCOMMON.info.Login.gcode, idx);
|
||||
this.dr = this.dsMSSQL.Holyday.Rows[0] as dsMSSQL.HolydayRow;
|
||||
}
|
||||
|
||||
this.cmbUser.DataSource = FCOMMON.DBM.getUserTable(); ;
|
||||
this.cmbUser.DisplayMember = "KeyValue";
|
||||
this.cmbUser.ValueMember = "Key";
|
||||
|
||||
this.cmbUser.DisplayMember = "dispName";
|
||||
this.cmbUser.ValueMember = "id";
|
||||
this.bs.DataSource = dr;
|
||||
}
|
||||
public fHolyday_Add() : this(-1) { }
|
||||
|
||||
|
||||
private void __Load(object sender, EventArgs e)
|
||||
@@ -40,32 +51,47 @@ namespace FBS0000
|
||||
|
||||
private void btOK_Click(object sender, EventArgs e)
|
||||
{
|
||||
this.Invalidate();
|
||||
//기본값처리
|
||||
|
||||
|
||||
this.Validate();
|
||||
this.bs.EndEdit();
|
||||
if(dr.cate.CompareTo("20") >= 0)
|
||||
this.dr.EndEdit();
|
||||
|
||||
try
|
||||
{
|
||||
dr.term *= -1;
|
||||
dr.EndEdit();
|
||||
|
||||
this.ta.Update(this.dr);
|
||||
dr.AcceptChanges();
|
||||
DialogResult = System.Windows.Forms.DialogResult.OK;
|
||||
}
|
||||
DialogResult = System.Windows.Forms.DialogResult.OK;
|
||||
catch (Exception eX)
|
||||
{
|
||||
FCOMMON.Util.MsgE(eX.Message);
|
||||
}
|
||||
|
||||
|
||||
|
||||
}
|
||||
|
||||
private void dateTimePicker1_ValueChanged(object sender, EventArgs e)
|
||||
{
|
||||
if (!bInit) return;
|
||||
if(dateTimePicker1.Value > this.dateTimePicker2.Value)
|
||||
this.dateTimePicker2.Value = dateTimePicker1.Value;
|
||||
RefreshTerm();
|
||||
|
||||
|
||||
//if(dateTimePicker1.Value > this.dateTimePicker2.Value)
|
||||
// this.dateTimePicker2.Value = dateTimePicker1.Value;
|
||||
//RefreshTerm();
|
||||
|
||||
|
||||
}
|
||||
|
||||
void RefreshTerm()
|
||||
{
|
||||
var ts = dateTimePicker2.Value - dateTimePicker1.Value;
|
||||
var days = Math.Ceiling(ts.TotalDays) + 1;
|
||||
this.numericUpDown1.Value = (decimal)days;
|
||||
this.dr.term = days;
|
||||
//var ts = dateTimePicker2.Value - dateTimePicker1.Value;
|
||||
//var days = Math.Ceiling(ts.TotalDays) + 1;
|
||||
//this.numericUpDown1.Value = (decimal)days;
|
||||
//this.dr.term = days;
|
||||
}
|
||||
private void dateTimePicker2_ValueChanged(object sender, EventArgs e)
|
||||
{
|
||||
|
||||
@@ -1,153 +1,144 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<root>
|
||||
<!--
|
||||
Microsoft ResX Schema
|
||||
|
||||
Version 2.0
|
||||
|
||||
The primary goals of this format is to allow a simple XML format
|
||||
that is mostly human readable. The generation and parsing of the
|
||||
various data types are done through the TypeConverter classes
|
||||
associated with the data types.
|
||||
|
||||
Example:
|
||||
|
||||
... ado.net/XML headers & schema ...
|
||||
<resheader name="resmimetype">text/microsoft-resx</resheader>
|
||||
<resheader name="version">2.0</resheader>
|
||||
<resheader name="reader">System.Resources.ResXResourceReader, System.Windows.Forms, ...</resheader>
|
||||
<resheader name="writer">System.Resources.ResXResourceWriter, System.Windows.Forms, ...</resheader>
|
||||
<data name="Name1"><value>this is my long string</value><comment>this is a comment</comment></data>
|
||||
<data name="Color1" type="System.Drawing.Color, System.Drawing">Blue</data>
|
||||
<data name="Bitmap1" mimetype="application/x-microsoft.net.object.binary.base64">
|
||||
<value>[base64 mime encoded serialized .NET Framework object]</value>
|
||||
</data>
|
||||
<data name="Icon1" type="System.Drawing.Icon, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64">
|
||||
<value>[base64 mime encoded string representing a byte array form of the .NET Framework object]</value>
|
||||
<comment>This is a comment</comment>
|
||||
</data>
|
||||
|
||||
There are any number of "resheader" rows that contain simple
|
||||
name/value pairs.
|
||||
|
||||
Each data row contains a name, and value. The row also contains a
|
||||
type or mimetype. Type corresponds to a .NET class that support
|
||||
text/value conversion through the TypeConverter architecture.
|
||||
Classes that don't support this are serialized and stored with the
|
||||
mimetype set.
|
||||
|
||||
The mimetype is used for serialized objects, and tells the
|
||||
ResXResourceReader how to depersist the object. This is currently not
|
||||
extensible. For a given mimetype the value must be set accordingly:
|
||||
|
||||
Note - application/x-microsoft.net.object.binary.base64 is the format
|
||||
that the ResXResourceWriter will generate, however the reader can
|
||||
read any of the formats listed below.
|
||||
|
||||
mimetype: application/x-microsoft.net.object.binary.base64
|
||||
value : The object must be serialized with
|
||||
: System.Runtime.Serialization.Formatters.Binary.BinaryFormatter
|
||||
: and then encoded with base64 encoding.
|
||||
|
||||
mimetype: application/x-microsoft.net.object.soap.base64
|
||||
value : The object must be serialized with
|
||||
: System.Runtime.Serialization.Formatters.Soap.SoapFormatter
|
||||
: and then encoded with base64 encoding.
|
||||
|
||||
mimetype: application/x-microsoft.net.object.bytearray.base64
|
||||
value : The object must be serialized into a byte array
|
||||
: using a System.ComponentModel.TypeConverter
|
||||
: and then encoded with base64 encoding.
|
||||
-->
|
||||
<xsd:schema id="root" xmlns="" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:msdata="urn:schemas-microsoft-com:xml-msdata">
|
||||
<xsd:import namespace="http://www.w3.org/XML/1998/namespace" />
|
||||
<xsd:element name="root" msdata:IsDataSet="true">
|
||||
<xsd:complexType>
|
||||
<xsd:choice maxOccurs="unbounded">
|
||||
<xsd:element name="metadata">
|
||||
<xsd:complexType>
|
||||
<xsd:sequence>
|
||||
<xsd:element name="value" type="xsd:string" minOccurs="0" />
|
||||
</xsd:sequence>
|
||||
<xsd:attribute name="name" use="required" type="xsd:string" />
|
||||
<xsd:attribute name="type" type="xsd:string" />
|
||||
<xsd:attribute name="mimetype" type="xsd:string" />
|
||||
<xsd:attribute ref="xml:space" />
|
||||
</xsd:complexType>
|
||||
</xsd:element>
|
||||
<xsd:element name="assembly">
|
||||
<xsd:complexType>
|
||||
<xsd:attribute name="alias" type="xsd:string" />
|
||||
<xsd:attribute name="name" type="xsd:string" />
|
||||
</xsd:complexType>
|
||||
</xsd:element>
|
||||
<xsd:element name="data">
|
||||
<xsd:complexType>
|
||||
<xsd:sequence>
|
||||
<xsd:element name="value" type="xsd:string" minOccurs="0" msdata:Ordinal="1" />
|
||||
<xsd:element name="comment" type="xsd:string" minOccurs="0" msdata:Ordinal="2" />
|
||||
</xsd:sequence>
|
||||
<xsd:attribute name="name" type="xsd:string" use="required" msdata:Ordinal="1" />
|
||||
<xsd:attribute name="type" type="xsd:string" msdata:Ordinal="3" />
|
||||
<xsd:attribute name="mimetype" type="xsd:string" msdata:Ordinal="4" />
|
||||
<xsd:attribute ref="xml:space" />
|
||||
</xsd:complexType>
|
||||
</xsd:element>
|
||||
<xsd:element name="resheader">
|
||||
<xsd:complexType>
|
||||
<xsd:sequence>
|
||||
<xsd:element name="value" type="xsd:string" minOccurs="0" msdata:Ordinal="1" />
|
||||
</xsd:sequence>
|
||||
<xsd:attribute name="name" type="xsd:string" use="required" />
|
||||
</xsd:complexType>
|
||||
</xsd:element>
|
||||
</xsd:choice>
|
||||
</xsd:complexType>
|
||||
</xsd:element>
|
||||
</xsd:schema>
|
||||
<resheader name="resmimetype">
|
||||
<value>text/microsoft-resx</value>
|
||||
</resheader>
|
||||
<resheader name="version">
|
||||
<value>2.0</value>
|
||||
</resheader>
|
||||
<resheader name="reader">
|
||||
<value>System.Resources.ResXResourceReader, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
|
||||
</resheader>
|
||||
<resheader name="writer">
|
||||
<value>System.Resources.ResXResourceWriter, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
|
||||
</resheader>
|
||||
<metadata name="cateLabel.GenerateMember" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
|
||||
<value>False</value>
|
||||
</metadata>
|
||||
<metadata name="resutLabel.GenerateMember" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
|
||||
<value>False</value>
|
||||
</metadata>
|
||||
<metadata name="sdateLabel.GenerateMember" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
|
||||
<value>False</value>
|
||||
</metadata>
|
||||
<metadata name="edateLabel.GenerateMember" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
|
||||
<value>False</value>
|
||||
</metadata>
|
||||
<metadata name="contentsLabel.GenerateMember" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
|
||||
<value>False</value>
|
||||
</metadata>
|
||||
<metadata name="uidLabel.GenerateMember" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
|
||||
<value>False</value>
|
||||
</metadata>
|
||||
<metadata name="tolistLabel.GenerateMember" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
|
||||
<value>False</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="bs.TrayLocation" type="System.Drawing.Point, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a">
|
||||
<value>122, 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>
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<root>
|
||||
<!--
|
||||
Microsoft ResX Schema
|
||||
|
||||
Version 2.0
|
||||
|
||||
The primary goals of this format is to allow a simple XML format
|
||||
that is mostly human readable. The generation and parsing of the
|
||||
various data types are done through the TypeConverter classes
|
||||
associated with the data types.
|
||||
|
||||
Example:
|
||||
|
||||
... ado.net/XML headers & schema ...
|
||||
<resheader name="resmimetype">text/microsoft-resx</resheader>
|
||||
<resheader name="version">2.0</resheader>
|
||||
<resheader name="reader">System.Resources.ResXResourceReader, System.Windows.Forms, ...</resheader>
|
||||
<resheader name="writer">System.Resources.ResXResourceWriter, System.Windows.Forms, ...</resheader>
|
||||
<data name="Name1"><value>this is my long string</value><comment>this is a comment</comment></data>
|
||||
<data name="Color1" type="System.Drawing.Color, System.Drawing">Blue</data>
|
||||
<data name="Bitmap1" mimetype="application/x-microsoft.net.object.binary.base64">
|
||||
<value>[base64 mime encoded serialized .NET Framework object]</value>
|
||||
</data>
|
||||
<data name="Icon1" type="System.Drawing.Icon, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64">
|
||||
<value>[base64 mime encoded string representing a byte array form of the .NET Framework object]</value>
|
||||
<comment>This is a comment</comment>
|
||||
</data>
|
||||
|
||||
There are any number of "resheader" rows that contain simple
|
||||
name/value pairs.
|
||||
|
||||
Each data row contains a name, and value. The row also contains a
|
||||
type or mimetype. Type corresponds to a .NET class that support
|
||||
text/value conversion through the TypeConverter architecture.
|
||||
Classes that don't support this are serialized and stored with the
|
||||
mimetype set.
|
||||
|
||||
The mimetype is used for serialized objects, and tells the
|
||||
ResXResourceReader how to depersist the object. This is currently not
|
||||
extensible. For a given mimetype the value must be set accordingly:
|
||||
|
||||
Note - application/x-microsoft.net.object.binary.base64 is the format
|
||||
that the ResXResourceWriter will generate, however the reader can
|
||||
read any of the formats listed below.
|
||||
|
||||
mimetype: application/x-microsoft.net.object.binary.base64
|
||||
value : The object must be serialized with
|
||||
: System.Runtime.Serialization.Formatters.Binary.BinaryFormatter
|
||||
: and then encoded with base64 encoding.
|
||||
|
||||
mimetype: application/x-microsoft.net.object.soap.base64
|
||||
value : The object must be serialized with
|
||||
: System.Runtime.Serialization.Formatters.Soap.SoapFormatter
|
||||
: and then encoded with base64 encoding.
|
||||
|
||||
mimetype: application/x-microsoft.net.object.bytearray.base64
|
||||
value : The object must be serialized into a byte array
|
||||
: using a System.ComponentModel.TypeConverter
|
||||
: and then encoded with base64 encoding.
|
||||
-->
|
||||
<xsd:schema id="root" xmlns="" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:msdata="urn:schemas-microsoft-com:xml-msdata">
|
||||
<xsd:import namespace="http://www.w3.org/XML/1998/namespace" />
|
||||
<xsd:element name="root" msdata:IsDataSet="true">
|
||||
<xsd:complexType>
|
||||
<xsd:choice maxOccurs="unbounded">
|
||||
<xsd:element name="metadata">
|
||||
<xsd:complexType>
|
||||
<xsd:sequence>
|
||||
<xsd:element name="value" type="xsd:string" minOccurs="0" />
|
||||
</xsd:sequence>
|
||||
<xsd:attribute name="name" use="required" type="xsd:string" />
|
||||
<xsd:attribute name="type" type="xsd:string" />
|
||||
<xsd:attribute name="mimetype" type="xsd:string" />
|
||||
<xsd:attribute ref="xml:space" />
|
||||
</xsd:complexType>
|
||||
</xsd:element>
|
||||
<xsd:element name="assembly">
|
||||
<xsd:complexType>
|
||||
<xsd:attribute name="alias" type="xsd:string" />
|
||||
<xsd:attribute name="name" type="xsd:string" />
|
||||
</xsd:complexType>
|
||||
</xsd:element>
|
||||
<xsd:element name="data">
|
||||
<xsd:complexType>
|
||||
<xsd:sequence>
|
||||
<xsd:element name="value" type="xsd:string" minOccurs="0" msdata:Ordinal="1" />
|
||||
<xsd:element name="comment" type="xsd:string" minOccurs="0" msdata:Ordinal="2" />
|
||||
</xsd:sequence>
|
||||
<xsd:attribute name="name" type="xsd:string" use="required" msdata:Ordinal="1" />
|
||||
<xsd:attribute name="type" type="xsd:string" msdata:Ordinal="3" />
|
||||
<xsd:attribute name="mimetype" type="xsd:string" msdata:Ordinal="4" />
|
||||
<xsd:attribute ref="xml:space" />
|
||||
</xsd:complexType>
|
||||
</xsd:element>
|
||||
<xsd:element name="resheader">
|
||||
<xsd:complexType>
|
||||
<xsd:sequence>
|
||||
<xsd:element name="value" type="xsd:string" minOccurs="0" msdata:Ordinal="1" />
|
||||
</xsd:sequence>
|
||||
<xsd:attribute name="name" type="xsd:string" use="required" />
|
||||
</xsd:complexType>
|
||||
</xsd:element>
|
||||
</xsd:choice>
|
||||
</xsd:complexType>
|
||||
</xsd:element>
|
||||
</xsd:schema>
|
||||
<resheader name="resmimetype">
|
||||
<value>text/microsoft-resx</value>
|
||||
</resheader>
|
||||
<resheader name="version">
|
||||
<value>2.0</value>
|
||||
</resheader>
|
||||
<resheader name="reader">
|
||||
<value>System.Resources.ResXResourceReader, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
|
||||
</resheader>
|
||||
<resheader name="writer">
|
||||
<value>System.Resources.ResXResourceWriter, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
|
||||
</resheader>
|
||||
<metadata name="sdateLabel.GenerateMember" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
|
||||
<value>False</value>
|
||||
</metadata>
|
||||
<metadata name="contentsLabel.GenerateMember" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
|
||||
<value>False</value>
|
||||
</metadata>
|
||||
<metadata name="uidLabel.GenerateMember" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
|
||||
<value>False</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="bs.TrayLocation" type="System.Drawing.Point, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a">
|
||||
<value>122, 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="label1.GenerateMember" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
|
||||
<value>False</value>
|
||||
</metadata>
|
||||
</root>
|
||||
Reference in New Issue
Block a user