/// <summary> /// Required method for Designer support - do not modify /// the contents of this method with the code editor. /// </summary> private void InitializeComponent() { POS.Control.Office2010White office2010White2 = new POS.Control.Office2010White(); System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle3 = new System.Windows.Forms.DataGridViewCellStyle(); System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle4 = new System.Windows.Forms.DataGridViewCellStyle(); POS.Control.Office2010Green office2010Green2 = new POS.Control.Office2010Green(); POS.Control.Office2010Red office2010Red2 = new POS.Control.Office2010Red(); this.tableLayoutPanel1 = new System.Windows.Forms.TableLayoutPanel(); this.Search = new System.Windows.Forms.GroupBox(); this.btnSearch = new POS.Control.BaseButton(); this.txtClosePeriodBy = new POS.Control.BaseTextBox(); this.txtPeriodName = new POS.Control.BaseTextBox(); this.txtOpenPeriodBy = new POS.Control.BaseTextBox(); this.txtPeriodDesc = new POS.Control.BaseTextBox(); this.txtPeriodCode = new POS.Control.BaseTextBox(); this.label4 = new System.Windows.Forms.Label(); this.label3 = new System.Windows.Forms.Label(); this.label2 = new System.Windows.Forms.Label(); this.label1 = new System.Windows.Forms.Label(); this.lblPeriodCode = new System.Windows.Forms.Label(); this.grdWorkPeriod = new System.Windows.Forms.DataGridView(); this.period_code = new System.Windows.Forms.DataGridViewTextBoxColumn(); this.period_name = new System.Windows.Forms.DataGridViewTextBoxColumn(); this.period_description = new System.Windows.Forms.DataGridViewTextBoxColumn(); this.open_period_by = new System.Windows.Forms.DataGridViewTextBoxColumn(); this.open_period_date = new System.Windows.Forms.DataGridViewTextBoxColumn(); this.close_period_by = new System.Windows.Forms.DataGridViewTextBoxColumn(); this.close_period_date = new System.Windows.Forms.DataGridViewTextBoxColumn(); this.flowLayoutPanel1 = new System.Windows.Forms.FlowLayoutPanel(); this.btnStartPeriod = new POS.Control.BaseButton(); this.btnEndPeriod = new POS.Control.BaseButton(); this.panel1 = new System.Windows.Forms.Panel(); this.txtCurrentOpenPeriodDate = new POS.Control.BaseTextBox(); this.label10 = new System.Windows.Forms.Label(); this.txtCurrentOpenPeriodBy = new POS.Control.BaseTextBox(); this.label9 = new System.Windows.Forms.Label(); this.txtCurrentPeriodName = new POS.Control.BaseTextBox(); this.label8 = new System.Windows.Forms.Label(); this.txtCurrentPeriodCode = new POS.Control.BaseTextBox(); this.label7 = new System.Windows.Forms.Label(); this.txtTimeOfWorkPeriod = new POS.Control.BaseTextBox(); this.label6 = new System.Windows.Forms.Label(); this.txtDateOfWorkPeriod = new POS.Control.BaseTextBox(); this.label5 = new System.Windows.Forms.Label(); this.tableLayoutPanel1.SuspendLayout(); this.Search.SuspendLayout(); ((System.ComponentModel.ISupportInitialize)(this.grdWorkPeriod)).BeginInit(); this.flowLayoutPanel1.SuspendLayout(); this.panel1.SuspendLayout(); this.SuspendLayout(); // // tableLayoutPanel1 // this.tableLayoutPanel1.ColumnCount = 2; this.tableLayoutPanel1.ColumnStyles.Add(new System.Windows.Forms.ColumnStyle(System.Windows.Forms.SizeType.Percent, 75F)); this.tableLayoutPanel1.ColumnStyles.Add(new System.Windows.Forms.ColumnStyle(System.Windows.Forms.SizeType.Percent, 25F)); this.tableLayoutPanel1.Controls.Add(this.Search, 0, 0); this.tableLayoutPanel1.Controls.Add(this.grdWorkPeriod, 0, 1); this.tableLayoutPanel1.Controls.Add(this.flowLayoutPanel1, 1, 0); this.tableLayoutPanel1.Controls.Add(this.panel1, 1, 1); this.tableLayoutPanel1.Dock = System.Windows.Forms.DockStyle.Fill; this.tableLayoutPanel1.Location = new System.Drawing.Point(0, 0); this.tableLayoutPanel1.Name = "tableLayoutPanel1"; this.tableLayoutPanel1.RowCount = 2; this.tableLayoutPanel1.RowStyles.Add(new System.Windows.Forms.RowStyle(System.Windows.Forms.SizeType.Absolute, 194F)); this.tableLayoutPanel1.RowStyles.Add(new System.Windows.Forms.RowStyle(System.Windows.Forms.SizeType.Percent, 100F)); this.tableLayoutPanel1.Size = new System.Drawing.Size(1008, 730); this.tableLayoutPanel1.TabIndex = 0; // // Search // this.Search.Controls.Add(this.btnSearch); this.Search.Controls.Add(this.txtClosePeriodBy); this.Search.Controls.Add(this.txtPeriodName); this.Search.Controls.Add(this.txtOpenPeriodBy); this.Search.Controls.Add(this.txtPeriodDesc); this.Search.Controls.Add(this.txtPeriodCode); this.Search.Controls.Add(this.label4); this.Search.Controls.Add(this.label3); this.Search.Controls.Add(this.label2); this.Search.Controls.Add(this.label1); this.Search.Controls.Add(this.lblPeriodCode); this.Search.Dock = System.Windows.Forms.DockStyle.Fill; this.Search.Location = new System.Drawing.Point(3, 3); this.Search.Name = "Search"; this.Search.Size = new System.Drawing.Size(750, 188); this.Search.TabIndex = 0; this.Search.TabStop = false; this.Search.Text = "Search"; // // btnSearch // this.btnSearch.CommandArg = null; this.btnSearch.Location = new System.Drawing.Point(331, 141); this.btnSearch.Name = "btnSearch"; this.btnSearch.Size = new System.Drawing.Size(94, 23); this.btnSearch.TabIndex = 10; this.btnSearch.Text = "Search"; this.btnSearch.Theme = POS.Control.Theme.MSOffice2010_WHITE; this.btnSearch.UseVisualStyleBackColor = true; this.btnSearch.Click += new System.EventHandler(this.btnSearch_Click); // // txtClosePeriodBy // this.txtClosePeriodBy.Location = new System.Drawing.Point(511, 98); this.txtClosePeriodBy.Name = "txtClosePeriodBy"; this.txtClosePeriodBy.Size = new System.Drawing.Size(188, 20); this.txtClosePeriodBy.TabIndex = 9; // // txtPeriodName // this.txtPeriodName.Location = new System.Drawing.Point(511, 33); this.txtPeriodName.Name = "txtPeriodName"; this.txtPeriodName.Size = new System.Drawing.Size(188, 20); this.txtPeriodName.TabIndex = 8; // // txtOpenPeriodBy // this.txtOpenPeriodBy.Location = new System.Drawing.Point(141, 102); this.txtOpenPeriodBy.Name = "txtOpenPeriodBy"; this.txtOpenPeriodBy.Size = new System.Drawing.Size(188, 20); this.txtOpenPeriodBy.TabIndex = 7; // // txtPeriodDesc // this.txtPeriodDesc.Location = new System.Drawing.Point(141, 68); this.txtPeriodDesc.Name = "txtPeriodDesc"; this.txtPeriodDesc.Size = new System.Drawing.Size(188, 20); this.txtPeriodDesc.TabIndex = 6; // // txtPeriodCode // this.txtPeriodCode.Location = new System.Drawing.Point(141, 36); this.txtPeriodCode.Name = "txtPeriodCode"; this.txtPeriodCode.Size = new System.Drawing.Size(188, 20); this.txtPeriodCode.TabIndex = 5; // // label4 // this.label4.AutoSize = true; this.label4.Location = new System.Drawing.Point(408, 105); this.label4.Name = "label4"; this.label4.Size = new System.Drawing.Size(81, 13); this.label4.TabIndex = 4; this.label4.Text = "Close Period By"; // // label3 // this.label3.AutoSize = true; this.label3.Location = new System.Drawing.Point(41, 105); this.label3.Name = "label3"; this.label3.Size = new System.Drawing.Size(81, 13); this.label3.TabIndex = 3; this.label3.Text = "Open Period By"; // // label2 // this.label2.AutoSize = true; this.label2.Location = new System.Drawing.Point(408, 36); this.label2.Name = "label2"; this.label2.Size = new System.Drawing.Size(68, 13); this.label2.TabIndex = 2; this.label2.Text = "Period Name"; // // label1 // this.label1.AutoSize = true; this.label1.Location = new System.Drawing.Point(41, 68); this.label1.Name = "label1"; this.label1.Size = new System.Drawing.Size(65, 13); this.label1.TabIndex = 1; this.label1.Text = "Period Desc"; // // lblPeriodCode // this.lblPeriodCode.AutoSize = true; this.lblPeriodCode.Location = new System.Drawing.Point(41, 36); this.lblPeriodCode.Name = "lblPeriodCode"; this.lblPeriodCode.Size = new System.Drawing.Size(65, 13); this.lblPeriodCode.TabIndex = 0; this.lblPeriodCode.Text = "Period Code"; // // grdWorkPeriod // dataGridViewCellStyle3.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleCenter; dataGridViewCellStyle3.BackColor = System.Drawing.SystemColors.Control; dataGridViewCellStyle3.Font = new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); dataGridViewCellStyle3.ForeColor = System.Drawing.SystemColors.WindowText; dataGridViewCellStyle3.SelectionBackColor = System.Drawing.SystemColors.Highlight; dataGridViewCellStyle3.SelectionForeColor = System.Drawing.SystemColors.HighlightText; dataGridViewCellStyle3.WrapMode = System.Windows.Forms.DataGridViewTriState.True; this.grdWorkPeriod.ColumnHeadersDefaultCellStyle = dataGridViewCellStyle3; this.grdWorkPeriod.ColumnHeadersHeightSizeMode = System.Windows.Forms.DataGridViewColumnHeadersHeightSizeMode.AutoSize; this.grdWorkPeriod.Columns.AddRange(new System.Windows.Forms.DataGridViewColumn[] { this.period_code, this.period_name, this.period_description, this.open_period_by, this.open_period_date, this.close_period_by, this.close_period_date}); this.grdWorkPeriod.Dock = System.Windows.Forms.DockStyle.Fill; this.grdWorkPeriod.Location = new System.Drawing.Point(3, 197); this.grdWorkPeriod.Name = "grdWorkPeriod"; this.grdWorkPeriod.Size = new System.Drawing.Size(750, 530); this.grdWorkPeriod.TabIndex = 1; // // period_code // this.period_code.DataPropertyName = "period_code"; this.period_code.Frozen = true; this.period_code.HeaderText = "Period Code"; this.period_code.Name = "period_code"; this.period_code.ReadOnly = true; // // period_name // this.period_name.DataPropertyName = "period_name"; dataGridViewCellStyle4.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleCenter; dataGridViewCellStyle4.WrapMode = System.Windows.Forms.DataGridViewTriState.True; this.period_name.DefaultCellStyle = dataGridViewCellStyle4; this.period_name.Frozen = true; this.period_name.HeaderText = "Period Name"; this.period_name.Name = "period_name"; this.period_name.ReadOnly = true; // // period_description // this.period_description.DataPropertyName = "period_description"; this.period_description.HeaderText = "Description"; this.period_description.Name = "period_description"; this.period_description.ReadOnly = true; // // open_period_by // this.open_period_by.DataPropertyName = "open_period_by"; this.open_period_by.HeaderText = "Open By"; this.open_period_by.Name = "open_period_by"; this.open_period_by.ReadOnly = true; // // open_period_date // this.open_period_date.DataPropertyName = "open_period_date"; this.open_period_date.HeaderText = "Open Date"; this.open_period_date.Name = "open_period_date"; this.open_period_date.ReadOnly = true; // // close_period_by // this.close_period_by.DataPropertyName = "close_period_by"; this.close_period_by.HeaderText = "Close By"; this.close_period_by.Name = "close_period_by"; this.close_period_by.ReadOnly = true; // // close_period_date // this.close_period_date.DataPropertyName = "close_period_date"; this.close_period_date.HeaderText = "Close Date"; this.close_period_date.Name = "close_period_date"; this.close_period_date.ReadOnly = true; // // flowLayoutPanel1 // this.flowLayoutPanel1.Controls.Add(this.btnStartPeriod); this.flowLayoutPanel1.Controls.Add(this.btnEndPeriod); this.flowLayoutPanel1.Dock = System.Windows.Forms.DockStyle.Fill; this.flowLayoutPanel1.Location = new System.Drawing.Point(759, 3); this.flowLayoutPanel1.Name = "flowLayoutPanel1"; this.flowLayoutPanel1.Size = new System.Drawing.Size(246, 188); this.flowLayoutPanel1.TabIndex = 3; // // btnStartPeriod // this.btnStartPeriod.CommandArg = null; this.btnStartPeriod.Dock = System.Windows.Forms.DockStyle.Top; this.btnStartPeriod.Location = new System.Drawing.Point(3, 5); this.btnStartPeriod.Margin = new System.Windows.Forms.Padding(3, 5, 3, 3); this.btnStartPeriod.Name = "btnStartPeriod"; this.btnStartPeriod.Size = new System.Drawing.Size(243, 82); this.btnStartPeriod.TabIndex = 2; this.btnStartPeriod.Text = "Start Work Period"; this.btnStartPeriod.Theme = POS.Control.Theme.MSOffice2010_Green; this.btnStartPeriod.UseVisualStyleBackColor = true; // // btnEndPeriod // this.btnEndPeriod.CommandArg = null; this.btnEndPeriod.Dock = System.Windows.Forms.DockStyle.Top; this.btnEndPeriod.Location = new System.Drawing.Point(3, 105); this.btnEndPeriod.Margin = new System.Windows.Forms.Padding(3, 15, 3, 3); this.btnEndPeriod.Name = "btnEndPeriod"; this.btnEndPeriod.Size = new System.Drawing.Size(243, 82); this.btnEndPeriod.TabIndex = 3; this.btnEndPeriod.Text = "End Work Period"; this.btnEndPeriod.Theme = POS.Control.Theme.MSOffice2010_RED; this.btnEndPeriod.UseVisualStyleBackColor = true; // // panel1 // this.panel1.Controls.Add(this.txtCurrentOpenPeriodDate); this.panel1.Controls.Add(this.label10); this.panel1.Controls.Add(this.txtCurrentOpenPeriodBy); this.panel1.Controls.Add(this.label9); this.panel1.Controls.Add(this.txtCurrentPeriodName); this.panel1.Controls.Add(this.label8); this.panel1.Controls.Add(this.txtCurrentPeriodCode); this.panel1.Controls.Add(this.label7); this.panel1.Controls.Add(this.txtTimeOfWorkPeriod); this.panel1.Controls.Add(this.label6); this.panel1.Controls.Add(this.txtDateOfWorkPeriod); this.panel1.Controls.Add(this.label5); this.panel1.Dock = System.Windows.Forms.DockStyle.Fill; this.panel1.Location = new System.Drawing.Point(759, 197); this.panel1.Name = "panel1"; this.panel1.Size = new System.Drawing.Size(246, 530); this.panel1.TabIndex = 4; // // txtCurrentOpenPeriodDate // this.txtCurrentOpenPeriodDate.Location = new System.Drawing.Point(99, 226); this.txtCurrentOpenPeriodDate.Name = "txtCurrentOpenPeriodDate"; this.txtCurrentOpenPeriodDate.Size = new System.Drawing.Size(141, 20); this.txtCurrentOpenPeriodDate.TabIndex = 11; // // label10 // this.label10.AutoSize = true; this.label10.Location = new System.Drawing.Point(3, 229); this.label10.Name = "label10"; this.label10.Size = new System.Drawing.Size(92, 13); this.label10.TabIndex = 10; this.label10.Text = "Open Period Date"; // // txtCurrentOpenPeriodBy // this.txtCurrentOpenPeriodBy.Location = new System.Drawing.Point(99, 195); this.txtCurrentOpenPeriodBy.Name = "txtCurrentOpenPeriodBy"; this.txtCurrentOpenPeriodBy.Size = new System.Drawing.Size(141, 20); this.txtCurrentOpenPeriodBy.TabIndex = 9; // // label9 // this.label9.AutoSize = true; this.label9.Location = new System.Drawing.Point(3, 198); this.label9.Name = "label9"; this.label9.Size = new System.Drawing.Size(81, 13); this.label9.TabIndex = 8; this.label9.Text = "Open Period By"; // // txtCurrentPeriodName // this.txtCurrentPeriodName.Location = new System.Drawing.Point(99, 162); this.txtCurrentPeriodName.Name = "txtCurrentPeriodName"; this.txtCurrentPeriodName.Size = new System.Drawing.Size(141, 20); this.txtCurrentPeriodName.TabIndex = 7; // // label8 // this.label8.AutoSize = true; this.label8.Location = new System.Drawing.Point(3, 165); this.label8.Name = "label8"; this.label8.Size = new System.Drawing.Size(68, 13); this.label8.TabIndex = 6; this.label8.Text = "Period Name"; // // txtCurrentPeriodCode // this.txtCurrentPeriodCode.Location = new System.Drawing.Point(99, 130); this.txtCurrentPeriodCode.Name = "txtCurrentPeriodCode"; this.txtCurrentPeriodCode.Size = new System.Drawing.Size(141, 20); this.txtCurrentPeriodCode.TabIndex = 5; // // label7 // this.label7.AutoSize = true; this.label7.Location = new System.Drawing.Point(3, 133); this.label7.Name = "label7"; this.label7.Size = new System.Drawing.Size(65, 13); this.label7.TabIndex = 4; this.label7.Text = "Period Code"; // // txtTimeOfWorkPeriod // this.txtTimeOfWorkPeriod.Location = new System.Drawing.Point(3, 83); this.txtTimeOfWorkPeriod.Name = "txtTimeOfWorkPeriod"; this.txtTimeOfWorkPeriod.Size = new System.Drawing.Size(130, 20); this.txtTimeOfWorkPeriod.TabIndex = 3; // // label6 // this.label6.AutoSize = true; this.label6.Location = new System.Drawing.Point(3, 67); this.label6.Name = "label6"; this.label6.Size = new System.Drawing.Size(104, 13); this.label6.TabIndex = 2; this.label6.Text = "Time of Work Period"; // // txtDateOfWorkPeriod // this.txtDateOfWorkPeriod.Location = new System.Drawing.Point(3, 27); this.txtDateOfWorkPeriod.Name = "txtDateOfWorkPeriod"; this.txtDateOfWorkPeriod.Size = new System.Drawing.Size(130, 20); this.txtDateOfWorkPeriod.TabIndex = 1; // // label5 // this.label5.AutoSize = true; this.label5.Location = new System.Drawing.Point(3, 10); this.label5.Name = "label5"; this.label5.Size = new System.Drawing.Size(104, 13); this.label5.TabIndex = 0; this.label5.Text = "Date of Work Period"; // // WorkPeriodSetup // this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F); this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font; this.ClientSize = new System.Drawing.Size(1008, 730); this.Controls.Add(this.tableLayoutPanel1); this.Name = "WorkPeriodSetup"; this.Text = "WorkPeriod"; this.Shown += new System.EventHandler(this.loadData); this.tableLayoutPanel1.ResumeLayout(false); this.Search.ResumeLayout(false); this.Search.PerformLayout(); ((System.ComponentModel.ISupportInitialize)(this.grdWorkPeriod)).EndInit(); this.flowLayoutPanel1.ResumeLayout(false); this.panel1.ResumeLayout(false); this.panel1.PerformLayout(); this.ResumeLayout(false); }
/// <summary> /// Required method for Designer support - do not modify /// the contents of this method with the code editor. /// </summary> private void InitializeComponent() { POS.Control.Office2010White office2010White2 = new POS.Control.Office2010White(); System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle3 = new System.Windows.Forms.DataGridViewCellStyle(); System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle4 = new System.Windows.Forms.DataGridViewCellStyle(); POS.Control.Office2010Green office2010Green2 = new POS.Control.Office2010Green(); POS.Control.Office2010Red office2010Red2 = new POS.Control.Office2010Red(); this.tableLayoutPanel1 = new System.Windows.Forms.TableLayoutPanel(); this.Search = new System.Windows.Forms.GroupBox(); this.btnSearch = new POS.Control.BaseButton(); this.txtClosePeriodBy = new POS.Control.BaseTextBox(); this.txtPeriodName = new POS.Control.BaseTextBox(); this.txtOpenPeriodBy = new POS.Control.BaseTextBox(); this.txtPeriodDesc = new POS.Control.BaseTextBox(); this.txtPeriodCode = new POS.Control.BaseTextBox(); this.label4 = new System.Windows.Forms.Label(); this.label3 = new System.Windows.Forms.Label(); this.label2 = new System.Windows.Forms.Label(); this.label1 = new System.Windows.Forms.Label(); this.lblPeriodCode = new System.Windows.Forms.Label(); this.grdWorkPeriod = new System.Windows.Forms.DataGridView(); this.period_code = new System.Windows.Forms.DataGridViewTextBoxColumn(); this.period_name = new System.Windows.Forms.DataGridViewTextBoxColumn(); this.period_description = new System.Windows.Forms.DataGridViewTextBoxColumn(); this.open_period_by = new System.Windows.Forms.DataGridViewTextBoxColumn(); this.open_period_date = new System.Windows.Forms.DataGridViewTextBoxColumn(); this.close_period_by = new System.Windows.Forms.DataGridViewTextBoxColumn(); this.close_period_date = new System.Windows.Forms.DataGridViewTextBoxColumn(); this.flowLayoutPanel1 = new System.Windows.Forms.FlowLayoutPanel(); this.btnStartPeriod = new POS.Control.BaseButton(); this.btnEndPeriod = new POS.Control.BaseButton(); this.panel1 = new System.Windows.Forms.Panel(); this.txtCurrentOpenPeriodDate = new POS.Control.BaseTextBox(); this.label10 = new System.Windows.Forms.Label(); this.txtCurrentOpenPeriodBy = new POS.Control.BaseTextBox(); this.label9 = new System.Windows.Forms.Label(); this.txtCurrentPeriodName = new POS.Control.BaseTextBox(); this.label8 = new System.Windows.Forms.Label(); this.txtCurrentPeriodCode = new POS.Control.BaseTextBox(); this.label7 = new System.Windows.Forms.Label(); this.txtTimeOfWorkPeriod = new POS.Control.BaseTextBox(); this.label6 = new System.Windows.Forms.Label(); this.txtDateOfWorkPeriod = new POS.Control.BaseTextBox(); this.label5 = new System.Windows.Forms.Label(); this.tableLayoutPanel1.SuspendLayout(); this.Search.SuspendLayout(); ((System.ComponentModel.ISupportInitialize)(this.grdWorkPeriod)).BeginInit(); this.flowLayoutPanel1.SuspendLayout(); this.panel1.SuspendLayout(); this.SuspendLayout(); // // tableLayoutPanel1 // this.tableLayoutPanel1.ColumnCount = 2; this.tableLayoutPanel1.ColumnStyles.Add(new System.Windows.Forms.ColumnStyle(System.Windows.Forms.SizeType.Percent, 75F)); this.tableLayoutPanel1.ColumnStyles.Add(new System.Windows.Forms.ColumnStyle(System.Windows.Forms.SizeType.Percent, 25F)); this.tableLayoutPanel1.Controls.Add(this.Search, 0, 0); this.tableLayoutPanel1.Controls.Add(this.grdWorkPeriod, 0, 1); this.tableLayoutPanel1.Controls.Add(this.flowLayoutPanel1, 1, 0); this.tableLayoutPanel1.Controls.Add(this.panel1, 1, 1); this.tableLayoutPanel1.Dock = System.Windows.Forms.DockStyle.Fill; this.tableLayoutPanel1.Location = new System.Drawing.Point(0, 0); this.tableLayoutPanel1.Name = "tableLayoutPanel1"; this.tableLayoutPanel1.RowCount = 2; this.tableLayoutPanel1.RowStyles.Add(new System.Windows.Forms.RowStyle(System.Windows.Forms.SizeType.Absolute, 194F)); this.tableLayoutPanel1.RowStyles.Add(new System.Windows.Forms.RowStyle(System.Windows.Forms.SizeType.Percent, 100F)); this.tableLayoutPanel1.Size = new System.Drawing.Size(1008, 730); this.tableLayoutPanel1.TabIndex = 0; // // Search // this.Search.Controls.Add(this.btnSearch); this.Search.Controls.Add(this.txtClosePeriodBy); this.Search.Controls.Add(this.txtPeriodName); this.Search.Controls.Add(this.txtOpenPeriodBy); this.Search.Controls.Add(this.txtPeriodDesc); this.Search.Controls.Add(this.txtPeriodCode); this.Search.Controls.Add(this.label4); this.Search.Controls.Add(this.label3); this.Search.Controls.Add(this.label2); this.Search.Controls.Add(this.label1); this.Search.Controls.Add(this.lblPeriodCode); this.Search.Dock = System.Windows.Forms.DockStyle.Fill; this.Search.Location = new System.Drawing.Point(3, 3); this.Search.Name = "Search"; this.Search.Size = new System.Drawing.Size(750, 188); this.Search.TabIndex = 0; this.Search.TabStop = false; this.Search.Text = "Search"; // // btnSearch // this.btnSearch.CommandArg = null; this.btnSearch.Location = new System.Drawing.Point(331, 141); this.btnSearch.Name = "btnSearch"; this.btnSearch.Size = new System.Drawing.Size(94, 23); this.btnSearch.TabIndex = 10; this.btnSearch.Text = "Search"; this.btnSearch.Theme = POS.Control.Theme.MSOffice2010_WHITE; this.btnSearch.UseVisualStyleBackColor = true; this.btnSearch.Click += new System.EventHandler(this.btnSearch_Click); // // txtClosePeriodBy // this.txtClosePeriodBy.Location = new System.Drawing.Point(511, 98); this.txtClosePeriodBy.Name = "txtClosePeriodBy"; this.txtClosePeriodBy.Size = new System.Drawing.Size(188, 20); this.txtClosePeriodBy.TabIndex = 9; // // txtPeriodName // this.txtPeriodName.Location = new System.Drawing.Point(511, 33); this.txtPeriodName.Name = "txtPeriodName"; this.txtPeriodName.Size = new System.Drawing.Size(188, 20); this.txtPeriodName.TabIndex = 8; // // txtOpenPeriodBy // this.txtOpenPeriodBy.Location = new System.Drawing.Point(141, 102); this.txtOpenPeriodBy.Name = "txtOpenPeriodBy"; this.txtOpenPeriodBy.Size = new System.Drawing.Size(188, 20); this.txtOpenPeriodBy.TabIndex = 7; // // txtPeriodDesc // this.txtPeriodDesc.Location = new System.Drawing.Point(141, 68); this.txtPeriodDesc.Name = "txtPeriodDesc"; this.txtPeriodDesc.Size = new System.Drawing.Size(188, 20); this.txtPeriodDesc.TabIndex = 6; // // txtPeriodCode // this.txtPeriodCode.Location = new System.Drawing.Point(141, 36); this.txtPeriodCode.Name = "txtPeriodCode"; this.txtPeriodCode.Size = new System.Drawing.Size(188, 20); this.txtPeriodCode.TabIndex = 5; // // label4 // this.label4.AutoSize = true; this.label4.Location = new System.Drawing.Point(408, 105); this.label4.Name = "label4"; this.label4.Size = new System.Drawing.Size(81, 13); this.label4.TabIndex = 4; this.label4.Text = "Close Period By"; // // label3 // this.label3.AutoSize = true; this.label3.Location = new System.Drawing.Point(41, 105); this.label3.Name = "label3"; this.label3.Size = new System.Drawing.Size(81, 13); this.label3.TabIndex = 3; this.label3.Text = "Open Period By"; // // label2 // this.label2.AutoSize = true; this.label2.Location = new System.Drawing.Point(408, 36); this.label2.Name = "label2"; this.label2.Size = new System.Drawing.Size(68, 13); this.label2.TabIndex = 2; this.label2.Text = "Period Name"; // // label1 // this.label1.AutoSize = true; this.label1.Location = new System.Drawing.Point(41, 68); this.label1.Name = "label1"; this.label1.Size = new System.Drawing.Size(65, 13); this.label1.TabIndex = 1; this.label1.Text = "Period Desc"; // // lblPeriodCode // this.lblPeriodCode.AutoSize = true; this.lblPeriodCode.Location = new System.Drawing.Point(41, 36); this.lblPeriodCode.Name = "lblPeriodCode"; this.lblPeriodCode.Size = new System.Drawing.Size(65, 13); this.lblPeriodCode.TabIndex = 0; this.lblPeriodCode.Text = "Period Code"; // // grdWorkPeriod // dataGridViewCellStyle3.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleCenter; dataGridViewCellStyle3.BackColor = System.Drawing.SystemColors.Control; dataGridViewCellStyle3.Font = new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); dataGridViewCellStyle3.ForeColor = System.Drawing.SystemColors.WindowText; dataGridViewCellStyle3.SelectionBackColor = System.Drawing.SystemColors.Highlight; dataGridViewCellStyle3.SelectionForeColor = System.Drawing.SystemColors.HighlightText; dataGridViewCellStyle3.WrapMode = System.Windows.Forms.DataGridViewTriState.True; this.grdWorkPeriod.ColumnHeadersDefaultCellStyle = dataGridViewCellStyle3; this.grdWorkPeriod.ColumnHeadersHeightSizeMode = System.Windows.Forms.DataGridViewColumnHeadersHeightSizeMode.AutoSize; this.grdWorkPeriod.Columns.AddRange(new System.Windows.Forms.DataGridViewColumn[] { this.period_code, this.period_name, this.period_description, this.open_period_by, this.open_period_date, this.close_period_by, this.close_period_date }); this.grdWorkPeriod.Dock = System.Windows.Forms.DockStyle.Fill; this.grdWorkPeriod.Location = new System.Drawing.Point(3, 197); this.grdWorkPeriod.Name = "grdWorkPeriod"; this.grdWorkPeriod.Size = new System.Drawing.Size(750, 530); this.grdWorkPeriod.TabIndex = 1; // // period_code // this.period_code.DataPropertyName = "period_code"; this.period_code.Frozen = true; this.period_code.HeaderText = "Period Code"; this.period_code.Name = "period_code"; this.period_code.ReadOnly = true; // // period_name // this.period_name.DataPropertyName = "period_name"; dataGridViewCellStyle4.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleCenter; dataGridViewCellStyle4.WrapMode = System.Windows.Forms.DataGridViewTriState.True; this.period_name.DefaultCellStyle = dataGridViewCellStyle4; this.period_name.Frozen = true; this.period_name.HeaderText = "Period Name"; this.period_name.Name = "period_name"; this.period_name.ReadOnly = true; // // period_description // this.period_description.DataPropertyName = "period_description"; this.period_description.HeaderText = "Description"; this.period_description.Name = "period_description"; this.period_description.ReadOnly = true; // // open_period_by // this.open_period_by.DataPropertyName = "open_period_by"; this.open_period_by.HeaderText = "Open By"; this.open_period_by.Name = "open_period_by"; this.open_period_by.ReadOnly = true; // // open_period_date // this.open_period_date.DataPropertyName = "open_period_date"; this.open_period_date.HeaderText = "Open Date"; this.open_period_date.Name = "open_period_date"; this.open_period_date.ReadOnly = true; // // close_period_by // this.close_period_by.DataPropertyName = "close_period_by"; this.close_period_by.HeaderText = "Close By"; this.close_period_by.Name = "close_period_by"; this.close_period_by.ReadOnly = true; // // close_period_date // this.close_period_date.DataPropertyName = "close_period_date"; this.close_period_date.HeaderText = "Close Date"; this.close_period_date.Name = "close_period_date"; this.close_period_date.ReadOnly = true; // // flowLayoutPanel1 // this.flowLayoutPanel1.Controls.Add(this.btnStartPeriod); this.flowLayoutPanel1.Controls.Add(this.btnEndPeriod); this.flowLayoutPanel1.Dock = System.Windows.Forms.DockStyle.Fill; this.flowLayoutPanel1.Location = new System.Drawing.Point(759, 3); this.flowLayoutPanel1.Name = "flowLayoutPanel1"; this.flowLayoutPanel1.Size = new System.Drawing.Size(246, 188); this.flowLayoutPanel1.TabIndex = 3; // // btnStartPeriod // this.btnStartPeriod.CommandArg = null; this.btnStartPeriod.Dock = System.Windows.Forms.DockStyle.Top; this.btnStartPeriod.Location = new System.Drawing.Point(3, 5); this.btnStartPeriod.Margin = new System.Windows.Forms.Padding(3, 5, 3, 3); this.btnStartPeriod.Name = "btnStartPeriod"; this.btnStartPeriod.Size = new System.Drawing.Size(243, 82); this.btnStartPeriod.TabIndex = 2; this.btnStartPeriod.Text = "Start Work Period"; this.btnStartPeriod.Theme = POS.Control.Theme.MSOffice2010_Green; this.btnStartPeriod.UseVisualStyleBackColor = true; // // btnEndPeriod // this.btnEndPeriod.CommandArg = null; this.btnEndPeriod.Dock = System.Windows.Forms.DockStyle.Top; this.btnEndPeriod.Location = new System.Drawing.Point(3, 105); this.btnEndPeriod.Margin = new System.Windows.Forms.Padding(3, 15, 3, 3); this.btnEndPeriod.Name = "btnEndPeriod"; this.btnEndPeriod.Size = new System.Drawing.Size(243, 82); this.btnEndPeriod.TabIndex = 3; this.btnEndPeriod.Text = "End Work Period"; this.btnEndPeriod.Theme = POS.Control.Theme.MSOffice2010_RED; this.btnEndPeriod.UseVisualStyleBackColor = true; // // panel1 // this.panel1.Controls.Add(this.txtCurrentOpenPeriodDate); this.panel1.Controls.Add(this.label10); this.panel1.Controls.Add(this.txtCurrentOpenPeriodBy); this.panel1.Controls.Add(this.label9); this.panel1.Controls.Add(this.txtCurrentPeriodName); this.panel1.Controls.Add(this.label8); this.panel1.Controls.Add(this.txtCurrentPeriodCode); this.panel1.Controls.Add(this.label7); this.panel1.Controls.Add(this.txtTimeOfWorkPeriod); this.panel1.Controls.Add(this.label6); this.panel1.Controls.Add(this.txtDateOfWorkPeriod); this.panel1.Controls.Add(this.label5); this.panel1.Dock = System.Windows.Forms.DockStyle.Fill; this.panel1.Location = new System.Drawing.Point(759, 197); this.panel1.Name = "panel1"; this.panel1.Size = new System.Drawing.Size(246, 530); this.panel1.TabIndex = 4; // // txtCurrentOpenPeriodDate // this.txtCurrentOpenPeriodDate.Location = new System.Drawing.Point(99, 226); this.txtCurrentOpenPeriodDate.Name = "txtCurrentOpenPeriodDate"; this.txtCurrentOpenPeriodDate.Size = new System.Drawing.Size(141, 20); this.txtCurrentOpenPeriodDate.TabIndex = 11; // // label10 // this.label10.AutoSize = true; this.label10.Location = new System.Drawing.Point(3, 229); this.label10.Name = "label10"; this.label10.Size = new System.Drawing.Size(92, 13); this.label10.TabIndex = 10; this.label10.Text = "Open Period Date"; // // txtCurrentOpenPeriodBy // this.txtCurrentOpenPeriodBy.Location = new System.Drawing.Point(99, 195); this.txtCurrentOpenPeriodBy.Name = "txtCurrentOpenPeriodBy"; this.txtCurrentOpenPeriodBy.Size = new System.Drawing.Size(141, 20); this.txtCurrentOpenPeriodBy.TabIndex = 9; // // label9 // this.label9.AutoSize = true; this.label9.Location = new System.Drawing.Point(3, 198); this.label9.Name = "label9"; this.label9.Size = new System.Drawing.Size(81, 13); this.label9.TabIndex = 8; this.label9.Text = "Open Period By"; // // txtCurrentPeriodName // this.txtCurrentPeriodName.Location = new System.Drawing.Point(99, 162); this.txtCurrentPeriodName.Name = "txtCurrentPeriodName"; this.txtCurrentPeriodName.Size = new System.Drawing.Size(141, 20); this.txtCurrentPeriodName.TabIndex = 7; // // label8 // this.label8.AutoSize = true; this.label8.Location = new System.Drawing.Point(3, 165); this.label8.Name = "label8"; this.label8.Size = new System.Drawing.Size(68, 13); this.label8.TabIndex = 6; this.label8.Text = "Period Name"; // // txtCurrentPeriodCode // this.txtCurrentPeriodCode.Location = new System.Drawing.Point(99, 130); this.txtCurrentPeriodCode.Name = "txtCurrentPeriodCode"; this.txtCurrentPeriodCode.Size = new System.Drawing.Size(141, 20); this.txtCurrentPeriodCode.TabIndex = 5; // // label7 // this.label7.AutoSize = true; this.label7.Location = new System.Drawing.Point(3, 133); this.label7.Name = "label7"; this.label7.Size = new System.Drawing.Size(65, 13); this.label7.TabIndex = 4; this.label7.Text = "Period Code"; // // txtTimeOfWorkPeriod // this.txtTimeOfWorkPeriod.Location = new System.Drawing.Point(3, 83); this.txtTimeOfWorkPeriod.Name = "txtTimeOfWorkPeriod"; this.txtTimeOfWorkPeriod.Size = new System.Drawing.Size(130, 20); this.txtTimeOfWorkPeriod.TabIndex = 3; // // label6 // this.label6.AutoSize = true; this.label6.Location = new System.Drawing.Point(3, 67); this.label6.Name = "label6"; this.label6.Size = new System.Drawing.Size(104, 13); this.label6.TabIndex = 2; this.label6.Text = "Time of Work Period"; // // txtDateOfWorkPeriod // this.txtDateOfWorkPeriod.Location = new System.Drawing.Point(3, 27); this.txtDateOfWorkPeriod.Name = "txtDateOfWorkPeriod"; this.txtDateOfWorkPeriod.Size = new System.Drawing.Size(130, 20); this.txtDateOfWorkPeriod.TabIndex = 1; // // label5 // this.label5.AutoSize = true; this.label5.Location = new System.Drawing.Point(3, 10); this.label5.Name = "label5"; this.label5.Size = new System.Drawing.Size(104, 13); this.label5.TabIndex = 0; this.label5.Text = "Date of Work Period"; // // WorkPeriodSetup // this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F); this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font; this.ClientSize = new System.Drawing.Size(1008, 730); this.Controls.Add(this.tableLayoutPanel1); this.Name = "WorkPeriodSetup"; this.Text = "WorkPeriod"; this.Shown += new System.EventHandler(this.loadData); this.tableLayoutPanel1.ResumeLayout(false); this.Search.ResumeLayout(false); this.Search.PerformLayout(); ((System.ComponentModel.ISupportInitialize)(this.grdWorkPeriod)).EndInit(); this.flowLayoutPanel1.ResumeLayout(false); this.panel1.ResumeLayout(false); this.panel1.PerformLayout(); this.ResumeLayout(false); }