Пример #1
0
 private void FormCliente_Load(object sender, EventArgs e)
 {
     this.Top  = 0;
     this.Left = 0;
     Clear();
     Mostrar();
     ReSize._get_initial_size();
 }
Пример #2
0
        private void FormArticulo_Load(object sender, EventArgs e)
        {
            this.Top  = 0;
            this.Left = 0;

            Mostrar();
            ReSize._get_initial_size();
        }
Пример #3
0
 private void FormIngreso_Load(object sender, EventArgs e)
 {
     Top  = 0;
     Left = 0;
     Mostrar();
     Clear();
     ReSize._get_initial_size();
 }
Пример #4
0
 private void FormCliente_Load(object sender, EventArgs e)
 {
     this.Top  = 0;
     this.Left = 0;
     LoadTheme(L_Registros);
     MostrarTodoslosRegistrosCargados();
     ReSize._get_initial_size();
 }
Пример #5
0
 private void FormVenta_Load(object sender, EventArgs e)
 {
     this.Top  = 0;
     this.Left = 0;
     LoadTheme();
     ReSize._get_initial_size();
     SetupColumnsCargadas();
 }
 private void InitializeComponent()
 {
     this.components = new System.ComponentModel.Container();
     System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(frm_kampala_active_guards_report));
     this.panel1 = new System.Windows.Forms.Panel();
     this.cr_active_kampala_guards_report = new CrystalDecisions.Windows.Forms.CrystalReportViewer();
     this.reSize1 = new LarcomAndYoung.Windows.Forms.ReSize(this.components);
     this.panel1.SuspendLayout();
     this.SuspendLayout();
     //
     // panel1
     //
     this.panel1.Controls.Add(this.cr_active_kampala_guards_report);
     this.panel1.Location = new System.Drawing.Point(1, 1);
     this.panel1.Name     = "panel1";
     this.panel1.Size     = new System.Drawing.Size(848, 599);
     this.panel1.TabIndex = 0;
     //
     // cr_active_kampala_guards_report
     //
     this.cr_active_kampala_guards_report.ActiveViewIndex = -1;
     this.cr_active_kampala_guards_report.BorderStyle     = System.Windows.Forms.BorderStyle.FixedSingle;
     this.cr_active_kampala_guards_report.Cursor          = System.Windows.Forms.Cursors.Default;
     this.cr_active_kampala_guards_report.Dock            = System.Windows.Forms.DockStyle.Fill;
     this.cr_active_kampala_guards_report.Location        = new System.Drawing.Point(0, 0);
     this.cr_active_kampala_guards_report.Name            = "cr_active_kampala_guards_report";
     this.cr_active_kampala_guards_report.Size            = new System.Drawing.Size(848, 599);
     this.cr_active_kampala_guards_report.TabIndex        = 0;
     //
     // reSize1
     //
     this.reSize1.About = null;
     this.reSize1.AutoCenterFormOnLoad = false;
     this.reSize1.Enabled       = true;
     this.reSize1.HostContainer = this;
     this.reSize1.InitialHostContainerHeight = 602D;
     this.reSize1.InitialHostContainerWidth  = 850D;
     this.reSize1.Tag = null;
     //
     // frm_kampala_active_guards_report
     //
     this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F);
     this.AutoScaleMode       = System.Windows.Forms.AutoScaleMode.Font;
     this.BackColor           = System.Drawing.Color.FromArgb(((int)(((byte)(224)))), ((int)(((byte)(224)))), ((int)(((byte)(224)))));
     this.ClientSize          = new System.Drawing.Size(850, 602);
     this.Controls.Add(this.panel1);
     this.Icon          = ((System.Drawing.Icon)(resources.GetObject("$this.Icon")));
     this.Name          = "frm_kampala_active_guards_report";
     this.StartPosition = System.Windows.Forms.FormStartPosition.CenterScreen;
     this.Text          = "Kampala Active Guards Report by Division";
     this.Load         += new System.EventHandler(this.frm_kampala_active_guards_report_Load);
     this.panel1.ResumeLayout(false);
     this.ResumeLayout(false);
 }
 private void InitializeComponent()
 {
     this.components = new System.ComponentModel.Container();
     System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(frm_guard_bank_details));
     this.panel1    = new System.Windows.Forms.Panel();
     this.btnsearch = new System.Windows.Forms.Button();
     this.txt_guard_number_search = new System.Windows.Forms.TextBox();
     this.label9             = new System.Windows.Forms.Label();
     this.cbo_branch_search  = new System.Windows.Forms.ComboBox();
     this.label7             = new System.Windows.Forms.Label();
     this.label8             = new System.Windows.Forms.Label();
     this.panel3             = new System.Windows.Forms.Panel();
     this.gdv_guards         = new System.Windows.Forms.DataGridView();
     this.label2             = new System.Windows.Forms.Label();
     this.panel2             = new System.Windows.Forms.Panel();
     this.txtTin             = new System.Windows.Forms.TextBox();
     this.label11            = new System.Windows.Forms.Label();
     this.label10            = new System.Windows.Forms.Label();
     this.txt_guard_number   = new System.Windows.Forms.TextBox();
     this.btnnew             = new System.Windows.Forms.Button();
     this.btnedit            = new System.Windows.Forms.Button();
     this.btnsave            = new System.Windows.Forms.Button();
     this.txt_nssf_number    = new System.Windows.Forms.TextBox();
     this.label6             = new System.Windows.Forms.Label();
     this.txt_account_number = new System.Windows.Forms.TextBox();
     this.label5             = new System.Windows.Forms.Label();
     this.cbo_branch_name    = new System.Windows.Forms.ComboBox();
     this.label4             = new System.Windows.Forms.Label();
     this.cbo_bank           = new System.Windows.Forms.ComboBox();
     this.label3             = new System.Windows.Forms.Label();
     this.label1             = new System.Windows.Forms.Label();
     this.reSize1            = new LarcomAndYoung.Windows.Forms.ReSize(this.components);
     this.txtAutoID          = new System.Windows.Forms.TextBox();
     this.label12            = new System.Windows.Forms.Label();
     this.panel1.SuspendLayout();
     this.panel3.SuspendLayout();
     ((System.ComponentModel.ISupportInitialize)(this.gdv_guards)).BeginInit();
     this.panel2.SuspendLayout();
     this.SuspendLayout();
     //
     // panel1
     //
     this.panel1.BackColor = System.Drawing.Color.Azure;
     this.panel1.Controls.Add(this.btnsearch);
     this.panel1.Controls.Add(this.txt_guard_number_search);
     this.panel1.Controls.Add(this.label9);
     this.panel1.Controls.Add(this.cbo_branch_search);
     this.panel1.Controls.Add(this.label7);
     this.panel1.Controls.Add(this.label8);
     this.panel1.Controls.Add(this.panel3);
     this.panel1.Controls.Add(this.label2);
     this.panel1.Controls.Add(this.panel2);
     this.panel1.Location = new System.Drawing.Point(3, 30);
     this.panel1.Margin   = new System.Windows.Forms.Padding(4);
     this.panel1.Name     = "panel1";
     this.panel1.Size     = new System.Drawing.Size(937, 572);
     this.panel1.TabIndex = 0;
     //
     // btnsearch
     //
     this.btnsearch.Location = new System.Drawing.Point(632, 167);
     this.btnsearch.Margin   = new System.Windows.Forms.Padding(4);
     this.btnsearch.Name     = "btnsearch";
     this.btnsearch.Size     = new System.Drawing.Size(100, 28);
     this.btnsearch.TabIndex = 11;
     this.btnsearch.Text     = "search";
     this.btnsearch.UseVisualStyleBackColor = true;
     this.btnsearch.Click += new System.EventHandler(this.btnsearch_Click);
     //
     // txt_guard_number_search
     //
     this.txt_guard_number_search.Font     = new System.Drawing.Font("Microsoft Sans Serif", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.txt_guard_number_search.Location = new System.Drawing.Point(437, 162);
     this.txt_guard_number_search.Margin   = new System.Windows.Forms.Padding(4);
     this.txt_guard_number_search.Name     = "txt_guard_number_search";
     this.txt_guard_number_search.Size     = new System.Drawing.Size(185, 30);
     this.txt_guard_number_search.TabIndex = 11;
     //
     // label9
     //
     this.label9.AutoSize = true;
     this.label9.Location = new System.Drawing.Point(328, 172);
     this.label9.Margin   = new System.Windows.Forms.Padding(4, 0, 4, 0);
     this.label9.Name     = "label9";
     this.label9.Size     = new System.Drawing.Size(102, 17);
     this.label9.TabIndex = 12;
     this.label9.Text     = "Guard Number";
     //
     // cbo_branch_search
     //
     this.cbo_branch_search.DropDownStyle     = System.Windows.Forms.ComboBoxStyle.DropDownList;
     this.cbo_branch_search.Font              = new System.Drawing.Font("Microsoft Sans Serif", 9.75F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.cbo_branch_search.FormattingEnabled = true;
     this.cbo_branch_search.Location          = new System.Drawing.Point(67, 166);
     this.cbo_branch_search.Margin            = new System.Windows.Forms.Padding(4);
     this.cbo_branch_search.Name              = "cbo_branch_search";
     this.cbo_branch_search.Size              = new System.Drawing.Size(231, 28);
     this.cbo_branch_search.TabIndex          = 11;
     //
     // label7
     //
     this.label7.AutoSize = true;
     this.label7.Location = new System.Drawing.Point(4, 172);
     this.label7.Margin   = new System.Windows.Forms.Padding(4, 0, 4, 0);
     this.label7.Name     = "label7";
     this.label7.Size     = new System.Drawing.Size(53, 17);
     this.label7.TabIndex = 11;
     this.label7.Text     = "Branch";
     //
     // label8
     //
     this.label8.AutoSize  = true;
     this.label8.BackColor = System.Drawing.Color.Yellow;
     this.label8.Location  = new System.Drawing.Point(4, 148);
     this.label8.Margin    = new System.Windows.Forms.Padding(4, 0, 4, 0);
     this.label8.Name      = "label8";
     this.label8.Size      = new System.Drawing.Size(144, 17);
     this.label8.TabIndex  = 1;
     this.label8.Text      = "Search Guards below";
     //
     // panel3
     //
     this.panel3.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(255)))), ((int)(((byte)(224)))), ((int)(((byte)(192)))));
     this.panel3.Controls.Add(this.gdv_guards);
     this.panel3.Location = new System.Drawing.Point(7, 202);
     this.panel3.Margin   = new System.Windows.Forms.Padding(4);
     this.panel3.Name     = "panel3";
     this.panel3.Size     = new System.Drawing.Size(927, 367);
     this.panel3.TabIndex = 2;
     //
     // gdv_guards
     //
     this.gdv_guards.AllowUserToAddRows          = false;
     this.gdv_guards.AllowUserToDeleteRows       = false;
     this.gdv_guards.AllowUserToResizeColumns    = false;
     this.gdv_guards.AllowUserToResizeRows       = false;
     this.gdv_guards.AutoSizeColumnsMode         = System.Windows.Forms.DataGridViewAutoSizeColumnsMode.Fill;
     this.gdv_guards.ColumnHeadersHeightSizeMode = System.Windows.Forms.DataGridViewColumnHeadersHeightSizeMode.AutoSize;
     this.gdv_guards.Location   = new System.Drawing.Point(7, 4);
     this.gdv_guards.Margin     = new System.Windows.Forms.Padding(4);
     this.gdv_guards.Name       = "gdv_guards";
     this.gdv_guards.Size       = new System.Drawing.Size(916, 359);
     this.gdv_guards.TabIndex   = 0;
     this.gdv_guards.CellClick += new System.Windows.Forms.DataGridViewCellEventHandler(this.gdv_guards_CellClick);
     //
     // label2
     //
     this.label2.AutoSize  = true;
     this.label2.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(255)))), ((int)(((byte)(192)))), ((int)(((byte)(128)))));
     this.label2.Location  = new System.Drawing.Point(3, 1);
     this.label2.Margin    = new System.Windows.Forms.Padding(4, 0, 4, 0);
     this.label2.Name      = "label2";
     this.label2.Size      = new System.Drawing.Size(122, 17);
     this.label2.TabIndex  = 1;
     this.label2.Text      = "Enter Details here";
     //
     // panel2
     //
     this.panel2.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(224)))), ((int)(((byte)(224)))), ((int)(((byte)(224)))));
     this.panel2.Controls.Add(this.label12);
     this.panel2.Controls.Add(this.txtAutoID);
     this.panel2.Controls.Add(this.txtTin);
     this.panel2.Controls.Add(this.label11);
     this.panel2.Controls.Add(this.label10);
     this.panel2.Controls.Add(this.txt_guard_number);
     this.panel2.Controls.Add(this.btnnew);
     this.panel2.Controls.Add(this.btnedit);
     this.panel2.Controls.Add(this.btnsave);
     this.panel2.Controls.Add(this.txt_nssf_number);
     this.panel2.Controls.Add(this.label6);
     this.panel2.Controls.Add(this.txt_account_number);
     this.panel2.Controls.Add(this.label5);
     this.panel2.Controls.Add(this.cbo_branch_name);
     this.panel2.Controls.Add(this.label4);
     this.panel2.Controls.Add(this.cbo_bank);
     this.panel2.Controls.Add(this.label3);
     this.panel2.Location = new System.Drawing.Point(7, 21);
     this.panel2.Margin   = new System.Windows.Forms.Padding(4);
     this.panel2.Name     = "panel2";
     this.panel2.Size     = new System.Drawing.Size(927, 123);
     this.panel2.TabIndex = 0;
     //
     // txtTin
     //
     this.txtTin.Font     = new System.Drawing.Font("Microsoft Sans Serif", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.txtTin.Location = new System.Drawing.Point(480, 79);
     this.txtTin.Margin   = new System.Windows.Forms.Padding(4);
     this.txtTin.Name     = "txtTin";
     this.txtTin.Size     = new System.Drawing.Size(127, 30);
     this.txtTin.TabIndex = 14;
     //
     // label11
     //
     this.label11.AutoSize = true;
     this.label11.Location = new System.Drawing.Point(480, 58);
     this.label11.Margin   = new System.Windows.Forms.Padding(4, 0, 4, 0);
     this.label11.Name     = "label11";
     this.label11.Size     = new System.Drawing.Size(82, 17);
     this.label11.TabIndex = 13;
     this.label11.Text     = "Tin Number";
     //
     // label10
     //
     this.label10.AutoSize  = true;
     this.label10.BackColor = System.Drawing.Color.Yellow;
     this.label10.Location  = new System.Drawing.Point(623, 5);
     this.label10.Margin    = new System.Windows.Forms.Padding(4, 0, 4, 0);
     this.label10.Name      = "label10";
     this.label10.Size      = new System.Drawing.Size(102, 17);
     this.label10.TabIndex  = 12;
     this.label10.Text      = "Guard Number";
     //
     // txt_guard_number
     //
     this.txt_guard_number.Enabled  = false;
     this.txt_guard_number.Font     = new System.Drawing.Font("Microsoft Sans Serif", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.txt_guard_number.Location = new System.Drawing.Point(624, 25);
     this.txt_guard_number.Margin   = new System.Windows.Forms.Padding(4);
     this.txt_guard_number.Name     = "txt_guard_number";
     this.txt_guard_number.Size     = new System.Drawing.Size(172, 30);
     this.txt_guard_number.TabIndex = 11;
     //
     // btnnew
     //
     this.btnnew.Location = new System.Drawing.Point(827, 81);
     this.btnnew.Margin   = new System.Windows.Forms.Padding(4);
     this.btnnew.Name     = "btnnew";
     this.btnnew.Size     = new System.Drawing.Size(96, 28);
     this.btnnew.TabIndex = 10;
     this.btnnew.Text     = "New";
     this.btnnew.UseVisualStyleBackColor = true;
     this.btnnew.Click += new System.EventHandler(this.btnnew_Click);
     //
     // btnedit
     //
     this.btnedit.Location = new System.Drawing.Point(723, 81);
     this.btnedit.Margin   = new System.Windows.Forms.Padding(4);
     this.btnedit.Name     = "btnedit";
     this.btnedit.Size     = new System.Drawing.Size(100, 28);
     this.btnedit.TabIndex = 9;
     this.btnedit.Text     = "Edit";
     this.btnedit.UseVisualStyleBackColor = true;
     //
     // btnsave
     //
     this.btnsave.Location = new System.Drawing.Point(615, 81);
     this.btnsave.Margin   = new System.Windows.Forms.Padding(4);
     this.btnsave.Name     = "btnsave";
     this.btnsave.Size     = new System.Drawing.Size(100, 28);
     this.btnsave.TabIndex = 8;
     this.btnsave.Text     = "save";
     this.btnsave.UseVisualStyleBackColor = true;
     this.btnsave.Click += new System.EventHandler(this.btnsave_Click);
     //
     // txt_nssf_number
     //
     this.txt_nssf_number.Font     = new System.Drawing.Font("Microsoft Sans Serif", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.txt_nssf_number.Location = new System.Drawing.Point(325, 78);
     this.txt_nssf_number.Margin   = new System.Windows.Forms.Padding(4);
     this.txt_nssf_number.Name     = "txt_nssf_number";
     this.txt_nssf_number.Size     = new System.Drawing.Size(147, 30);
     this.txt_nssf_number.TabIndex = 7;
     //
     // label6
     //
     this.label6.AutoSize = true;
     this.label6.Location = new System.Drawing.Point(321, 58);
     this.label6.Margin   = new System.Windows.Forms.Padding(4, 0, 4, 0);
     this.label6.Name     = "label6";
     this.label6.Size     = new System.Drawing.Size(90, 17);
     this.label6.TabIndex = 6;
     this.label6.Text     = "Nssf Number";
     //
     // txt_account_number
     //
     this.txt_account_number.Font     = new System.Drawing.Font("Microsoft Sans Serif", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.txt_account_number.Location = new System.Drawing.Point(11, 78);
     this.txt_account_number.Margin   = new System.Windows.Forms.Padding(4);
     this.txt_account_number.Name     = "txt_account_number";
     this.txt_account_number.Size     = new System.Drawing.Size(280, 30);
     this.txt_account_number.TabIndex = 5;
     //
     // label5
     //
     this.label5.AutoSize = true;
     this.label5.Location = new System.Drawing.Point(7, 58);
     this.label5.Margin   = new System.Windows.Forms.Padding(4, 0, 4, 0);
     this.label5.Name     = "label5";
     this.label5.Size     = new System.Drawing.Size(113, 17);
     this.label5.TabIndex = 4;
     this.label5.Text     = "Account Number";
     //
     // cbo_branch_name
     //
     this.cbo_branch_name.Font = new System.Drawing.Font("Microsoft Sans Serif", 9.75F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.cbo_branch_name.FormattingEnabled = true;
     this.cbo_branch_name.Location          = new System.Drawing.Point(325, 25);
     this.cbo_branch_name.Margin            = new System.Windows.Forms.Padding(4);
     this.cbo_branch_name.Name     = "cbo_branch_name";
     this.cbo_branch_name.Size     = new System.Drawing.Size(280, 28);
     this.cbo_branch_name.TabIndex = 3;
     //
     // label4
     //
     this.label4.AutoSize = true;
     this.label4.Location = new System.Drawing.Point(321, 5);
     this.label4.Margin   = new System.Windows.Forms.Padding(4, 0, 4, 0);
     this.label4.Name     = "label4";
     this.label4.Size     = new System.Drawing.Size(94, 17);
     this.label4.TabIndex = 2;
     this.label4.Text     = "Branch Name";
     //
     // cbo_bank
     //
     this.cbo_bank.Font = new System.Drawing.Font("Microsoft Sans Serif", 9.75F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.cbo_bank.FormattingEnabled = true;
     this.cbo_bank.Location          = new System.Drawing.Point(11, 25);
     this.cbo_bank.Margin            = new System.Windows.Forms.Padding(4);
     this.cbo_bank.Name                  = "cbo_bank";
     this.cbo_bank.Size                  = new System.Drawing.Size(280, 28);
     this.cbo_bank.TabIndex              = 1;
     this.cbo_bank.SelectedIndexChanged += new System.EventHandler(this.cbo_bank_SelectedIndexChanged);
     //
     // label3
     //
     this.label3.AutoSize = true;
     this.label3.Location = new System.Drawing.Point(7, 5);
     this.label3.Margin   = new System.Windows.Forms.Padding(4, 0, 4, 0);
     this.label3.Name     = "label3";
     this.label3.Size     = new System.Drawing.Size(81, 17);
     this.label3.TabIndex = 0;
     this.label3.Text     = "Bank Name";
     //
     // label1
     //
     this.label1.AutoSize  = true;
     this.label1.BackColor = System.Drawing.Color.Yellow;
     this.label1.Location  = new System.Drawing.Point(5, 10);
     this.label1.Margin    = new System.Windows.Forms.Padding(4, 0, 4, 0);
     this.label1.Name      = "label1";
     this.label1.Size      = new System.Drawing.Size(297, 17);
     this.label1.TabIndex  = 0;
     this.label1.Text      = "Manage bank and Nssf information for guards";
     //
     // reSize1
     //
     this.reSize1.About = null;
     this.reSize1.AutoCenterFormOnLoad = false;
     this.reSize1.Enabled       = true;
     this.reSize1.HostContainer = this;
     this.reSize1.InitialHostContainerHeight = 604D;
     this.reSize1.InitialHostContainerWidth  = 941D;
     this.reSize1.Tag = null;
     //
     // txtAutoID
     //
     this.txtAutoID.Font     = new System.Drawing.Font("Microsoft Sans Serif", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.txtAutoID.Location = new System.Drawing.Point(804, 25);
     this.txtAutoID.Margin   = new System.Windows.Forms.Padding(4);
     this.txtAutoID.Name     = "txtAutoID";
     this.txtAutoID.Size     = new System.Drawing.Size(119, 30);
     this.txtAutoID.TabIndex = 15;
     //
     // label12
     //
     this.label12.AutoSize  = true;
     this.label12.BackColor = System.Drawing.Color.Yellow;
     this.label12.Location  = new System.Drawing.Point(801, 5);
     this.label12.Margin    = new System.Windows.Forms.Padding(4, 0, 4, 0);
     this.label12.Name      = "label12";
     this.label12.Size      = new System.Drawing.Size(64, 17);
     this.label12.TabIndex  = 16;
     this.label12.Text      = "AUTO ID";
     //
     // frm_guard_bank_details
     //
     this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.None;
     this.BackColor     = System.Drawing.Color.LavenderBlush;
     this.ClientSize    = new System.Drawing.Size(941, 604);
     this.Controls.Add(this.label1);
     this.Controls.Add(this.panel1);
     this.Icon          = ((System.Drawing.Icon)(resources.GetObject("$this.Icon")));
     this.Margin        = new System.Windows.Forms.Padding(4);
     this.Name          = "frm_guard_bank_details";
     this.StartPosition = System.Windows.Forms.FormStartPosition.CenterScreen;
     this.Text          = "Bank & NSSF Details";
     this.Load         += new System.EventHandler(this.frm_guard_bank_details_Load);
     this.panel1.ResumeLayout(false);
     this.panel1.PerformLayout();
     this.panel3.ResumeLayout(false);
     ((System.ComponentModel.ISupportInitialize)(this.gdv_guards)).EndInit();
     this.panel2.ResumeLayout(false);
     this.panel2.PerformLayout();
     this.ResumeLayout(false);
     this.PerformLayout();
 }
Пример #8
0
 private void InitializeComponent()
 {
     this.components = new System.ComponentModel.Container();
     System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(frm_guards_salary_scale_mapping_dashboard));
     this.panel1             = new System.Windows.Forms.Panel();
     this.gdv_guard_salaries = new System.Windows.Forms.DataGridView();
     this.reSize1            = new LarcomAndYoung.Windows.Forms.ReSize(this.components);
     this.panel1.SuspendLayout();
     ((System.ComponentModel.ISupportInitialize)(this.gdv_guard_salaries)).BeginInit();
     this.SuspendLayout();
     //
     // panel1
     //
     this.panel1.BackColor = System.Drawing.Color.Azure;
     this.panel1.Controls.Add(this.gdv_guard_salaries);
     this.panel1.Location = new System.Drawing.Point(3, 1);
     this.panel1.Name     = "panel1";
     this.panel1.Size     = new System.Drawing.Size(660, 508);
     this.panel1.TabIndex = 0;
     //
     // gdv_guard_salaries
     //
     this.gdv_guard_salaries.AllowUserToAddRows          = false;
     this.gdv_guard_salaries.AllowUserToDeleteRows       = false;
     this.gdv_guard_salaries.AllowUserToResizeColumns    = false;
     this.gdv_guard_salaries.AllowUserToResizeRows       = false;
     this.gdv_guard_salaries.AutoSizeColumnsMode         = System.Windows.Forms.DataGridViewAutoSizeColumnsMode.Fill;
     this.gdv_guard_salaries.ColumnHeadersHeightSizeMode = System.Windows.Forms.DataGridViewColumnHeadersHeightSizeMode.AutoSize;
     this.gdv_guard_salaries.Location = new System.Drawing.Point(9, 21);
     this.gdv_guard_salaries.Name     = "gdv_guard_salaries";
     this.gdv_guard_salaries.ReadOnly = true;
     this.gdv_guard_salaries.Size     = new System.Drawing.Size(648, 473);
     this.gdv_guard_salaries.TabIndex = 0;
     //
     // reSize1
     //
     this.reSize1.About = null;
     this.reSize1.AutoCenterFormOnLoad = false;
     this.reSize1.Enabled       = true;
     this.reSize1.HostContainer = this;
     this.reSize1.InitialHostContainerHeight = 521D;
     this.reSize1.InitialHostContainerWidth  = 667D;
     this.reSize1.Tag = null;
     //
     // frm_guards_salary_scale_mapping_dashboard
     //
     this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F);
     this.AutoScaleMode       = System.Windows.Forms.AutoScaleMode.Font;
     this.BackColor           = System.Drawing.Color.FromArgb(((int)(((byte)(192)))), ((int)(((byte)(255)))), ((int)(((byte)(255)))));
     this.ClientSize          = new System.Drawing.Size(667, 521);
     this.Controls.Add(this.panel1);
     this.FormBorderStyle = System.Windows.Forms.FormBorderStyle.FixedSingle;
     this.Icon            = ((System.Drawing.Icon)(resources.GetObject("$this.Icon")));
     this.Name            = "frm_guards_salary_scale_mapping_dashboard";
     this.StartPosition   = System.Windows.Forms.FormStartPosition.CenterScreen;
     this.Text            = "Guards Salaries";
     this.Load           += new System.EventHandler(this.frm_guards_salary_scale_mapping_dashboard_Load);
     this.panel1.ResumeLayout(false);
     ((System.ComponentModel.ISupportInitialize)(this.gdv_guard_salaries)).EndInit();
     this.ResumeLayout(false);
 }
Пример #9
0
 private void InitializeComponent()
 {
     this.components = new System.ComponentModel.Container();
     System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(frm_free_guard_number));
     this.panel1                  = new System.Windows.Forms.Panel();
     this.gdv_guards              = new System.Windows.Forms.DataGridView();
     this.panel2                  = new System.Windows.Forms.Panel();
     this.btnsearch               = new System.Windows.Forms.Button();
     this.txt_guard_number        = new System.Windows.Forms.TextBox();
     this.label1                  = new System.Windows.Forms.Label();
     this.label2                  = new System.Windows.Forms.Label();
     this.chk_data_archieve       = new System.Windows.Forms.CheckBox();
     this.chk_images              = new System.Windows.Forms.CheckBox();
     this.chk_remove              = new System.Windows.Forms.CheckBox();
     this.panel3                  = new System.Windows.Forms.Panel();
     this.btn_un_assigned         = new System.Windows.Forms.Button();
     this.txt_guard_number_remove = new System.Windows.Forms.TextBox();
     this.label3                  = new System.Windows.Forms.Label();
     this.txt_guid                = new System.Windows.Forms.TextBox();
     this.reSize1                 = new LarcomAndYoung.Windows.Forms.ReSize(this.components);
     this.panel1.SuspendLayout();
     ((System.ComponentModel.ISupportInitialize)(this.gdv_guards)).BeginInit();
     this.panel2.SuspendLayout();
     this.panel3.SuspendLayout();
     this.SuspendLayout();
     //
     // panel1
     //
     this.panel1.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(255)))), ((int)(((byte)(224)))), ((int)(((byte)(192)))));
     this.panel1.Controls.Add(this.gdv_guards);
     this.panel1.Location = new System.Drawing.Point(12, 93);
     this.panel1.Name     = "panel1";
     this.panel1.Size     = new System.Drawing.Size(873, 466);
     this.panel1.TabIndex = 0;
     //
     // gdv_guards
     //
     this.gdv_guards.AllowUserToAddRows          = false;
     this.gdv_guards.AllowUserToDeleteRows       = false;
     this.gdv_guards.AllowUserToResizeColumns    = false;
     this.gdv_guards.AllowUserToResizeRows       = false;
     this.gdv_guards.AutoSizeColumnsMode         = System.Windows.Forms.DataGridViewAutoSizeColumnsMode.Fill;
     this.gdv_guards.ColumnHeadersHeightSizeMode = System.Windows.Forms.DataGridViewColumnHeadersHeightSizeMode.AutoSize;
     this.gdv_guards.Location   = new System.Drawing.Point(3, 3);
     this.gdv_guards.Name       = "gdv_guards";
     this.gdv_guards.ReadOnly   = true;
     this.gdv_guards.Size       = new System.Drawing.Size(863, 456);
     this.gdv_guards.TabIndex   = 0;
     this.gdv_guards.CellClick += new System.Windows.Forms.DataGridViewCellEventHandler(this.gdv_guards_CellClick);
     //
     // panel2
     //
     this.panel2.BackColor   = System.Drawing.Color.Azure;
     this.panel2.BorderStyle = System.Windows.Forms.BorderStyle.Fixed3D;
     this.panel2.Controls.Add(this.btnsearch);
     this.panel2.Controls.Add(this.txt_guard_number);
     this.panel2.Controls.Add(this.label1);
     this.panel2.Location = new System.Drawing.Point(12, 21);
     this.panel2.Name     = "panel2";
     this.panel2.Size     = new System.Drawing.Size(342, 66);
     this.panel2.TabIndex = 1;
     //
     // btnsearch
     //
     this.btnsearch.Location = new System.Drawing.Point(194, 1);
     this.btnsearch.Name     = "btnsearch";
     this.btnsearch.Size     = new System.Drawing.Size(141, 60);
     this.btnsearch.TabIndex = 2;
     this.btnsearch.Text     = "SEARCH GUARD NUMBER";
     this.btnsearch.UseVisualStyleBackColor = true;
     this.btnsearch.Click += new System.EventHandler(this.btnsearch_Click);
     //
     // txt_guard_number
     //
     this.txt_guard_number.Font     = new System.Drawing.Font("Microsoft Sans Serif", 15.75F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.txt_guard_number.Location = new System.Drawing.Point(10, 24);
     this.txt_guard_number.Name     = "txt_guard_number";
     this.txt_guard_number.Size     = new System.Drawing.Size(163, 31);
     this.txt_guard_number.TabIndex = 1;
     //
     // label1
     //
     this.label1.AutoSize = true;
     this.label1.Font     = new System.Drawing.Font("Microsoft Sans Serif", 11.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.label1.Location = new System.Drawing.Point(7, 3);
     this.label1.Name     = "label1";
     this.label1.Size     = new System.Drawing.Size(106, 18);
     this.label1.TabIndex = 0;
     this.label1.Text     = "Guard Number";
     //
     // label2
     //
     this.label2.AutoSize  = true;
     this.label2.BackColor = System.Drawing.Color.Yellow;
     this.label2.Location  = new System.Drawing.Point(9, 5);
     this.label2.Name      = "label2";
     this.label2.Size      = new System.Drawing.Size(285, 13);
     this.label2.TabIndex  = 2;
     this.label2.Text      = "Search and select the guard number you want to un-assign";
     //
     // chk_data_archieve
     //
     this.chk_data_archieve.AutoSize   = true;
     this.chk_data_archieve.BackColor  = System.Drawing.Color.FromArgb(((int)(((byte)(255)))), ((int)(((byte)(192)))), ((int)(((byte)(128)))));
     this.chk_data_archieve.Checked    = true;
     this.chk_data_archieve.CheckState = System.Windows.Forms.CheckState.Checked;
     this.chk_data_archieve.Enabled    = false;
     this.chk_data_archieve.Location   = new System.Drawing.Point(379, 12);
     this.chk_data_archieve.Name       = "chk_data_archieve";
     this.chk_data_archieve.Size       = new System.Drawing.Size(207, 17);
     this.chk_data_archieve.TabIndex   = 3;
     this.chk_data_archieve.Text       = "Archieve Guard Details after un-assign";
     this.chk_data_archieve.UseVisualStyleBackColor = false;
     //
     // chk_images
     //
     this.chk_images.AutoSize   = true;
     this.chk_images.BackColor  = System.Drawing.Color.FromArgb(((int)(((byte)(255)))), ((int)(((byte)(192)))), ((int)(((byte)(128)))));
     this.chk_images.Checked    = true;
     this.chk_images.CheckState = System.Windows.Forms.CheckState.Checked;
     this.chk_images.Enabled    = false;
     this.chk_images.Location   = new System.Drawing.Point(379, 35);
     this.chk_images.Name       = "chk_images";
     this.chk_images.Size       = new System.Drawing.Size(137, 17);
     this.chk_images.TabIndex   = 4;
     this.chk_images.Text       = "Archieve Guard Images";
     this.chk_images.UseVisualStyleBackColor = false;
     //
     // chk_remove
     //
     this.chk_remove.AutoSize   = true;
     this.chk_remove.BackColor  = System.Drawing.Color.FromArgb(((int)(((byte)(255)))), ((int)(((byte)(192)))), ((int)(((byte)(128)))));
     this.chk_remove.Checked    = true;
     this.chk_remove.CheckState = System.Windows.Forms.CheckState.Checked;
     this.chk_remove.Enabled    = false;
     this.chk_remove.Location   = new System.Drawing.Point(379, 61);
     this.chk_remove.Name       = "chk_remove";
     this.chk_remove.Size       = new System.Drawing.Size(159, 17);
     this.chk_remove.TabIndex   = 5;
     this.chk_remove.Text       = "Remove from Active Guards";
     this.chk_remove.UseVisualStyleBackColor = false;
     //
     // panel3
     //
     this.panel3.BackColor   = System.Drawing.Color.FromArgb(((int)(((byte)(224)))), ((int)(((byte)(224)))), ((int)(((byte)(224)))));
     this.panel3.BorderStyle = System.Windows.Forms.BorderStyle.Fixed3D;
     this.panel3.Controls.Add(this.btn_un_assigned);
     this.panel3.Controls.Add(this.txt_guard_number_remove);
     this.panel3.Location = new System.Drawing.Point(592, 24);
     this.panel3.Name     = "panel3";
     this.panel3.Size     = new System.Drawing.Size(288, 60);
     this.panel3.TabIndex = 6;
     //
     // btn_un_assigned
     //
     this.btn_un_assigned.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(255)))), ((int)(((byte)(128)))), ((int)(((byte)(128)))));
     this.btn_un_assigned.Font      = new System.Drawing.Font("Microsoft Sans Serif", 9.75F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.btn_un_assigned.Location  = new System.Drawing.Point(190, 0);
     this.btn_un_assigned.Name      = "btn_un_assigned";
     this.btn_un_assigned.Size      = new System.Drawing.Size(91, 56);
     this.btn_un_assigned.TabIndex  = 4;
     this.btn_un_assigned.Text      = "Remove from Guard";
     this.btn_un_assigned.UseVisualStyleBackColor = false;
     this.btn_un_assigned.Click += new System.EventHandler(this.btn_un_assigned_Click);
     //
     // txt_guard_number_remove
     //
     this.txt_guard_number_remove.Font     = new System.Drawing.Font("Microsoft Sans Serif", 15.75F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.txt_guard_number_remove.Location = new System.Drawing.Point(3, 14);
     this.txt_guard_number_remove.Name     = "txt_guard_number_remove";
     this.txt_guard_number_remove.Size     = new System.Drawing.Size(181, 31);
     this.txt_guard_number_remove.TabIndex = 3;
     //
     // label3
     //
     this.label3.AutoSize  = true;
     this.label3.BackColor = System.Drawing.Color.Yellow;
     this.label3.Location  = new System.Drawing.Point(593, 5);
     this.label3.Name      = "label3";
     this.label3.Size      = new System.Drawing.Size(211, 13);
     this.label3.TabIndex  = 7;
     this.label3.Text      = "Selected Guard  Number to be un-assigned";
     //
     // txt_guid
     //
     this.txt_guid.BackColor = System.Drawing.SystemColors.ActiveCaptionText;
     this.txt_guid.ForeColor = System.Drawing.Color.White;
     this.txt_guid.Location  = new System.Drawing.Point(12, 562);
     this.txt_guid.Name      = "txt_guid";
     this.txt_guid.ReadOnly  = true;
     this.txt_guid.Size      = new System.Drawing.Size(873, 20);
     this.txt_guid.TabIndex  = 8;
     this.txt_guid.TextAlign = System.Windows.Forms.HorizontalAlignment.Center;
     //
     // reSize1
     //
     this.reSize1.About = null;
     this.reSize1.AutoCenterFormOnLoad = false;
     this.reSize1.Enabled       = true;
     this.reSize1.HostContainer = this;
     this.reSize1.InitialHostContainerHeight = 584D;
     this.reSize1.InitialHostContainerWidth  = 889D;
     this.reSize1.Tag = null;
     //
     // frm_free_guard_number
     //
     this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F);
     this.AutoScaleMode       = System.Windows.Forms.AutoScaleMode.Font;
     this.BackColor           = System.Drawing.Color.GhostWhite;
     this.ClientSize          = new System.Drawing.Size(889, 584);
     this.Controls.Add(this.txt_guid);
     this.Controls.Add(this.label3);
     this.Controls.Add(this.panel3);
     this.Controls.Add(this.chk_remove);
     this.Controls.Add(this.chk_images);
     this.Controls.Add(this.chk_data_archieve);
     this.Controls.Add(this.label2);
     this.Controls.Add(this.panel2);
     this.Controls.Add(this.panel1);
     this.FormBorderStyle = System.Windows.Forms.FormBorderStyle.Fixed3D;
     this.Icon            = ((System.Drawing.Icon)(resources.GetObject("$this.Icon")));
     this.Name            = "frm_free_guard_number";
     this.StartPosition   = System.Windows.Forms.FormStartPosition.CenterScreen;
     this.Text            = "Remove Assigned Number from a Guard";
     this.Load           += new System.EventHandler(this.frm_free_guard_number_Load);
     this.panel1.ResumeLayout(false);
     ((System.ComponentModel.ISupportInitialize)(this.gdv_guards)).EndInit();
     this.panel2.ResumeLayout(false);
     this.panel2.PerformLayout();
     this.panel3.ResumeLayout(false);
     this.panel3.PerformLayout();
     this.ResumeLayout(false);
     this.PerformLayout();
 }
 private void InitializeComponent()
 {
     this.components = new System.ComponentModel.Container();
     System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(frm_guard_deployment_summary_batch));
     this.panel1                 = new System.Windows.Forms.Panel();
     this.lblCount               = new System.Windows.Forms.Label();
     this.label9                 = new System.Windows.Forms.Label();
     this.chk_save_status        = new System.Windows.Forms.CheckBox();
     this.btn_search             = new System.Windows.Forms.Button();
     this.txt_guard_number       = new System.Windows.Forms.TextBox();
     this.label8                 = new System.Windows.Forms.Label();
     this.label7                 = new System.Windows.Forms.Label();
     this.panel3                 = new System.Windows.Forms.Panel();
     this.gdv_deployment_summary = new System.Windows.Forms.DataGridView();
     this.dt_end_date            = new System.Windows.Forms.DateTimePicker();
     this.label6                 = new System.Windows.Forms.Label();
     this.dt_start_date          = new System.Windows.Forms.DateTimePicker();
     this.label4                 = new System.Windows.Forms.Label();
     this.label2                 = new System.Windows.Forms.Label();
     this.panel2                 = new System.Windows.Forms.Panel();
     this.chk_apply_to_all       = new System.Windows.Forms.CheckBox();
     this.button3                = new System.Windows.Forms.Button();
     this.button1                = new System.Windows.Forms.Button();
     this.btn_update             = new System.Windows.Forms.Button();
     this.btn_guard_list         = new System.Windows.Forms.Button();
     this.cbo_working_shift      = new System.Windows.Forms.ComboBox();
     this.label3                 = new System.Windows.Forms.Label();
     this.cbo_branch             = new System.Windows.Forms.ComboBox();
     this.label1                 = new System.Windows.Forms.Label();
     this.dt_deployment_date     = new System.Windows.Forms.DateTimePicker();
     this.label5                 = new System.Windows.Forms.Label();
     this.reSize1                = new LarcomAndYoung.Windows.Forms.ReSize(this.components);
     this.panel1.SuspendLayout();
     this.panel3.SuspendLayout();
     ((System.ComponentModel.ISupportInitialize)(this.gdv_deployment_summary)).BeginInit();
     this.panel2.SuspendLayout();
     this.SuspendLayout();
     //
     // panel1
     //
     this.panel1.BackColor = System.Drawing.Color.Azure;
     this.panel1.Controls.Add(this.lblCount);
     this.panel1.Controls.Add(this.label9);
     this.panel1.Controls.Add(this.chk_save_status);
     this.panel1.Controls.Add(this.btn_search);
     this.panel1.Controls.Add(this.txt_guard_number);
     this.panel1.Controls.Add(this.label8);
     this.panel1.Controls.Add(this.label7);
     this.panel1.Controls.Add(this.panel3);
     this.panel1.Controls.Add(this.dt_end_date);
     this.panel1.Controls.Add(this.label6);
     this.panel1.Controls.Add(this.dt_start_date);
     this.panel1.Controls.Add(this.label4);
     this.panel1.Controls.Add(this.label2);
     this.panel1.Controls.Add(this.panel2);
     this.panel1.Location = new System.Drawing.Point(3, 2);
     this.panel1.Margin   = new System.Windows.Forms.Padding(4);
     this.panel1.Name     = "panel1";
     this.panel1.Size     = new System.Drawing.Size(1165, 703);
     this.panel1.TabIndex = 0;
     //
     // lblCount
     //
     this.lblCount.AutoSize  = true;
     this.lblCount.ForeColor = System.Drawing.Color.Blue;
     this.lblCount.Location  = new System.Drawing.Point(152, 15);
     this.lblCount.Name      = "lblCount";
     this.lblCount.Size      = new System.Drawing.Size(70, 13);
     this.lblCount.TabIndex  = 38;
     this.lblCount.Text      = "RecordCount";
     //
     // label9
     //
     this.label9.AutoSize  = true;
     this.label9.ForeColor = System.Drawing.Color.Red;
     this.label9.Location  = new System.Drawing.Point(527, 111);
     this.label9.Name      = "label9";
     this.label9.Size      = new System.Drawing.Size(311, 13);
     this.label9.TabIndex  = 37;
     this.label9.Text      = "Always update the customer,Firearm serial and ammunition count";
     //
     // chk_save_status
     //
     this.chk_save_status.AutoSize  = true;
     this.chk_save_status.BackColor = System.Drawing.Color.LightSteelBlue;
     this.chk_save_status.ForeColor = System.Drawing.Color.Black;
     this.chk_save_status.Location  = new System.Drawing.Point(952, 107);
     this.chk_save_status.Margin    = new System.Windows.Forms.Padding(4);
     this.chk_save_status.Name      = "chk_save_status";
     this.chk_save_status.Size      = new System.Drawing.Size(158, 17);
     this.chk_save_status.TabIndex  = 36;
     this.chk_save_status.Text      = "Records saved successfully";
     this.chk_save_status.UseVisualStyleBackColor = false;
     //
     // btn_search
     //
     this.btn_search.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(128)))), ((int)(((byte)(255)))), ((int)(((byte)(255)))));
     this.btn_search.Location  = new System.Drawing.Point(448, 100);
     this.btn_search.Margin    = new System.Windows.Forms.Padding(4);
     this.btn_search.Name      = "btn_search";
     this.btn_search.Size      = new System.Drawing.Size(75, 33);
     this.btn_search.TabIndex  = 34;
     this.btn_search.Text      = "Search";
     this.btn_search.UseVisualStyleBackColor = false;
     this.btn_search.Click += new System.EventHandler(this.btn_search_Click);
     //
     // txt_guard_number
     //
     this.txt_guard_number.Font     = new System.Drawing.Font("Microsoft Sans Serif", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.txt_guard_number.Location = new System.Drawing.Point(279, 105);
     this.txt_guard_number.Margin   = new System.Windows.Forms.Padding(4);
     this.txt_guard_number.Name     = "txt_guard_number";
     this.txt_guard_number.Size     = new System.Drawing.Size(160, 21);
     this.txt_guard_number.TabIndex = 35;
     //
     // label8
     //
     this.label8.AutoSize  = true;
     this.label8.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(255)))), ((int)(((byte)(192)))), ((int)(((byte)(128)))));
     this.label8.Font      = new System.Drawing.Font("Microsoft Sans Serif", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.label8.Location  = new System.Drawing.Point(152, 108);
     this.label8.Margin    = new System.Windows.Forms.Padding(4, 0, 4, 0);
     this.label8.Name      = "label8";
     this.label8.Size      = new System.Drawing.Size(89, 15);
     this.label8.TabIndex  = 34;
     this.label8.Text      = "Guard Number";
     //
     // label7
     //
     this.label7.AutoSize  = true;
     this.label7.BackColor = System.Drawing.Color.Yellow;
     this.label7.Font      = new System.Drawing.Font("Microsoft Sans Serif", 9.75F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.label7.Location  = new System.Drawing.Point(13, 108);
     this.label7.Margin    = new System.Windows.Forms.Padding(4, 0, 4, 0);
     this.label7.Name      = "label7";
     this.label7.Size      = new System.Drawing.Size(98, 16);
     this.label7.TabIndex  = 10;
     this.label7.Text      = "Search Guards";
     //
     // panel3
     //
     this.panel3.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(255)))), ((int)(((byte)(224)))), ((int)(((byte)(192)))));
     this.panel3.Controls.Add(this.gdv_deployment_summary);
     this.panel3.Location = new System.Drawing.Point(13, 132);
     this.panel3.Margin   = new System.Windows.Forms.Padding(4);
     this.panel3.Name     = "panel3";
     this.panel3.Size     = new System.Drawing.Size(1148, 560);
     this.panel3.TabIndex = 9;
     //
     // gdv_deployment_summary
     //
     this.gdv_deployment_summary.AllowUserToAddRows          = false;
     this.gdv_deployment_summary.AllowUserToDeleteRows       = false;
     this.gdv_deployment_summary.AllowUserToResizeColumns    = false;
     this.gdv_deployment_summary.AllowUserToResizeRows       = false;
     this.gdv_deployment_summary.AutoSizeColumnsMode         = System.Windows.Forms.DataGridViewAutoSizeColumnsMode.Fill;
     this.gdv_deployment_summary.ColumnHeadersHeightSizeMode = System.Windows.Forms.DataGridViewColumnHeadersHeightSizeMode.AutoSize;
     this.gdv_deployment_summary.Location         = new System.Drawing.Point(4, 4);
     this.gdv_deployment_summary.Margin           = new System.Windows.Forms.Padding(4);
     this.gdv_deployment_summary.Name             = "gdv_deployment_summary";
     this.gdv_deployment_summary.Size             = new System.Drawing.Size(1140, 553);
     this.gdv_deployment_summary.TabIndex         = 1;
     this.gdv_deployment_summary.CellDoubleClick += new System.Windows.Forms.DataGridViewCellEventHandler(this.gdv_deployment_summary_CellDoubleClick);
     //
     // dt_end_date
     //
     this.dt_end_date.Enabled      = false;
     this.dt_end_date.Font         = new System.Drawing.Font("Microsoft Sans Serif", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.dt_end_date.Format       = System.Windows.Forms.DateTimePickerFormat.Short;
     this.dt_end_date.Location     = new System.Drawing.Point(883, 4);
     this.dt_end_date.Margin       = new System.Windows.Forms.Padding(4);
     this.dt_end_date.Name         = "dt_end_date";
     this.dt_end_date.ShowCheckBox = true;
     this.dt_end_date.Size         = new System.Drawing.Size(155, 21);
     this.dt_end_date.TabIndex     = 8;
     //
     // label6
     //
     this.label6.AutoSize  = true;
     this.label6.BackColor = System.Drawing.Color.Yellow;
     this.label6.Font      = new System.Drawing.Font("Microsoft Sans Serif", 9.75F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.label6.Location  = new System.Drawing.Point(841, 9);
     this.label6.Margin    = new System.Windows.Forms.Padding(4, 0, 4, 0);
     this.label6.Name      = "label6";
     this.label6.Size      = new System.Drawing.Size(25, 16);
     this.label6.TabIndex  = 7;
     this.label6.Text      = "To";
     //
     // dt_start_date
     //
     this.dt_start_date.Enabled      = false;
     this.dt_start_date.Font         = new System.Drawing.Font("Microsoft Sans Serif", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.dt_start_date.Format       = System.Windows.Forms.DateTimePickerFormat.Short;
     this.dt_start_date.Location     = new System.Drawing.Point(648, 4);
     this.dt_start_date.Margin       = new System.Windows.Forms.Padding(4);
     this.dt_start_date.Name         = "dt_start_date";
     this.dt_start_date.ShowCheckBox = true;
     this.dt_start_date.Size         = new System.Drawing.Size(169, 21);
     this.dt_start_date.TabIndex     = 6;
     //
     // label4
     //
     this.label4.AutoSize  = true;
     this.label4.BackColor = System.Drawing.Color.Yellow;
     this.label4.Font      = new System.Drawing.Font("Microsoft Sans Serif", 9.75F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.label4.Location  = new System.Drawing.Point(429, 9);
     this.label4.Margin    = new System.Windows.Forms.Padding(4, 0, 4, 0);
     this.label4.Name      = "label4";
     this.label4.Size      = new System.Drawing.Size(158, 16);
     this.label4.TabIndex  = 5;
     this.label4.Text      = "Deployment Period From";
     //
     // label2
     //
     this.label2.AutoSize  = true;
     this.label2.BackColor = System.Drawing.Color.Yellow;
     this.label2.Font      = new System.Drawing.Font("Microsoft Sans Serif", 9.75F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.label2.Location  = new System.Drawing.Point(9, 9);
     this.label2.Margin    = new System.Windows.Forms.Padding(4, 0, 4, 0);
     this.label2.Name      = "label2";
     this.label2.Size      = new System.Drawing.Size(99, 16);
     this.label2.TabIndex  = 4;
     this.label2.Text      = "Deploy Guards";
     //
     // panel2
     //
     this.panel2.BackColor = System.Drawing.Color.Silver;
     this.panel2.Controls.Add(this.chk_apply_to_all);
     this.panel2.Controls.Add(this.button3);
     this.panel2.Controls.Add(this.button1);
     this.panel2.Controls.Add(this.btn_update);
     this.panel2.Controls.Add(this.btn_guard_list);
     this.panel2.Controls.Add(this.cbo_working_shift);
     this.panel2.Controls.Add(this.label3);
     this.panel2.Controls.Add(this.cbo_branch);
     this.panel2.Controls.Add(this.label1);
     this.panel2.Controls.Add(this.dt_deployment_date);
     this.panel2.Controls.Add(this.label5);
     this.panel2.Location = new System.Drawing.Point(13, 32);
     this.panel2.Margin   = new System.Windows.Forms.Padding(4);
     this.panel2.Name     = "panel2";
     this.panel2.Size     = new System.Drawing.Size(1148, 63);
     this.panel2.TabIndex = 0;
     //
     // chk_apply_to_all
     //
     this.chk_apply_to_all.AutoSize  = true;
     this.chk_apply_to_all.BackColor = System.Drawing.Color.Lime;
     this.chk_apply_to_all.Location  = new System.Drawing.Point(520, 33);
     this.chk_apply_to_all.Margin    = new System.Windows.Forms.Padding(4);
     this.chk_apply_to_all.Name      = "chk_apply_to_all";
     this.chk_apply_to_all.Size      = new System.Drawing.Size(77, 17);
     this.chk_apply_to_all.TabIndex  = 35;
     this.chk_apply_to_all.Text      = "Apply to all";
     this.chk_apply_to_all.UseVisualStyleBackColor = false;
     this.chk_apply_to_all.CheckedChanged         += new System.EventHandler(this.chk_apply_to_all_CheckedChanged);
     //
     // button3
     //
     this.button3.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(255)))), ((int)(((byte)(192)))), ((int)(((byte)(128)))));
     this.button3.Location  = new System.Drawing.Point(771, 14);
     this.button3.Margin    = new System.Windows.Forms.Padding(4);
     this.button3.Name      = "button3";
     this.button3.Size      = new System.Drawing.Size(152, 46);
     this.button3.TabIndex  = 34;
     this.button3.Text      = "Load Guard List for selected date";
     this.button3.UseVisualStyleBackColor = false;
     this.button3.Click += new System.EventHandler(this.button3_Click);
     //
     // button1
     //
     this.button1.BackColor = System.Drawing.Color.Cyan;
     this.button1.Location  = new System.Drawing.Point(1069, 14);
     this.button1.Margin    = new System.Windows.Forms.Padding(4);
     this.button1.Name      = "button1";
     this.button1.Size      = new System.Drawing.Size(75, 46);
     this.button1.TabIndex  = 33;
     this.button1.Text      = "Reports";
     this.button1.UseVisualStyleBackColor = false;
     //
     // btn_update
     //
     this.btn_update.BackColor = System.Drawing.Color.Lime;
     this.btn_update.Location  = new System.Drawing.Point(920, 14);
     this.btn_update.Margin    = new System.Windows.Forms.Padding(4);
     this.btn_update.Name      = "btn_update";
     this.btn_update.Size      = new System.Drawing.Size(152, 46);
     this.btn_update.TabIndex  = 32;
     this.btn_update.Text      = "Save Deployment";
     this.btn_update.UseVisualStyleBackColor = false;
     this.btn_update.Click += new System.EventHandler(this.btn_update_Click);
     //
     // btn_guard_list
     //
     this.btn_guard_list.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(255)))), ((int)(((byte)(192)))), ((int)(((byte)(128)))));
     this.btn_guard_list.Location  = new System.Drawing.Point(621, 14);
     this.btn_guard_list.Margin    = new System.Windows.Forms.Padding(4);
     this.btn_guard_list.Name      = "btn_guard_list";
     this.btn_guard_list.Size      = new System.Drawing.Size(152, 46);
     this.btn_guard_list.TabIndex  = 31;
     this.btn_guard_list.Text      = "Load Guard List for next deployment";
     this.btn_guard_list.UseVisualStyleBackColor = false;
     this.btn_guard_list.Click += new System.EventHandler(this.btn_guard_list_Click);
     //
     // cbo_working_shift
     //
     this.cbo_working_shift.Font = new System.Drawing.Font("Microsoft Sans Serif", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.cbo_working_shift.FormattingEnabled = true;
     this.cbo_working_shift.Location          = new System.Drawing.Point(411, 28);
     this.cbo_working_shift.Margin            = new System.Windows.Forms.Padding(4);
     this.cbo_working_shift.Name                  = "cbo_working_shift";
     this.cbo_working_shift.Size                  = new System.Drawing.Size(107, 23);
     this.cbo_working_shift.TabIndex              = 30;
     this.cbo_working_shift.SelectedIndexChanged += new System.EventHandler(this.cbo_working_shift_SelectedIndexChanged);
     //
     // label3
     //
     this.label3.AutoSize  = true;
     this.label3.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(255)))), ((int)(((byte)(192)))), ((int)(((byte)(128)))));
     this.label3.Font      = new System.Drawing.Font("Microsoft Sans Serif", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.label3.Location  = new System.Drawing.Point(407, 6);
     this.label3.Margin    = new System.Windows.Forms.Padding(4, 0, 4, 0);
     this.label3.Name      = "label3";
     this.label3.Size      = new System.Drawing.Size(68, 15);
     this.label3.TabIndex  = 14;
     this.label3.Text      = "Select Shift";
     //
     // cbo_branch
     //
     this.cbo_branch.Font = new System.Drawing.Font("Microsoft Sans Serif", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.cbo_branch.FormattingEnabled = true;
     this.cbo_branch.Location          = new System.Drawing.Point(195, 26);
     this.cbo_branch.Margin            = new System.Windows.Forms.Padding(4);
     this.cbo_branch.Name                  = "cbo_branch";
     this.cbo_branch.Size                  = new System.Drawing.Size(207, 23);
     this.cbo_branch.TabIndex              = 13;
     this.cbo_branch.SelectedIndexChanged += new System.EventHandler(this.cbo_branch_SelectedIndexChanged);
     //
     // label1
     //
     this.label1.AutoSize  = true;
     this.label1.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(255)))), ((int)(((byte)(192)))), ((int)(((byte)(128)))));
     this.label1.Font      = new System.Drawing.Font("Microsoft Sans Serif", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.label1.Location  = new System.Drawing.Point(192, 4);
     this.label1.Margin    = new System.Windows.Forms.Padding(4, 0, 4, 0);
     this.label1.Name      = "label1";
     this.label1.Size      = new System.Drawing.Size(45, 15);
     this.label1.TabIndex  = 6;
     this.label1.Text      = "Station";
     //
     // dt_deployment_date
     //
     this.dt_deployment_date.Font          = new System.Drawing.Font("Microsoft Sans Serif", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.dt_deployment_date.Format        = System.Windows.Forms.DateTimePickerFormat.Short;
     this.dt_deployment_date.Location      = new System.Drawing.Point(4, 26);
     this.dt_deployment_date.Margin        = new System.Windows.Forms.Padding(4);
     this.dt_deployment_date.Name          = "dt_deployment_date";
     this.dt_deployment_date.ShowCheckBox  = true;
     this.dt_deployment_date.Size          = new System.Drawing.Size(179, 21);
     this.dt_deployment_date.TabIndex      = 5;
     this.dt_deployment_date.ValueChanged += new System.EventHandler(this.dt_deployment_date_ValueChanged);
     //
     // label5
     //
     this.label5.AutoSize  = true;
     this.label5.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(255)))), ((int)(((byte)(192)))), ((int)(((byte)(128)))));
     this.label5.Font      = new System.Drawing.Font("Microsoft Sans Serif", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.label5.Location  = new System.Drawing.Point(4, 4);
     this.label5.Margin    = new System.Windows.Forms.Padding(4, 0, 4, 0);
     this.label5.Name      = "label5";
     this.label5.Size      = new System.Drawing.Size(102, 15);
     this.label5.TabIndex  = 3;
     this.label5.Text      = "Deployment Date";
     //
     // reSize1
     //
     this.reSize1.About = null;
     this.reSize1.AutoCenterFormOnLoad = false;
     this.reSize1.Enabled       = true;
     this.reSize1.HostContainer = this;
     this.reSize1.InitialHostContainerHeight = 709D;
     this.reSize1.InitialHostContainerWidth  = 1169D;
     this.reSize1.Tag = null;
     //
     // frm_guard_deployment_summary_batch
     //
     this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.None;
     this.BackColor     = System.Drawing.Color.FromArgb(((int)(((byte)(255)))), ((int)(((byte)(192)))), ((int)(((byte)(128)))));
     this.ClientSize    = new System.Drawing.Size(1169, 709);
     this.Controls.Add(this.panel1);
     this.Icon          = ((System.Drawing.Icon)(resources.GetObject("$this.Icon")));
     this.Margin        = new System.Windows.Forms.Padding(4);
     this.Name          = "frm_guard_deployment_summary_batch";
     this.StartPosition = System.Windows.Forms.FormStartPosition.CenterScreen;
     this.Text          = "Guard Deployment(Multiple)";
     this.Load         += new System.EventHandler(this.frm_guard_deployment_summary_batch_Load);
     this.panel1.ResumeLayout(false);
     this.panel1.PerformLayout();
     this.panel3.ResumeLayout(false);
     ((System.ComponentModel.ISupportInitialize)(this.gdv_deployment_summary)).EndInit();
     this.panel2.ResumeLayout(false);
     this.panel2.PerformLayout();
     this.ResumeLayout(false);
 }
Пример #11
0
 private void _ReSize()
 {
     ReSize       = new ReSize(this);
     this.Load   += FormVenta_Load;
     this.Resize += _Resize;
 }
Пример #12
0
 private void FormVistaProveedor_Load(object sender, EventArgs e)
 {
     Mostrar();
     ReSize._get_initial_size();
 }
Пример #13
0
 private void _ReSize()
 {
     ReSize       = new ReSize(this);
     this.Load   += FormFabricante_Load;
     this.Resize += _Resize;
 }
Пример #14
0
 private void FormVistaArticuloVenta_Load(object sender, EventArgs e)
 {
     ReSize._get_initial_size();
 }
Пример #15
0
 private void FormVistaArticulo_Load(object sender, EventArgs e)
 {
     Mostrar();
     ReSize._get_initial_size();
 }
Пример #16
0
 private void InitializeComponent()
 {
     this.components = new System.ComponentModel.Container();
     System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(frm_archieved_guards));
     this.panel1             = new System.Windows.Forms.Panel();
     this.label6             = new System.Windows.Forms.Label();
     this.lblRecordCount     = new System.Windows.Forms.Label();
     this.label5             = new System.Windows.Forms.Label();
     this.label4             = new System.Windows.Forms.Label();
     this.label3             = new System.Windows.Forms.Label();
     this.txt_archive_reason = new System.Windows.Forms.TextBox();
     this.btnsearch          = new System.Windows.Forms.Button();
     this.label2             = new System.Windows.Forms.Label();
     this.label1             = new System.Windows.Forms.Label();
     this.txt_name           = new System.Windows.Forms.TextBox();
     this.txt_guard_num      = new System.Windows.Forms.TextBox();
     this.txt_guard_number   = new System.Windows.Forms.TextBox();
     this.txt_auto_id        = new System.Windows.Forms.TextBox();
     this.btnActivate        = new System.Windows.Forms.Button();
     this.PanelContainer     = new System.Windows.Forms.Panel();
     this.gdv_guards         = new System.Windows.Forms.DataGridView();
     this.reSize1            = new LarcomAndYoung.Windows.Forms.ReSize(this.components);
     this.ToolTip            = new System.Windows.Forms.ToolTip(this.components);
     this.panel1.SuspendLayout();
     this.PanelContainer.SuspendLayout();
     ((System.ComponentModel.ISupportInitialize)(this.gdv_guards)).BeginInit();
     this.SuspendLayout();
     //
     // panel1
     //
     this.panel1.BackColor = System.Drawing.Color.Azure;
     this.panel1.Controls.Add(this.label6);
     this.panel1.Controls.Add(this.lblRecordCount);
     this.panel1.Controls.Add(this.label5);
     this.panel1.Controls.Add(this.label4);
     this.panel1.Controls.Add(this.label3);
     this.panel1.Controls.Add(this.txt_archive_reason);
     this.panel1.Controls.Add(this.btnsearch);
     this.panel1.Controls.Add(this.label2);
     this.panel1.Controls.Add(this.label1);
     this.panel1.Controls.Add(this.txt_name);
     this.panel1.Controls.Add(this.txt_guard_num);
     this.panel1.Controls.Add(this.txt_guard_number);
     this.panel1.Controls.Add(this.txt_auto_id);
     this.panel1.Controls.Add(this.btnActivate);
     this.panel1.Controls.Add(this.PanelContainer);
     this.panel1.Location = new System.Drawing.Point(3, 3);
     this.panel1.Name     = "panel1";
     this.panel1.Size     = new System.Drawing.Size(1011, 620);
     this.panel1.TabIndex = 0;
     //
     // label6
     //
     this.label6.AutoSize  = true;
     this.label6.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(255)))), ((int)(((byte)(224)))), ((int)(((byte)(192)))));
     this.label6.Location  = new System.Drawing.Point(9, 44);
     this.label6.Name      = "label6";
     this.label6.Size      = new System.Drawing.Size(213, 13);
     this.label6.TabIndex  = 14;
     this.label6.Text      = "Doubleclick on a guard to start re-activation";
     //
     // lblRecordCount
     //
     this.lblRecordCount.AutoSize  = true;
     this.lblRecordCount.ForeColor = System.Drawing.Color.Blue;
     this.lblRecordCount.Location  = new System.Drawing.Point(426, 28);
     this.lblRecordCount.Name      = "lblRecordCount";
     this.lblRecordCount.Size      = new System.Drawing.Size(35, 13);
     this.lblRecordCount.TabIndex  = 13;
     this.lblRecordCount.Text      = "Count";
     //
     // label5
     //
     this.label5.AutoSize  = true;
     this.label5.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(255)))), ((int)(((byte)(255)))), ((int)(((byte)(192)))));
     this.label5.Location  = new System.Drawing.Point(900, 6);
     this.label5.Name      = "label5";
     this.label5.Size      = new System.Drawing.Size(85, 13);
     this.label5.TabIndex  = 12;
     this.label5.Text      = "Archival Reason";
     //
     // label4
     //
     this.label4.AutoSize  = true;
     this.label4.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(255)))), ((int)(((byte)(255)))), ((int)(((byte)(192)))));
     this.label4.Location  = new System.Drawing.Point(796, 6);
     this.label4.Name      = "label4";
     this.label4.Size      = new System.Drawing.Size(76, 13);
     this.label4.TabIndex  = 11;
     this.label4.Text      = "Guard Number";
     //
     // label3
     //
     this.label3.AutoSize  = true;
     this.label3.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(255)))), ((int)(((byte)(255)))), ((int)(((byte)(192)))));
     this.label3.Location  = new System.Drawing.Point(693, 6);
     this.label3.Name      = "label3";
     this.label3.Size      = new System.Drawing.Size(43, 13);
     this.label3.TabIndex  = 10;
     this.label3.Text      = "Auto ID";
     //
     // txt_archive_reason
     //
     this.txt_archive_reason.Location = new System.Drawing.Point(903, 21);
     this.txt_archive_reason.Name     = "txt_archive_reason";
     this.txt_archive_reason.ReadOnly = true;
     this.txt_archive_reason.Size     = new System.Drawing.Size(100, 20);
     this.txt_archive_reason.TabIndex = 9;
     //
     // btnsearch
     //
     this.btnsearch.Font      = new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.btnsearch.ForeColor = System.Drawing.Color.Blue;
     this.btnsearch.Location  = new System.Drawing.Point(353, 6);
     this.btnsearch.Name      = "btnsearch";
     this.btnsearch.Size      = new System.Drawing.Size(67, 35);
     this.btnsearch.TabIndex  = 8;
     this.btnsearch.Text      = "Search";
     this.btnsearch.UseVisualStyleBackColor = true;
     this.btnsearch.Click += new System.EventHandler(this.btnsearch_Click);
     //
     // label2
     //
     this.label2.AutoSize = true;
     this.label2.Location = new System.Drawing.Point(112, 6);
     this.label2.Name     = "label2";
     this.label2.Size     = new System.Drawing.Size(67, 13);
     this.label2.TabIndex = 7;
     this.label2.Text     = "Guard Name";
     //
     // label1
     //
     this.label1.AutoSize = true;
     this.label1.Location = new System.Drawing.Point(9, 6);
     this.label1.Name     = "label1";
     this.label1.Size     = new System.Drawing.Size(76, 13);
     this.label1.TabIndex = 6;
     this.label1.Text     = "Guard Number";
     //
     // txt_name
     //
     this.txt_name.Location = new System.Drawing.Point(115, 21);
     this.txt_name.Name     = "txt_name";
     this.txt_name.Size     = new System.Drawing.Size(232, 20);
     this.txt_name.TabIndex = 5;
     //
     // txt_guard_num
     //
     this.txt_guard_num.Location = new System.Drawing.Point(9, 21);
     this.txt_guard_num.Name     = "txt_guard_num";
     this.txt_guard_num.Size     = new System.Drawing.Size(100, 20);
     this.txt_guard_num.TabIndex = 4;
     //
     // txt_guard_number
     //
     this.txt_guard_number.Location = new System.Drawing.Point(799, 21);
     this.txt_guard_number.Name     = "txt_guard_number";
     this.txt_guard_number.ReadOnly = true;
     this.txt_guard_number.Size     = new System.Drawing.Size(100, 20);
     this.txt_guard_number.TabIndex = 3;
     //
     // txt_auto_id
     //
     this.txt_auto_id.Location = new System.Drawing.Point(693, 21);
     this.txt_auto_id.Name     = "txt_auto_id";
     this.txt_auto_id.ReadOnly = true;
     this.txt_auto_id.Size     = new System.Drawing.Size(100, 20);
     this.txt_auto_id.TabIndex = 2;
     //
     // btnActivate
     //
     this.btnActivate.Font      = new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.btnActivate.ForeColor = System.Drawing.Color.Red;
     this.btnActivate.Location  = new System.Drawing.Point(561, 6);
     this.btnActivate.Name      = "btnActivate";
     this.btnActivate.Size      = new System.Drawing.Size(126, 35);
     this.btnActivate.TabIndex  = 1;
     this.btnActivate.Text      = "Re-Activate Guard";
     this.btnActivate.UseVisualStyleBackColor = true;
     this.btnActivate.Click += new System.EventHandler(this.btnActivate_Click);
     //
     // PanelContainer
     //
     this.PanelContainer.BackColor = System.Drawing.Color.Yellow;
     this.PanelContainer.Controls.Add(this.gdv_guards);
     this.PanelContainer.Location = new System.Drawing.Point(3, 59);
     this.PanelContainer.Name     = "PanelContainer";
     this.PanelContainer.Size     = new System.Drawing.Size(1005, 558);
     this.PanelContainer.TabIndex = 0;
     this.ToolTip.SetToolTip(this.PanelContainer, "Double click on a guard to start re-activation");
     //
     // gdv_guards
     //
     this.gdv_guards.AllowUserToAddRows          = false;
     this.gdv_guards.AllowUserToDeleteRows       = false;
     this.gdv_guards.AllowUserToResizeColumns    = false;
     this.gdv_guards.AllowUserToResizeRows       = false;
     this.gdv_guards.AutoSizeColumnsMode         = System.Windows.Forms.DataGridViewAutoSizeColumnsMode.Fill;
     this.gdv_guards.ColumnHeadersHeightSizeMode = System.Windows.Forms.DataGridViewColumnHeadersHeightSizeMode.AutoSize;
     this.gdv_guards.Location         = new System.Drawing.Point(3, 3);
     this.gdv_guards.Name             = "gdv_guards";
     this.gdv_guards.ReadOnly         = true;
     this.gdv_guards.Size             = new System.Drawing.Size(999, 567);
     this.gdv_guards.TabIndex         = 1;
     this.gdv_guards.CellClick       += new System.Windows.Forms.DataGridViewCellEventHandler(this.gdv_guards_CellClick);
     this.gdv_guards.CellDoubleClick += new System.Windows.Forms.DataGridViewCellEventHandler(this.gdv_guards_CellDoubleClick);
     //
     // reSize1
     //
     this.reSize1.About = null;
     this.reSize1.AutoCenterFormOnLoad = false;
     this.reSize1.Enabled       = true;
     this.reSize1.HostContainer = this;
     this.reSize1.InitialHostContainerHeight = 626D;
     this.reSize1.InitialHostContainerWidth  = 1018D;
     this.reSize1.Tag = null;
     //
     // frm_archieved_guards
     //
     this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F);
     this.AutoScaleMode       = System.Windows.Forms.AutoScaleMode.Font;
     this.BackColor           = System.Drawing.Color.FromArgb(((int)(((byte)(255)))), ((int)(((byte)(224)))), ((int)(((byte)(192)))));
     this.ClientSize          = new System.Drawing.Size(1018, 626);
     this.Controls.Add(this.panel1);
     this.Icon          = ((System.Drawing.Icon)(resources.GetObject("$this.Icon")));
     this.Name          = "frm_archieved_guards";
     this.StartPosition = System.Windows.Forms.FormStartPosition.CenterScreen;
     this.Text          = "List of Archieved Guards";
     this.Load         += new System.EventHandler(this.frm_archieved_guards_Load);
     this.panel1.ResumeLayout(false);
     this.panel1.PerformLayout();
     this.PanelContainer.ResumeLayout(false);
     ((System.ComponentModel.ISupportInitialize)(this.gdv_guards)).EndInit();
     this.ResumeLayout(false);
 }
Пример #17
0
 private void _ReSize()
 {
     ReSize       = new ReSize(this);
     this.Load   += FormProducto_Load;
     this.Resize += _Resize;
 }
Пример #18
0
 private void InitializeComponent()
 {
     this.components = new System.ComponentModel.Container();
     System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(frm_assign_salary_scales_to_guards));
     this.panel1      = new System.Windows.Forms.Panel();
     this.label10     = new System.Windows.Forms.Label();
     this.txt_auto_id = new System.Windows.Forms.TextBox();
     this.panel6      = new System.Windows.Forms.Panel();
     this.btn_scale_change_reports = new System.Windows.Forms.Button();
     this.btn_assign_scales        = new System.Windows.Forms.Button();
     this.lbl_scale_global_id      = new System.Windows.Forms.Label();
     this.txt_amount         = new System.Windows.Forms.TextBox();
     this.label9             = new System.Windows.Forms.Label();
     this.txt_scale_name     = new System.Windows.Forms.TextBox();
     this.label8             = new System.Windows.Forms.Label();
     this.chk_check_all      = new System.Windows.Forms.CheckBox();
     this.panel5             = new System.Windows.Forms.Panel();
     this.label7             = new System.Windows.Forms.Label();
     this.label6             = new System.Windows.Forms.Label();
     this.label5             = new System.Windows.Forms.Label();
     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.panel4             = new System.Windows.Forms.Panel();
     this.btnsearch          = new System.Windows.Forms.Button();
     this.txt_guard_number   = new System.Windows.Forms.TextBox();
     this.label13            = new System.Windows.Forms.Label();
     this.txt_guard_name     = new System.Windows.Forms.TextBox();
     this.label12            = new System.Windows.Forms.Label();
     this.cbo_station_name   = new System.Windows.Forms.ComboBox();
     this.label11            = new System.Windows.Forms.Label();
     this.panel3             = new System.Windows.Forms.Panel();
     this.gdv_salary_scales  = new System.Windows.Forms.DataGridView();
     this.panel2             = new System.Windows.Forms.Panel();
     this.gdv_guard_salaries = new System.Windows.Forms.DataGridView();
     this.reSize1            = new LarcomAndYoung.Windows.Forms.ReSize(this.components);
     this.panel1.SuspendLayout();
     this.panel6.SuspendLayout();
     this.panel5.SuspendLayout();
     this.panel4.SuspendLayout();
     this.panel3.SuspendLayout();
     ((System.ComponentModel.ISupportInitialize)(this.gdv_salary_scales)).BeginInit();
     this.panel2.SuspendLayout();
     ((System.ComponentModel.ISupportInitialize)(this.gdv_guard_salaries)).BeginInit();
     this.SuspendLayout();
     //
     // panel1
     //
     this.panel1.BackColor = System.Drawing.Color.Azure;
     this.panel1.Controls.Add(this.label10);
     this.panel1.Controls.Add(this.txt_auto_id);
     this.panel1.Controls.Add(this.panel6);
     this.panel1.Controls.Add(this.lbl_scale_global_id);
     this.panel1.Controls.Add(this.txt_amount);
     this.panel1.Controls.Add(this.label9);
     this.panel1.Controls.Add(this.txt_scale_name);
     this.panel1.Controls.Add(this.label8);
     this.panel1.Controls.Add(this.chk_check_all);
     this.panel1.Controls.Add(this.panel5);
     this.panel1.Controls.Add(this.label5);
     this.panel1.Controls.Add(this.label4);
     this.panel1.Controls.Add(this.label3);
     this.panel1.Controls.Add(this.label2);
     this.panel1.Controls.Add(this.label1);
     this.panel1.Controls.Add(this.panel4);
     this.panel1.Controls.Add(this.panel3);
     this.panel1.Controls.Add(this.panel2);
     this.panel1.Location = new System.Drawing.Point(1, 1);
     this.panel1.Name     = "panel1";
     this.panel1.Size     = new System.Drawing.Size(1108, 696);
     this.panel1.TabIndex = 0;
     //
     // label10
     //
     this.label10.AutoSize  = true;
     this.label10.Font      = new System.Drawing.Font("Microsoft Sans Serif", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.label10.ForeColor = System.Drawing.Color.Red;
     this.label10.Location  = new System.Drawing.Point(875, 621);
     this.label10.Name      = "label10";
     this.label10.Size      = new System.Drawing.Size(64, 20);
     this.label10.TabIndex  = 15;
     this.label10.Text      = "Auto ID";
     //
     // txt_auto_id
     //
     this.txt_auto_id.Font      = new System.Drawing.Font("Microsoft Sans Serif", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.txt_auto_id.ForeColor = System.Drawing.Color.Blue;
     this.txt_auto_id.Location  = new System.Drawing.Point(878, 644);
     this.txt_auto_id.Name      = "txt_auto_id";
     this.txt_auto_id.ReadOnly  = true;
     this.txt_auto_id.Size      = new System.Drawing.Size(61, 26);
     this.txt_auto_id.TabIndex  = 14;
     this.txt_auto_id.TextAlign = System.Windows.Forms.HorizontalAlignment.Center;
     //
     // panel6
     //
     this.panel6.BackColor = System.Drawing.SystemColors.GradientInactiveCaption;
     this.panel6.Controls.Add(this.btn_scale_change_reports);
     this.panel6.Controls.Add(this.btn_assign_scales);
     this.panel6.Location = new System.Drawing.Point(561, 26);
     this.panel6.Name     = "panel6";
     this.panel6.Size     = new System.Drawing.Size(537, 45);
     this.panel6.TabIndex = 3;
     //
     // btn_scale_change_reports
     //
     this.btn_scale_change_reports.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(192)))), ((int)(((byte)(255)))), ((int)(((byte)(192)))));
     this.btn_scale_change_reports.ForeColor = System.Drawing.Color.Blue;
     this.btn_scale_change_reports.Location  = new System.Drawing.Point(216, 3);
     this.btn_scale_change_reports.Name      = "btn_scale_change_reports";
     this.btn_scale_change_reports.Size      = new System.Drawing.Size(144, 39);
     this.btn_scale_change_reports.TabIndex  = 1;
     this.btn_scale_change_reports.Text      = "SCALE CHANGE REPORT";
     this.btn_scale_change_reports.UseVisualStyleBackColor = false;
     //
     // btn_assign_scales
     //
     this.btn_assign_scales.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(192)))), ((int)(((byte)(255)))), ((int)(((byte)(255)))));
     this.btn_assign_scales.ForeColor = System.Drawing.Color.Blue;
     this.btn_assign_scales.Location  = new System.Drawing.Point(3, 3);
     this.btn_assign_scales.Name      = "btn_assign_scales";
     this.btn_assign_scales.Size      = new System.Drawing.Size(207, 39);
     this.btn_assign_scales.TabIndex  = 0;
     this.btn_assign_scales.Text      = "EXECUTE SALARY SCALE MAPPINGS";
     this.btn_assign_scales.UseVisualStyleBackColor = false;
     this.btn_assign_scales.Click += new System.EventHandler(this.btn_assign_scales_Click);
     //
     // lbl_scale_global_id
     //
     this.lbl_scale_global_id.AutoSize  = true;
     this.lbl_scale_global_id.ForeColor = System.Drawing.Color.Blue;
     this.lbl_scale_global_id.Location  = new System.Drawing.Point(552, 673);
     this.lbl_scale_global_id.Name      = "lbl_scale_global_id";
     this.lbl_scale_global_id.Size      = new System.Drawing.Size(46, 13);
     this.lbl_scale_global_id.TabIndex  = 13;
     this.lbl_scale_global_id.Text      = "global id";
     //
     // txt_amount
     //
     this.txt_amount.Font      = new System.Drawing.Font("Microsoft Sans Serif", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.txt_amount.ForeColor = System.Drawing.Color.Blue;
     this.txt_amount.Location  = new System.Drawing.Point(956, 644);
     this.txt_amount.Name      = "txt_amount";
     this.txt_amount.ReadOnly  = true;
     this.txt_amount.Size      = new System.Drawing.Size(142, 26);
     this.txt_amount.TabIndex  = 12;
     this.txt_amount.TextAlign = System.Windows.Forms.HorizontalAlignment.Center;
     //
     // label9
     //
     this.label9.AutoSize  = true;
     this.label9.Font      = new System.Drawing.Font("Microsoft Sans Serif", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.label9.ForeColor = System.Drawing.Color.Red;
     this.label9.Location  = new System.Drawing.Point(952, 621);
     this.label9.Name      = "label9";
     this.label9.Size      = new System.Drawing.Size(65, 20);
     this.label9.TabIndex  = 11;
     this.label9.Text      = "Amount";
     //
     // txt_scale_name
     //
     this.txt_scale_name.Font      = new System.Drawing.Font("Microsoft Sans Serif", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.txt_scale_name.ForeColor = System.Drawing.Color.Blue;
     this.txt_scale_name.Location  = new System.Drawing.Point(549, 644);
     this.txt_scale_name.Name      = "txt_scale_name";
     this.txt_scale_name.ReadOnly  = true;
     this.txt_scale_name.Size      = new System.Drawing.Size(323, 26);
     this.txt_scale_name.TabIndex  = 10;
     //
     // label8
     //
     this.label8.AutoSize  = true;
     this.label8.Font      = new System.Drawing.Font("Microsoft Sans Serif", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.label8.ForeColor = System.Drawing.Color.Red;
     this.label8.Location  = new System.Drawing.Point(643, 621);
     this.label8.Name      = "label8";
     this.label8.Size      = new System.Drawing.Size(94, 20);
     this.label8.TabIndex  = 9;
     this.label8.Text      = "Salary scale";
     //
     // chk_check_all
     //
     this.chk_check_all.AutoSize  = true;
     this.chk_check_all.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(255)))), ((int)(((byte)(128)))), ((int)(((byte)(0)))));
     this.chk_check_all.Location  = new System.Drawing.Point(11, 75);
     this.chk_check_all.Name      = "chk_check_all";
     this.chk_check_all.Size      = new System.Drawing.Size(70, 17);
     this.chk_check_all.TabIndex  = 0;
     this.chk_check_all.Text      = "Select All";
     this.chk_check_all.UseVisualStyleBackColor = false;
     this.chk_check_all.CheckedChanged         += new System.EventHandler(this.chk_check_all_CheckedChanged);
     //
     // panel5
     //
     this.panel5.BackColor = System.Drawing.SystemColors.ActiveCaptionText;
     this.panel5.Controls.Add(this.label7);
     this.panel5.Controls.Add(this.label6);
     this.panel5.Location = new System.Drawing.Point(549, 3);
     this.panel5.Name     = "panel5";
     this.panel5.Size     = new System.Drawing.Size(559, 23);
     this.panel5.TabIndex = 8;
     //
     // label7
     //
     this.label7.AutoSize  = true;
     this.label7.Font      = new System.Drawing.Font("Microsoft Sans Serif", 9.75F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.label7.ForeColor = System.Drawing.Color.Red;
     this.label7.Location  = new System.Drawing.Point(3, 4);
     this.label7.Name      = "label7";
     this.label7.Size      = new System.Drawing.Size(61, 16);
     this.label7.TabIndex  = 1;
     this.label7.Text      = "Warning:";
     //
     // label6
     //
     this.label6.AutoSize  = true;
     this.label6.Font      = new System.Drawing.Font("Microsoft Sans Serif", 9.75F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.label6.ForeColor = System.Drawing.Color.White;
     this.label6.Location  = new System.Drawing.Point(95, 4);
     this.label6.Name      = "label6";
     this.label6.Size      = new System.Drawing.Size(432, 16);
     this.label6.TabIndex  = 0;
     this.label6.Text      = "For security Purposes,all salary scale changes made are being tracked";
     //
     // label5
     //
     this.label5.AutoSize  = true;
     this.label5.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(255)))), ((int)(((byte)(192)))), ((int)(((byte)(128)))));
     this.label5.Font      = new System.Drawing.Font("Microsoft Sans Serif", 9.75F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.label5.Location  = new System.Drawing.Point(192, 76);
     this.label5.Name      = "label5";
     this.label5.Size      = new System.Drawing.Size(214, 16);
     this.label5.TabIndex  = 7;
     this.label5.Text      = "(Tick to map guard to salary scale)";
     //
     // label4
     //
     this.label4.AutoSize  = true;
     this.label4.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(255)))), ((int)(((byte)(192)))), ((int)(((byte)(128)))));
     this.label4.Font      = new System.Drawing.Font("Microsoft Sans Serif", 9.75F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.label4.Location  = new System.Drawing.Point(787, 76);
     this.label4.Name      = "label4";
     this.label4.Size      = new System.Drawing.Size(178, 16);
     this.label4.TabIndex  = 6;
     this.label4.Text      = "(Tick to map salary to guard)";
     //
     // label3
     //
     this.label3.AutoSize  = true;
     this.label3.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(255)))), ((int)(((byte)(255)))), ((int)(((byte)(128)))));
     this.label3.Font      = new System.Drawing.Font("Microsoft Sans Serif", 9.75F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.label3.Location  = new System.Drawing.Point(541, 76);
     this.label3.Name      = "label3";
     this.label3.Size      = new System.Drawing.Size(205, 16);
     this.label3.TabIndex  = 5;
     this.label3.Text      = "Currently approved salary scales";
     //
     // label2
     //
     this.label2.AutoSize  = true;
     this.label2.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(255)))), ((int)(((byte)(255)))), ((int)(((byte)(128)))));
     this.label2.Font      = new System.Drawing.Font("Microsoft Sans Serif", 9.75F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.label2.Location  = new System.Drawing.Point(87, 74);
     this.label2.Name      = "label2";
     this.label2.Size      = new System.Drawing.Size(99, 16);
     this.label2.TabIndex  = 4;
     this.label2.Text      = "Search Results";
     //
     // label1
     //
     this.label1.AutoSize  = true;
     this.label1.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(255)))), ((int)(((byte)(255)))), ((int)(((byte)(128)))));
     this.label1.Font      = new System.Drawing.Font("Microsoft Sans Serif", 9.75F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.label1.Location  = new System.Drawing.Point(8, 10);
     this.label1.Name      = "label1";
     this.label1.Size      = new System.Drawing.Size(492, 16);
     this.label1.TabIndex  = 3;
     this.label1.Text      = "Assign salary scales to guards[Use Search Options below to narrow down results]";
     //
     // panel4
     //
     this.panel4.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(255)))), ((int)(((byte)(224)))), ((int)(((byte)(192)))));
     this.panel4.Controls.Add(this.btnsearch);
     this.panel4.Controls.Add(this.txt_guard_number);
     this.panel4.Controls.Add(this.label13);
     this.panel4.Controls.Add(this.txt_guard_name);
     this.panel4.Controls.Add(this.label12);
     this.panel4.Controls.Add(this.cbo_station_name);
     this.panel4.Controls.Add(this.label11);
     this.panel4.Location = new System.Drawing.Point(0, 26);
     this.panel4.Name     = "panel4";
     this.panel4.Size     = new System.Drawing.Size(555, 45);
     this.panel4.TabIndex = 2;
     //
     // btnsearch
     //
     this.btnsearch.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(192)))), ((int)(((byte)(255)))), ((int)(((byte)(255)))));
     this.btnsearch.ForeColor = System.Drawing.Color.Blue;
     this.btnsearch.Location  = new System.Drawing.Point(486, 3);
     this.btnsearch.Name      = "btnsearch";
     this.btnsearch.Size      = new System.Drawing.Size(66, 39);
     this.btnsearch.TabIndex  = 2;
     this.btnsearch.Text      = "SEARCH";
     this.btnsearch.UseVisualStyleBackColor = false;
     this.btnsearch.Click += new System.EventHandler(this.btnsearch_Click);
     //
     // txt_guard_number
     //
     this.txt_guard_number.Font     = new System.Drawing.Font("Microsoft Sans Serif", 9.75F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.txt_guard_number.Location = new System.Drawing.Point(356, 19);
     this.txt_guard_number.Name     = "txt_guard_number";
     this.txt_guard_number.Size     = new System.Drawing.Size(124, 22);
     this.txt_guard_number.TabIndex = 5;
     //
     // label13
     //
     this.label13.AutoSize = true;
     this.label13.Location = new System.Drawing.Point(353, 3);
     this.label13.Name     = "label13";
     this.label13.Size     = new System.Drawing.Size(76, 13);
     this.label13.TabIndex = 4;
     this.label13.Text     = "Guard Number";
     //
     // txt_guard_name
     //
     this.txt_guard_name.Font     = new System.Drawing.Font("Microsoft Sans Serif", 9.75F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.txt_guard_name.Location = new System.Drawing.Point(192, 19);
     this.txt_guard_name.Name     = "txt_guard_name";
     this.txt_guard_name.Size     = new System.Drawing.Size(162, 22);
     this.txt_guard_name.TabIndex = 3;
     //
     // label12
     //
     this.label12.AutoSize = true;
     this.label12.Location = new System.Drawing.Point(189, 3);
     this.label12.Name     = "label12";
     this.label12.Size     = new System.Drawing.Size(67, 13);
     this.label12.TabIndex = 2;
     this.label12.Text     = "Guard Name";
     //
     // cbo_station_name
     //
     this.cbo_station_name.DropDownStyle     = System.Windows.Forms.ComboBoxStyle.DropDownList;
     this.cbo_station_name.Font              = new System.Drawing.Font("Microsoft Sans Serif", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.cbo_station_name.FormattingEnabled = true;
     this.cbo_station_name.Location          = new System.Drawing.Point(11, 19);
     this.cbo_station_name.Name              = "cbo_station_name";
     this.cbo_station_name.Size              = new System.Drawing.Size(175, 23);
     this.cbo_station_name.TabIndex          = 1;
     //
     // label11
     //
     this.label11.AutoSize = true;
     this.label11.Location = new System.Drawing.Point(8, 3);
     this.label11.Name     = "label11";
     this.label11.Size     = new System.Drawing.Size(71, 13);
     this.label11.TabIndex = 0;
     this.label11.Text     = "Station Name";
     //
     // panel3
     //
     this.panel3.Controls.Add(this.gdv_salary_scales);
     this.panel3.Location = new System.Drawing.Point(541, 92);
     this.panel3.Name     = "panel3";
     this.panel3.Size     = new System.Drawing.Size(557, 526);
     this.panel3.TabIndex = 1;
     //
     // gdv_salary_scales
     //
     this.gdv_salary_scales.AllowUserToAddRows          = false;
     this.gdv_salary_scales.AllowUserToDeleteRows       = false;
     this.gdv_salary_scales.AllowUserToResizeColumns    = false;
     this.gdv_salary_scales.AllowUserToResizeRows       = false;
     this.gdv_salary_scales.AutoSizeColumnsMode         = System.Windows.Forms.DataGridViewAutoSizeColumnsMode.Fill;
     this.gdv_salary_scales.ColumnHeadersHeightSizeMode = System.Windows.Forms.DataGridViewColumnHeadersHeightSizeMode.AutoSize;
     this.gdv_salary_scales.Location   = new System.Drawing.Point(3, 3);
     this.gdv_salary_scales.Name       = "gdv_salary_scales";
     this.gdv_salary_scales.Size       = new System.Drawing.Size(551, 520);
     this.gdv_salary_scales.TabIndex   = 0;
     this.gdv_salary_scales.CellClick += new System.Windows.Forms.DataGridViewCellEventHandler(this.gdv_salary_scales_CellClick);
     //
     // panel2
     //
     this.panel2.Controls.Add(this.gdv_guard_salaries);
     this.panel2.Location = new System.Drawing.Point(11, 95);
     this.panel2.Name     = "panel2";
     this.panel2.Size     = new System.Drawing.Size(524, 598);
     this.panel2.TabIndex = 0;
     //
     // gdv_guard_salaries
     //
     this.gdv_guard_salaries.AllowUserToAddRows          = false;
     this.gdv_guard_salaries.AllowUserToDeleteRows       = false;
     this.gdv_guard_salaries.AllowUserToResizeColumns    = false;
     this.gdv_guard_salaries.AllowUserToResizeRows       = false;
     this.gdv_guard_salaries.AutoSizeColumnsMode         = System.Windows.Forms.DataGridViewAutoSizeColumnsMode.Fill;
     this.gdv_guard_salaries.ColumnHeadersHeightSizeMode = System.Windows.Forms.DataGridViewColumnHeadersHeightSizeMode.AutoSize;
     this.gdv_guard_salaries.Location = new System.Drawing.Point(3, 3);
     this.gdv_guard_salaries.Name     = "gdv_guard_salaries";
     this.gdv_guard_salaries.Size     = new System.Drawing.Size(517, 592);
     this.gdv_guard_salaries.TabIndex = 0;
     //
     // reSize1
     //
     this.reSize1.About = null;
     this.reSize1.AutoCenterFormOnLoad = false;
     this.reSize1.Enabled       = true;
     this.reSize1.HostContainer = this;
     this.reSize1.InitialHostContainerHeight = 699D;
     this.reSize1.InitialHostContainerWidth  = 1111D;
     this.reSize1.Tag = null;
     //
     // frm_assign_salary_scales_to_guards
     //
     this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F);
     this.AutoScaleMode       = System.Windows.Forms.AutoScaleMode.Font;
     this.BackColor           = System.Drawing.Color.Yellow;
     this.ClientSize          = new System.Drawing.Size(1111, 699);
     this.Controls.Add(this.panel1);
     this.Icon  = ((System.Drawing.Icon)(resources.GetObject("$this.Icon")));
     this.Name  = "frm_assign_salary_scales_to_guards";
     this.Text  = "Salary scales & Guards Mapping";
     this.Load += new System.EventHandler(this.frm_assign_salary_scales_to_guards_Load);
     this.panel1.ResumeLayout(false);
     this.panel1.PerformLayout();
     this.panel6.ResumeLayout(false);
     this.panel5.ResumeLayout(false);
     this.panel5.PerformLayout();
     this.panel4.ResumeLayout(false);
     this.panel4.PerformLayout();
     this.panel3.ResumeLayout(false);
     ((System.ComponentModel.ISupportInitialize)(this.gdv_salary_scales)).EndInit();
     this.panel2.ResumeLayout(false);
     ((System.ComponentModel.ISupportInitialize)(this.gdv_guard_salaries)).EndInit();
     this.ResumeLayout(false);
 }
 private void InitializeComponent()
 {
     this.components = new System.ComponentModel.Container();
     System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(frm_guard_deployment_additional_data));
     this.panel1            = new System.Windows.Forms.Panel();
     this.lblAccountsHeader = new System.Windows.Forms.Label();
     this.cbo_deploy_period = new System.Windows.Forms.ComboBox();
     this.dt_end_date       = new System.Windows.Forms.DateTimePicker();
     this.label4            = new System.Windows.Forms.Label();
     this.label6            = new System.Windows.Forms.Label();
     this.dt_start_date     = new System.Windows.Forms.DateTimePicker();
     this.label3            = new System.Windows.Forms.Label();
     this.panel2            = new System.Windows.Forms.Panel();
     this.gdv_guards        = new System.Windows.Forms.DataGridView();
     this.label9            = new System.Windows.Forms.Label();
     this.panel3            = new System.Windows.Forms.Panel();
     this.button1           = new System.Windows.Forms.Button();
     this.btn_save          = new System.Windows.Forms.Button();
     this.btn_search        = new System.Windows.Forms.Button();
     this.label1            = new System.Windows.Forms.Label();
     this.txt_guard_number  = new System.Windows.Forms.TextBox();
     this.cbo_branch        = new System.Windows.Forms.ComboBox();
     this.reSize1           = new LarcomAndYoung.Windows.Forms.ReSize(this.components);
     this.panel4            = new System.Windows.Forms.Panel();
     this.bgWorkerImport    = new System.ComponentModel.BackgroundWorker();
     this.panel1.SuspendLayout();
     this.panel2.SuspendLayout();
     ((System.ComponentModel.ISupportInitialize)(this.gdv_guards)).BeginInit();
     this.panel3.SuspendLayout();
     this.panel4.SuspendLayout();
     this.SuspendLayout();
     //
     // panel1
     //
     this.panel1.BackColor = System.Drawing.Color.Gray;
     this.panel1.Controls.Add(this.lblAccountsHeader);
     this.panel1.Controls.Add(this.cbo_deploy_period);
     this.panel1.Controls.Add(this.dt_end_date);
     this.panel1.Controls.Add(this.label4);
     this.panel1.Controls.Add(this.label6);
     this.panel1.Controls.Add(this.dt_start_date);
     this.panel1.ForeColor = System.Drawing.Color.White;
     this.panel1.Location  = new System.Drawing.Point(2, 34);
     this.panel1.Name      = "panel1";
     this.panel1.Size      = new System.Drawing.Size(1181, 35);
     this.panel1.TabIndex  = 0;
     //
     // lblAccountsHeader
     //
     this.lblAccountsHeader.AutoSize  = true;
     this.lblAccountsHeader.BackColor = System.Drawing.Color.Black;
     this.lblAccountsHeader.Font      = new System.Drawing.Font("Microsoft Sans Serif", 9.75F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.lblAccountsHeader.Location  = new System.Drawing.Point(609, 11);
     this.lblAccountsHeader.Name      = "lblAccountsHeader";
     this.lblAccountsHeader.Size      = new System.Drawing.Size(118, 16);
     this.lblAccountsHeader.TabIndex  = 30;
     this.lblAccountsHeader.Text      = "Payment Period";
     //
     // cbo_deploy_period
     //
     this.cbo_deploy_period.DropDownStyle             = System.Windows.Forms.ComboBoxStyle.DropDownList;
     this.cbo_deploy_period.Font                      = new System.Drawing.Font("Microsoft Sans Serif", 15.75F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.cbo_deploy_period.FormattingEnabled         = true;
     this.cbo_deploy_period.Location                  = new System.Drawing.Point(777, 1);
     this.cbo_deploy_period.Name                      = "cbo_deploy_period";
     this.cbo_deploy_period.Size                      = new System.Drawing.Size(401, 33);
     this.cbo_deploy_period.TabIndex                  = 29;
     this.cbo_deploy_period.SelectionChangeCommitted += new System.EventHandler(this.cbo_deploy_period_SelectionChangeCommitted);
     //
     // dt_end_date
     //
     this.dt_end_date.Enabled      = false;
     this.dt_end_date.Font         = new System.Drawing.Font("Microsoft Sans Serif", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.dt_end_date.Format       = System.Windows.Forms.DateTimePickerFormat.Short;
     this.dt_end_date.Location     = new System.Drawing.Point(395, 6);
     this.dt_end_date.Name         = "dt_end_date";
     this.dt_end_date.ShowCheckBox = true;
     this.dt_end_date.Size         = new System.Drawing.Size(208, 21);
     this.dt_end_date.TabIndex     = 12;
     //
     // label4
     //
     this.label4.AutoSize  = true;
     this.label4.BackColor = System.Drawing.Color.Black;
     this.label4.Font      = new System.Drawing.Font("Microsoft Sans Serif", 9.75F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.label4.Location  = new System.Drawing.Point(3, 11);
     this.label4.Name      = "label4";
     this.label4.Size      = new System.Drawing.Size(126, 16);
     this.label4.TabIndex  = 9;
     this.label4.Text      = "For the period of:";
     //
     // label6
     //
     this.label6.AutoSize  = true;
     this.label6.BackColor = System.Drawing.Color.Black;
     this.label6.Font      = new System.Drawing.Font("Microsoft Sans Serif", 9.75F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.label6.Location  = new System.Drawing.Point(362, 11);
     this.label6.Name      = "label6";
     this.label6.Size      = new System.Drawing.Size(27, 16);
     this.label6.TabIndex  = 11;
     this.label6.Text      = "To";
     //
     // dt_start_date
     //
     this.dt_start_date.Enabled      = false;
     this.dt_start_date.Font         = new System.Drawing.Font("Microsoft Sans Serif", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.dt_start_date.Format       = System.Windows.Forms.DateTimePickerFormat.Short;
     this.dt_start_date.Location     = new System.Drawing.Point(135, 6);
     this.dt_start_date.Name         = "dt_start_date";
     this.dt_start_date.ShowCheckBox = true;
     this.dt_start_date.Size         = new System.Drawing.Size(208, 21);
     this.dt_start_date.TabIndex     = 10;
     //
     // label3
     //
     this.label3.AutoSize  = true;
     this.label3.BackColor = System.Drawing.Color.Black;
     this.label3.Font      = new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.label3.ForeColor = System.Drawing.Color.White;
     this.label3.Location  = new System.Drawing.Point(0, 6);
     this.label3.Name      = "label3";
     this.label3.Size      = new System.Drawing.Size(670, 13);
     this.label3.TabIndex  = 14;
     this.label3.Text      = "Enter additional guard deployment data here for a given deployment period.Use the" +
                             " search option to narrow down list";
     //
     // panel2
     //
     this.panel2.Controls.Add(this.gdv_guards);
     this.panel2.Location = new System.Drawing.Point(2, 106);
     this.panel2.Name     = "panel2";
     this.panel2.Size     = new System.Drawing.Size(1181, 443);
     this.panel2.TabIndex = 1;
     //
     // gdv_guards
     //
     this.gdv_guards.AllowUserToAddRows          = false;
     this.gdv_guards.AllowUserToDeleteRows       = false;
     this.gdv_guards.AllowUserToOrderColumns     = true;
     this.gdv_guards.AllowUserToResizeColumns    = false;
     this.gdv_guards.AllowUserToResizeRows       = false;
     this.gdv_guards.AutoSizeColumnsMode         = System.Windows.Forms.DataGridViewAutoSizeColumnsMode.Fill;
     this.gdv_guards.ColumnHeadersHeightSizeMode = System.Windows.Forms.DataGridViewColumnHeadersHeightSizeMode.AutoSize;
     this.gdv_guards.Location = new System.Drawing.Point(3, 1);
     this.gdv_guards.Name     = "gdv_guards";
     this.gdv_guards.Size     = new System.Drawing.Size(1175, 439);
     this.gdv_guards.TabIndex = 0;
     this.gdv_guards.EditingControlShowing += new System.Windows.Forms.DataGridViewEditingControlShowingEventHandler(this.gdv_guards_EditingControlShowing);
     //
     // label9
     //
     this.label9.AutoSize  = true;
     this.label9.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(255)))), ((int)(((byte)(192)))), ((int)(((byte)(128)))));
     this.label9.Font      = new System.Drawing.Font("Microsoft Sans Serif", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.label9.Location  = new System.Drawing.Point(3, 8);
     this.label9.Name      = "label9";
     this.label9.Size      = new System.Drawing.Size(90, 15);
     this.label9.TabIndex  = 14;
     this.label9.Text      = "Select a station";
     //
     // panel3
     //
     this.panel3.BackColor = System.Drawing.SystemColors.GradientInactiveCaption;
     this.panel3.Controls.Add(this.button1);
     this.panel3.Controls.Add(this.btn_save);
     this.panel3.Controls.Add(this.btn_search);
     this.panel3.Controls.Add(this.label1);
     this.panel3.Controls.Add(this.txt_guard_number);
     this.panel3.Controls.Add(this.cbo_branch);
     this.panel3.Controls.Add(this.label9);
     this.panel3.Location = new System.Drawing.Point(2, 75);
     this.panel3.Name     = "panel3";
     this.panel3.Size     = new System.Drawing.Size(1178, 29);
     this.panel3.TabIndex = 2;
     //
     // button1
     //
     this.button1.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(128)))), ((int)(((byte)(255)))), ((int)(((byte)(128)))));
     this.button1.Location  = new System.Drawing.Point(1005, 2);
     this.button1.Name      = "button1";
     this.button1.Size      = new System.Drawing.Size(167, 23);
     this.button1.TabIndex  = 28;
     this.button1.Text      = "Deployment summary report";
     this.button1.UseVisualStyleBackColor = false;
     this.button1.Click += new System.EventHandler(this.button1_Click);
     //
     // btn_save
     //
     this.btn_save.BackColor = System.Drawing.Color.Coral;
     this.btn_save.Location  = new System.Drawing.Point(838, 2);
     this.btn_save.Name      = "btn_save";
     this.btn_save.Size      = new System.Drawing.Size(161, 23);
     this.btn_save.TabIndex  = 27;
     this.btn_save.Text      = "Save Batch Record";
     this.btn_save.UseVisualStyleBackColor = false;
     this.btn_save.Click += new System.EventHandler(this.btn_save_Click);
     //
     // btn_search
     //
     this.btn_search.BackColor = System.Drawing.Color.Cyan;
     this.btn_search.Location  = new System.Drawing.Point(733, 2);
     this.btn_search.Name      = "btn_search";
     this.btn_search.Size      = new System.Drawing.Size(99, 23);
     this.btn_search.TabIndex  = 26;
     this.btn_search.Text      = "Search";
     this.btn_search.UseVisualStyleBackColor = false;
     this.btn_search.Click += new System.EventHandler(this.btn_search_Click);
     //
     // label1
     //
     this.label1.AutoSize  = true;
     this.label1.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(255)))), ((int)(((byte)(192)))), ((int)(((byte)(128)))));
     this.label1.Font      = new System.Drawing.Font("Microsoft Sans Serif", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.label1.Location  = new System.Drawing.Point(332, 8);
     this.label1.Name      = "label1";
     this.label1.Size      = new System.Drawing.Size(89, 15);
     this.label1.TabIndex  = 25;
     this.label1.Text      = "Guard Number";
     //
     // txt_guard_number
     //
     this.txt_guard_number.Font     = new System.Drawing.Font("Microsoft Sans Serif", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.txt_guard_number.Location = new System.Drawing.Point(427, 5);
     this.txt_guard_number.Name     = "txt_guard_number";
     this.txt_guard_number.Size     = new System.Drawing.Size(300, 21);
     this.txt_guard_number.TabIndex = 24;
     //
     // cbo_branch
     //
     this.cbo_branch.Font = new System.Drawing.Font("Microsoft Sans Serif", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.cbo_branch.FormattingEnabled = true;
     this.cbo_branch.Location          = new System.Drawing.Point(99, 2);
     this.cbo_branch.Name     = "cbo_branch";
     this.cbo_branch.Size     = new System.Drawing.Size(227, 23);
     this.cbo_branch.TabIndex = 15;
     //
     // reSize1
     //
     this.reSize1.About = null;
     this.reSize1.AutoCenterFormOnLoad = false;
     this.reSize1.Enabled       = true;
     this.reSize1.HostContainer = this;
     this.reSize1.InitialHostContainerHeight = 551D;
     this.reSize1.InitialHostContainerWidth  = 1185D;
     this.reSize1.Tag = null;
     //
     // panel4
     //
     this.panel4.BackColor = System.Drawing.SystemColors.ActiveCaptionText;
     this.panel4.Controls.Add(this.label3);
     this.panel4.Location = new System.Drawing.Point(2, 3);
     this.panel4.Name     = "panel4";
     this.panel4.Size     = new System.Drawing.Size(1181, 30);
     this.panel4.TabIndex = 3;
     //
     // frm_guard_deployment_additional_data
     //
     this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F);
     this.AutoScaleMode       = System.Windows.Forms.AutoScaleMode.Font;
     this.BackColor           = System.Drawing.Color.FromArgb(((int)(((byte)(255)))), ((int)(((byte)(224)))), ((int)(((byte)(192)))));
     this.ClientSize          = new System.Drawing.Size(1185, 551);
     this.Controls.Add(this.panel4);
     this.Controls.Add(this.panel3);
     this.Controls.Add(this.panel2);
     this.Controls.Add(this.panel1);
     this.FormBorderStyle = System.Windows.Forms.FormBorderStyle.FixedSingle;
     this.Icon            = ((System.Drawing.Icon)(resources.GetObject("$this.Icon")));
     this.Name            = "frm_guard_deployment_additional_data";
     this.StartPosition   = System.Windows.Forms.FormStartPosition.CenterScreen;
     this.Text            = "Additional guard deployment details";
     this.Load           += new System.EventHandler(this.frm_guard_deployment_additional_data_Load);
     this.panel1.ResumeLayout(false);
     this.panel1.PerformLayout();
     this.panel2.ResumeLayout(false);
     ((System.ComponentModel.ISupportInitialize)(this.gdv_guards)).EndInit();
     this.panel3.ResumeLayout(false);
     this.panel3.PerformLayout();
     this.panel4.ResumeLayout(false);
     this.panel4.PerformLayout();
     this.ResumeLayout(false);
 }
Пример #20
0
 private void InitializeComponent()
 {
     this.components = new System.ComponentModel.Container();
     System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(frm_lookups));
     this.panel1              = new System.Windows.Forms.Panel();
     this.btnedit             = new System.Windows.Forms.Button();
     this.btnnew              = new System.Windows.Forms.Button();
     this.btnsave             = new System.Windows.Forms.Button();
     this.gdv_branches        = new System.Windows.Forms.DataGridView();
     this.panel4              = new System.Windows.Forms.Panel();
     this.label10             = new System.Windows.Forms.Label();
     this.txt_branch_code     = new System.Windows.Forms.TextBox();
     this.txt_branch_id       = new System.Windows.Forms.TextBox();
     this.label4              = new System.Windows.Forms.Label();
     this.chk_branch_active   = new System.Windows.Forms.CheckBox();
     this.txt_branch_name     = new System.Windows.Forms.TextBox();
     this.label1              = new System.Windows.Forms.Label();
     this.panel2              = new System.Windows.Forms.Panel();
     this.btn_edit_dept       = new System.Windows.Forms.Button();
     this.panel7              = new System.Windows.Forms.Panel();
     this.label12             = new System.Windows.Forms.Label();
     this.txt_department_code = new System.Windows.Forms.TextBox();
     this.txt_dept_id         = new System.Windows.Forms.TextBox();
     this.label5              = new System.Windows.Forms.Label();
     this.chk_dept_active     = new System.Windows.Forms.CheckBox();
     this.txt_dept_name       = new System.Windows.Forms.TextBox();
     this.label3              = new System.Windows.Forms.Label();
     this.gdv_departments     = new System.Windows.Forms.DataGridView();
     this.btn_new_dept        = new System.Windows.Forms.Button();
     this.btn_save_dept       = new System.Windows.Forms.Button();
     this.panel3              = new System.Windows.Forms.Panel();
     this.btn_position_edit   = new System.Windows.Forms.Button();
     this.btn_position_new    = new System.Windows.Forms.Button();
     this.panel6              = new System.Windows.Forms.Panel();
     this.label11             = new System.Windows.Forms.Label();
     this.txt_position_code   = new System.Windows.Forms.TextBox();
     this.txt_position_id     = new System.Windows.Forms.TextBox();
     this.chk_position_active = new System.Windows.Forms.CheckBox();
     this.label6              = new System.Windows.Forms.Label();
     this.txt_position_name   = new System.Windows.Forms.TextBox();
     this.label2              = new System.Windows.Forms.Label();
     this.btn_position_save   = new System.Windows.Forms.Button();
     this.gdv_positions       = new System.Windows.Forms.DataGridView();
     this.panel5              = new System.Windows.Forms.Panel();
     this.label9              = new System.Windows.Forms.Label();
     this.label8              = new System.Windows.Forms.Label();
     this.label7              = new System.Windows.Forms.Label();
     this.reSize1             = new LarcomAndYoung.Windows.Forms.ReSize(this.components);
     this.panel1.SuspendLayout();
     ((System.ComponentModel.ISupportInitialize)(this.gdv_branches)).BeginInit();
     this.panel4.SuspendLayout();
     this.panel2.SuspendLayout();
     this.panel7.SuspendLayout();
     ((System.ComponentModel.ISupportInitialize)(this.gdv_departments)).BeginInit();
     this.panel3.SuspendLayout();
     this.panel6.SuspendLayout();
     ((System.ComponentModel.ISupportInitialize)(this.gdv_positions)).BeginInit();
     this.panel5.SuspendLayout();
     this.SuspendLayout();
     //
     // panel1
     //
     this.panel1.BackColor   = System.Drawing.Color.Lavender;
     this.panel1.BorderStyle = System.Windows.Forms.BorderStyle.Fixed3D;
     this.panel1.Controls.Add(this.btnedit);
     this.panel1.Controls.Add(this.btnnew);
     this.panel1.Controls.Add(this.btnsave);
     this.panel1.Controls.Add(this.gdv_branches);
     this.panel1.Controls.Add(this.panel4);
     this.panel1.Location = new System.Drawing.Point(716, 24);
     this.panel1.Name     = "panel1";
     this.panel1.Size     = new System.Drawing.Size(640, 370);
     this.panel1.TabIndex = 0;
     this.panel1.Paint   += new System.Windows.Forms.PaintEventHandler(this.panel1_Paint);
     //
     // btnedit
     //
     this.btnedit.Location = new System.Drawing.Point(258, 121);
     this.btnedit.Name     = "btnedit";
     this.btnedit.Size     = new System.Drawing.Size(79, 31);
     this.btnedit.TabIndex = 4;
     this.btnedit.Text     = "Edit";
     this.btnedit.UseVisualStyleBackColor = true;
     this.btnedit.Click += new System.EventHandler(this.btnedit_Click);
     //
     // btnnew
     //
     this.btnnew.Location = new System.Drawing.Point(173, 121);
     this.btnnew.Name     = "btnnew";
     this.btnnew.Size     = new System.Drawing.Size(79, 31);
     this.btnnew.TabIndex = 3;
     this.btnnew.Text     = "New";
     this.btnnew.UseVisualStyleBackColor = true;
     this.btnnew.Click += new System.EventHandler(this.btnnew_Click);
     //
     // btnsave
     //
     this.btnsave.Location = new System.Drawing.Point(343, 121);
     this.btnsave.Name     = "btnsave";
     this.btnsave.Size     = new System.Drawing.Size(79, 31);
     this.btnsave.TabIndex = 2;
     this.btnsave.Text     = "Save";
     this.btnsave.UseVisualStyleBackColor = true;
     this.btnsave.Click += new System.EventHandler(this.btnsave_Click);
     //
     // gdv_branches
     //
     this.gdv_branches.AllowUserToAddRows          = false;
     this.gdv_branches.AllowUserToDeleteRows       = false;
     this.gdv_branches.AllowUserToResizeColumns    = false;
     this.gdv_branches.AllowUserToResizeRows       = false;
     this.gdv_branches.AutoSizeColumnsMode         = System.Windows.Forms.DataGridViewAutoSizeColumnsMode.Fill;
     this.gdv_branches.ColumnHeadersHeightSizeMode = System.Windows.Forms.DataGridViewColumnHeadersHeightSizeMode.AutoSize;
     this.gdv_branches.Location   = new System.Drawing.Point(3, 158);
     this.gdv_branches.Name       = "gdv_branches";
     this.gdv_branches.Size       = new System.Drawing.Size(634, 204);
     this.gdv_branches.TabIndex   = 1;
     this.gdv_branches.CellClick += new System.Windows.Forms.DataGridViewCellEventHandler(this.gdv_branches_CellClick);
     //
     // panel4
     //
     this.panel4.BackColor   = System.Drawing.Color.FromArgb(((int)(((byte)(255)))), ((int)(((byte)(224)))), ((int)(((byte)(192)))));
     this.panel4.BorderStyle = System.Windows.Forms.BorderStyle.Fixed3D;
     this.panel4.Controls.Add(this.label10);
     this.panel4.Controls.Add(this.txt_branch_code);
     this.panel4.Controls.Add(this.txt_branch_id);
     this.panel4.Controls.Add(this.label4);
     this.panel4.Controls.Add(this.chk_branch_active);
     this.panel4.Controls.Add(this.txt_branch_name);
     this.panel4.Controls.Add(this.label1);
     this.panel4.Location = new System.Drawing.Point(3, 3);
     this.panel4.Name     = "panel4";
     this.panel4.Size     = new System.Drawing.Size(422, 112);
     this.panel4.TabIndex = 0;
     //
     // label10
     //
     this.label10.AutoSize  = true;
     this.label10.ForeColor = System.Drawing.Color.Black;
     this.label10.Location  = new System.Drawing.Point(3, 64);
     this.label10.Name      = "label10";
     this.label10.Size      = new System.Drawing.Size(69, 13);
     this.label10.TabIndex  = 6;
     this.label10.Text      = "Branch Code";
     //
     // txt_branch_code
     //
     this.txt_branch_code.Font     = new System.Drawing.Font("Microsoft Sans Serif", 11.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.txt_branch_code.Location = new System.Drawing.Point(6, 78);
     this.txt_branch_code.Name     = "txt_branch_code";
     this.txt_branch_code.Size     = new System.Drawing.Size(156, 24);
     this.txt_branch_code.TabIndex = 5;
     //
     // txt_branch_id
     //
     this.txt_branch_id.Font     = new System.Drawing.Font("Microsoft Sans Serif", 11.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.txt_branch_id.Location = new System.Drawing.Point(168, 78);
     this.txt_branch_id.Name     = "txt_branch_id";
     this.txt_branch_id.ReadOnly = true;
     this.txt_branch_id.Size     = new System.Drawing.Size(96, 24);
     this.txt_branch_id.TabIndex = 4;
     //
     // label4
     //
     this.label4.AutoSize = true;
     this.label4.Location = new System.Drawing.Point(165, 62);
     this.label4.Name     = "label4";
     this.label4.Size     = new System.Drawing.Size(55, 13);
     this.label4.TabIndex = 3;
     this.label4.Text     = "Branch ID";
     //
     // chk_branch_active
     //
     this.chk_branch_active.AutoSize  = true;
     this.chk_branch_active.ForeColor = System.Drawing.Color.Black;
     this.chk_branch_active.Location  = new System.Drawing.Point(6, 42);
     this.chk_branch_active.Name      = "chk_branch_active";
     this.chk_branch_active.Size      = new System.Drawing.Size(103, 17);
     this.chk_branch_active.TabIndex  = 2;
     this.chk_branch_active.Text      = "Branch is Active";
     this.chk_branch_active.UseVisualStyleBackColor = true;
     //
     // txt_branch_name
     //
     this.txt_branch_name.Font     = new System.Drawing.Font("Microsoft Sans Serif", 11.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.txt_branch_name.Location = new System.Drawing.Point(6, 16);
     this.txt_branch_name.Name     = "txt_branch_name";
     this.txt_branch_name.Size     = new System.Drawing.Size(258, 24);
     this.txt_branch_name.TabIndex = 1;
     //
     // label1
     //
     this.label1.AutoSize  = true;
     this.label1.ForeColor = System.Drawing.Color.Black;
     this.label1.Location  = new System.Drawing.Point(3, 0);
     this.label1.Name      = "label1";
     this.label1.Size      = new System.Drawing.Size(72, 13);
     this.label1.TabIndex  = 0;
     this.label1.Text      = "Branch Name";
     //
     // panel2
     //
     this.panel2.BackColor   = System.Drawing.Color.Lavender;
     this.panel2.BorderStyle = System.Windows.Forms.BorderStyle.Fixed3D;
     this.panel2.Controls.Add(this.btn_edit_dept);
     this.panel2.Controls.Add(this.panel7);
     this.panel2.Controls.Add(this.gdv_departments);
     this.panel2.Controls.Add(this.btn_new_dept);
     this.panel2.Controls.Add(this.btn_save_dept);
     this.panel2.Location = new System.Drawing.Point(0, 24);
     this.panel2.Name     = "panel2";
     this.panel2.Size     = new System.Drawing.Size(645, 375);
     this.panel2.TabIndex = 1;
     this.panel2.Paint   += new System.Windows.Forms.PaintEventHandler(this.panel2_Paint);
     //
     // btn_edit_dept
     //
     this.btn_edit_dept.Location = new System.Drawing.Point(262, 121);
     this.btn_edit_dept.Name     = "btn_edit_dept";
     this.btn_edit_dept.Size     = new System.Drawing.Size(79, 31);
     this.btn_edit_dept.TabIndex = 7;
     this.btn_edit_dept.Text     = "Edit";
     this.btn_edit_dept.UseVisualStyleBackColor = true;
     this.btn_edit_dept.Click += new System.EventHandler(this.btn_edit_dept_Click);
     //
     // panel7
     //
     this.panel7.BackColor   = System.Drawing.Color.FromArgb(((int)(((byte)(255)))), ((int)(((byte)(224)))), ((int)(((byte)(192)))));
     this.panel7.BorderStyle = System.Windows.Forms.BorderStyle.Fixed3D;
     this.panel7.Controls.Add(this.label12);
     this.panel7.Controls.Add(this.txt_department_code);
     this.panel7.Controls.Add(this.txt_dept_id);
     this.panel7.Controls.Add(this.label5);
     this.panel7.Controls.Add(this.chk_dept_active);
     this.panel7.Controls.Add(this.txt_dept_name);
     this.panel7.Controls.Add(this.label3);
     this.panel7.Location = new System.Drawing.Point(3, 3);
     this.panel7.Name     = "panel7";
     this.panel7.Size     = new System.Drawing.Size(422, 112);
     this.panel7.TabIndex = 3;
     //
     // label12
     //
     this.label12.AutoSize = true;
     this.label12.Location = new System.Drawing.Point(7, 66);
     this.label12.Name     = "label12";
     this.label12.Size     = new System.Drawing.Size(90, 13);
     this.label12.TabIndex = 7;
     this.label12.Text     = "Department Code";
     //
     // txt_department_code
     //
     this.txt_department_code.Font     = new System.Drawing.Font("Microsoft Sans Serif", 11.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.txt_department_code.Location = new System.Drawing.Point(6, 81);
     this.txt_department_code.Name     = "txt_department_code";
     this.txt_department_code.Size     = new System.Drawing.Size(160, 24);
     this.txt_department_code.TabIndex = 6;
     //
     // txt_dept_id
     //
     this.txt_dept_id.Font     = new System.Drawing.Font("Microsoft Sans Serif", 11.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.txt_dept_id.Location = new System.Drawing.Point(172, 81);
     this.txt_dept_id.Name     = "txt_dept_id";
     this.txt_dept_id.ReadOnly = true;
     this.txt_dept_id.Size     = new System.Drawing.Size(92, 24);
     this.txt_dept_id.TabIndex = 5;
     //
     // label5
     //
     this.label5.AutoSize = true;
     this.label5.Location = new System.Drawing.Point(170, 65);
     this.label5.Name     = "label5";
     this.label5.Size     = new System.Drawing.Size(76, 13);
     this.label5.TabIndex = 5;
     this.label5.Text     = "Department ID";
     //
     // chk_dept_active
     //
     this.chk_dept_active.AutoSize = true;
     this.chk_dept_active.Location = new System.Drawing.Point(6, 46);
     this.chk_dept_active.Name     = "chk_dept_active";
     this.chk_dept_active.Size     = new System.Drawing.Size(127, 17);
     this.chk_dept_active.TabIndex = 2;
     this.chk_dept_active.Text     = "Department  is Active";
     this.chk_dept_active.UseVisualStyleBackColor = true;
     //
     // txt_dept_name
     //
     this.txt_dept_name.Font     = new System.Drawing.Font("Microsoft Sans Serif", 11.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.txt_dept_name.Location = new System.Drawing.Point(6, 16);
     this.txt_dept_name.Name     = "txt_dept_name";
     this.txt_dept_name.Size     = new System.Drawing.Size(258, 24);
     this.txt_dept_name.TabIndex = 1;
     //
     // label3
     //
     this.label3.AutoSize = true;
     this.label3.Location = new System.Drawing.Point(3, 0);
     this.label3.Name     = "label3";
     this.label3.Size     = new System.Drawing.Size(93, 13);
     this.label3.TabIndex = 0;
     this.label3.Text     = "Department Name";
     //
     // gdv_departments
     //
     this.gdv_departments.AllowUserToAddRows          = false;
     this.gdv_departments.AllowUserToDeleteRows       = false;
     this.gdv_departments.AllowUserToResizeColumns    = false;
     this.gdv_departments.AllowUserToResizeRows       = false;
     this.gdv_departments.AutoSizeColumnsMode         = System.Windows.Forms.DataGridViewAutoSizeColumnsMode.Fill;
     this.gdv_departments.ColumnHeadersHeightSizeMode = System.Windows.Forms.DataGridViewColumnHeadersHeightSizeMode.AutoSize;
     this.gdv_departments.Location   = new System.Drawing.Point(3, 158);
     this.gdv_departments.Name       = "gdv_departments";
     this.gdv_departments.Size       = new System.Drawing.Size(634, 210);
     this.gdv_departments.TabIndex   = 3;
     this.gdv_departments.CellClick += new System.Windows.Forms.DataGridViewCellEventHandler(this.gdv_departments_CellClick);
     //
     // btn_new_dept
     //
     this.btn_new_dept.Location = new System.Drawing.Point(177, 121);
     this.btn_new_dept.Name     = "btn_new_dept";
     this.btn_new_dept.Size     = new System.Drawing.Size(79, 31);
     this.btn_new_dept.TabIndex = 6;
     this.btn_new_dept.Text     = "New";
     this.btn_new_dept.UseVisualStyleBackColor = true;
     this.btn_new_dept.Click += new System.EventHandler(this.btn_new_dept_Click);
     //
     // btn_save_dept
     //
     this.btn_save_dept.Location = new System.Drawing.Point(347, 121);
     this.btn_save_dept.Name     = "btn_save_dept";
     this.btn_save_dept.Size     = new System.Drawing.Size(79, 31);
     this.btn_save_dept.TabIndex = 5;
     this.btn_save_dept.Text     = "Save";
     this.btn_save_dept.UseVisualStyleBackColor = true;
     this.btn_save_dept.Click += new System.EventHandler(this.btn_save_dept_Click);
     //
     // panel3
     //
     this.panel3.BackColor   = System.Drawing.Color.Lavender;
     this.panel3.BorderStyle = System.Windows.Forms.BorderStyle.Fixed3D;
     this.panel3.Controls.Add(this.btn_position_edit);
     this.panel3.Controls.Add(this.btn_position_new);
     this.panel3.Controls.Add(this.panel6);
     this.panel3.Controls.Add(this.btn_position_save);
     this.panel3.Controls.Add(this.gdv_positions);
     this.panel3.Location = new System.Drawing.Point(5, 421);
     this.panel3.Name     = "panel3";
     this.panel3.Size     = new System.Drawing.Size(640, 314);
     this.panel3.TabIndex = 2;
     this.panel3.Paint   += new System.Windows.Forms.PaintEventHandler(this.panel3_Paint);
     //
     // btn_position_edit
     //
     this.btn_position_edit.Location = new System.Drawing.Point(258, 125);
     this.btn_position_edit.Name     = "btn_position_edit";
     this.btn_position_edit.Size     = new System.Drawing.Size(79, 31);
     this.btn_position_edit.TabIndex = 7;
     this.btn_position_edit.Text     = "Edit";
     this.btn_position_edit.UseVisualStyleBackColor = true;
     this.btn_position_edit.Click += new System.EventHandler(this.btn_position_edit_Click);
     //
     // btn_position_new
     //
     this.btn_position_new.Location = new System.Drawing.Point(173, 125);
     this.btn_position_new.Name     = "btn_position_new";
     this.btn_position_new.Size     = new System.Drawing.Size(79, 31);
     this.btn_position_new.TabIndex = 6;
     this.btn_position_new.Text     = "New";
     this.btn_position_new.UseVisualStyleBackColor = true;
     this.btn_position_new.Click += new System.EventHandler(this.btn_position_new_Click);
     //
     // panel6
     //
     this.panel6.BackColor   = System.Drawing.Color.FromArgb(((int)(((byte)(255)))), ((int)(((byte)(224)))), ((int)(((byte)(192)))));
     this.panel6.BorderStyle = System.Windows.Forms.BorderStyle.Fixed3D;
     this.panel6.Controls.Add(this.label11);
     this.panel6.Controls.Add(this.txt_position_code);
     this.panel6.Controls.Add(this.txt_position_id);
     this.panel6.Controls.Add(this.chk_position_active);
     this.panel6.Controls.Add(this.label6);
     this.panel6.Controls.Add(this.txt_position_name);
     this.panel6.Controls.Add(this.label2);
     this.panel6.Location = new System.Drawing.Point(3, 3);
     this.panel6.Name     = "panel6";
     this.panel6.Size     = new System.Drawing.Size(422, 122);
     this.panel6.TabIndex = 3;
     //
     // label11
     //
     this.label11.AutoSize = true;
     this.label11.Location = new System.Drawing.Point(3, 62);
     this.label11.Name     = "label11";
     this.label11.Size     = new System.Drawing.Size(72, 13);
     this.label11.TabIndex = 9;
     this.label11.Text     = "Position Code";
     //
     // txt_position_code
     //
     this.txt_position_code.Font     = new System.Drawing.Font("Microsoft Sans Serif", 11.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.txt_position_code.Location = new System.Drawing.Point(6, 78);
     this.txt_position_code.Name     = "txt_position_code";
     this.txt_position_code.Size     = new System.Drawing.Size(155, 24);
     this.txt_position_code.TabIndex = 8;
     //
     // txt_position_id
     //
     this.txt_position_id.Font     = new System.Drawing.Font("Microsoft Sans Serif", 11.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.txt_position_id.Location = new System.Drawing.Point(167, 78);
     this.txt_position_id.Name     = "txt_position_id";
     this.txt_position_id.ReadOnly = true;
     this.txt_position_id.Size     = new System.Drawing.Size(97, 24);
     this.txt_position_id.TabIndex = 6;
     //
     // chk_position_active
     //
     this.chk_position_active.AutoSize = true;
     this.chk_position_active.Location = new System.Drawing.Point(6, 42);
     this.chk_position_active.Name     = "chk_position_active";
     this.chk_position_active.Size     = new System.Drawing.Size(106, 17);
     this.chk_position_active.TabIndex = 2;
     this.chk_position_active.Text     = "Position is Active";
     this.chk_position_active.UseVisualStyleBackColor = true;
     //
     // label6
     //
     this.label6.AutoSize = true;
     this.label6.Location = new System.Drawing.Point(164, 62);
     this.label6.Name     = "label6";
     this.label6.Size     = new System.Drawing.Size(58, 13);
     this.label6.TabIndex = 7;
     this.label6.Text     = "Position ID";
     //
     // txt_position_name
     //
     this.txt_position_name.Font     = new System.Drawing.Font("Microsoft Sans Serif", 11.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.txt_position_name.Location = new System.Drawing.Point(6, 16);
     this.txt_position_name.Name     = "txt_position_name";
     this.txt_position_name.Size     = new System.Drawing.Size(258, 24);
     this.txt_position_name.TabIndex = 1;
     //
     // label2
     //
     this.label2.AutoSize = true;
     this.label2.Location = new System.Drawing.Point(3, 0);
     this.label2.Name     = "label2";
     this.label2.Size     = new System.Drawing.Size(75, 13);
     this.label2.TabIndex = 0;
     this.label2.Text     = "Position Name";
     //
     // btn_position_save
     //
     this.btn_position_save.ForeColor = System.Drawing.Color.Blue;
     this.btn_position_save.Location  = new System.Drawing.Point(343, 125);
     this.btn_position_save.Name      = "btn_position_save";
     this.btn_position_save.Size      = new System.Drawing.Size(79, 31);
     this.btn_position_save.TabIndex  = 5;
     this.btn_position_save.Text      = "Save";
     this.btn_position_save.UseVisualStyleBackColor = true;
     this.btn_position_save.Click += new System.EventHandler(this.btn_position_save_Click);
     //
     // gdv_positions
     //
     this.gdv_positions.AllowUserToAddRows          = false;
     this.gdv_positions.AllowUserToDeleteRows       = false;
     this.gdv_positions.AllowUserToResizeColumns    = false;
     this.gdv_positions.AllowUserToResizeRows       = false;
     this.gdv_positions.AutoSizeColumnsMode         = System.Windows.Forms.DataGridViewAutoSizeColumnsMode.Fill;
     this.gdv_positions.ColumnHeadersHeightSizeMode = System.Windows.Forms.DataGridViewColumnHeadersHeightSizeMode.AutoSize;
     this.gdv_positions.Location   = new System.Drawing.Point(3, 158);
     this.gdv_positions.Name       = "gdv_positions";
     this.gdv_positions.Size       = new System.Drawing.Size(630, 149);
     this.gdv_positions.TabIndex   = 2;
     this.gdv_positions.CellClick += new System.Windows.Forms.DataGridViewCellEventHandler(this.gdv_positions_CellClick);
     //
     // panel5
     //
     this.panel5.BackColor   = System.Drawing.Color.Azure;
     this.panel5.BorderStyle = System.Windows.Forms.BorderStyle.Fixed3D;
     this.panel5.Controls.Add(this.label9);
     this.panel5.Controls.Add(this.label8);
     this.panel5.Controls.Add(this.label7);
     this.panel5.Controls.Add(this.panel2);
     this.panel5.Controls.Add(this.panel3);
     this.panel5.Controls.Add(this.panel1);
     this.panel5.Location = new System.Drawing.Point(2, 2);
     this.panel5.Name     = "panel5";
     this.panel5.Size     = new System.Drawing.Size(1366, 741);
     this.panel5.TabIndex = 3;
     //
     // label9
     //
     this.label9.AutoSize  = true;
     this.label9.BackColor = System.Drawing.Color.Yellow;
     this.label9.Location  = new System.Drawing.Point(3, 406);
     this.label9.Name      = "label9";
     this.label9.Size      = new System.Drawing.Size(114, 13);
     this.label9.TabIndex  = 5;
     this.label9.Text      = "MANAGE POSITIONS";
     //
     // label8
     //
     this.label8.AutoSize  = true;
     this.label8.BackColor = System.Drawing.Color.Yellow;
     this.label8.Location  = new System.Drawing.Point(713, 8);
     this.label8.Name      = "label8";
     this.label8.Size      = new System.Drawing.Size(115, 13);
     this.label8.TabIndex  = 4;
     this.label8.Text      = "MANAGE BRANCHES";
     //
     // label7
     //
     this.label7.AutoSize  = true;
     this.label7.BackColor = System.Drawing.Color.Yellow;
     this.label7.Location  = new System.Drawing.Point(2, 8);
     this.label7.Name      = "label7";
     this.label7.Size      = new System.Drawing.Size(138, 13);
     this.label7.TabIndex  = 3;
     this.label7.Text      = "MANAGE DEPARTMENTS";
     //
     // reSize1
     //
     this.reSize1.About = null;
     this.reSize1.AutoCenterFormOnLoad = false;
     this.reSize1.Enabled       = true;
     this.reSize1.HostContainer = this;
     this.reSize1.InitialHostContainerHeight = 745D;
     this.reSize1.InitialHostContainerWidth  = 1366D;
     this.reSize1.Tag = null;
     //
     // frm_lookups
     //
     this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F);
     this.AutoScaleMode       = System.Windows.Forms.AutoScaleMode.Font;
     this.BackColor           = System.Drawing.Color.FromArgb(((int)(((byte)(255)))), ((int)(((byte)(192)))), ((int)(((byte)(128)))));
     this.ClientSize          = new System.Drawing.Size(1366, 745);
     this.Controls.Add(this.panel5);
     this.FormBorderStyle = System.Windows.Forms.FormBorderStyle.Fixed3D;
     this.Icon            = ((System.Drawing.Icon)(resources.GetObject("$this.Icon")));
     this.Name            = "frm_lookups";
     this.StartPosition   = System.Windows.Forms.FormStartPosition.CenterScreen;
     this.Tag             = "";
     this.Text            = "MANAGE BRANCHES,DEPARTMENTS & POSITIONS";
     this.Load           += new System.EventHandler(this.frm_lookups_Load);
     this.panel1.ResumeLayout(false);
     ((System.ComponentModel.ISupportInitialize)(this.gdv_branches)).EndInit();
     this.panel4.ResumeLayout(false);
     this.panel4.PerformLayout();
     this.panel2.ResumeLayout(false);
     this.panel7.ResumeLayout(false);
     this.panel7.PerformLayout();
     ((System.ComponentModel.ISupportInitialize)(this.gdv_departments)).EndInit();
     this.panel3.ResumeLayout(false);
     this.panel6.ResumeLayout(false);
     this.panel6.PerformLayout();
     ((System.ComponentModel.ISupportInitialize)(this.gdv_positions)).EndInit();
     this.panel5.ResumeLayout(false);
     this.panel5.PerformLayout();
     this.ResumeLayout(false);
 }
Пример #21
0
 private void InitializeComponent()
 {
     this.components = new System.ComponentModel.Container();
     System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(frm_transfer_guards));
     this.panel1                       = new System.Windows.Forms.Panel();
     this.panel5                       = new System.Windows.Forms.Panel();
     this.label44                      = new System.Windows.Forms.Label();
     this.btn_branch_search            = new System.Windows.Forms.Button();
     this.cbo_branch_search            = new System.Windows.Forms.ComboBox();
     this.label43                      = new System.Windows.Forms.Label();
     this.btn_name_search              = new System.Windows.Forms.Button();
     this.txt_name_search              = new System.Windows.Forms.RichTextBox();
     this.txt_note                     = new System.Windows.Forms.RichTextBox();
     this.panel4                       = new System.Windows.Forms.Panel();
     this.label6                       = new System.Windows.Forms.Label();
     this.label49                      = new System.Windows.Forms.Label();
     this.label48                      = new System.Windows.Forms.Label();
     this.label47                      = new System.Windows.Forms.Label();
     this.txt_guard_number_complete    = new System.Windows.Forms.TextBox();
     this.txt_guard_number_static_code = new System.Windows.Forms.TextBox();
     this.txt_guard_number_auto_code   = new System.Windows.Forms.TextBox();
     this.cbo_new_branch               = new System.Windows.Forms.ComboBox();
     this.label8                       = new System.Windows.Forms.Label();
     this.btn_transfer                 = new System.Windows.Forms.Button();
     this.label2                       = new System.Windows.Forms.Label();
     this.label1                       = new System.Windows.Forms.Label();
     this.panel3                       = new System.Windows.Forms.Panel();
     this.txt_guard_number             = new System.Windows.Forms.TextBox();
     this.label5                       = new System.Windows.Forms.Label();
     this.txt_full_name                = new System.Windows.Forms.TextBox();
     this.label4                       = new System.Windows.Forms.Label();
     this.cbo_branch                   = new System.Windows.Forms.ComboBox();
     this.label3                       = new System.Windows.Forms.Label();
     this.panel2                       = new System.Windows.Forms.Panel();
     this.gdv_guards                   = new System.Windows.Forms.DataGridView();
     this.txt_guid                     = new System.Windows.Forms.TextBox();
     this.reSize1                      = new LarcomAndYoung.Windows.Forms.ReSize(this.components);
     this.panel1.SuspendLayout();
     this.panel5.SuspendLayout();
     this.panel4.SuspendLayout();
     this.panel3.SuspendLayout();
     this.panel2.SuspendLayout();
     ((System.ComponentModel.ISupportInitialize)(this.gdv_guards)).BeginInit();
     this.SuspendLayout();
     //
     // panel1
     //
     this.panel1.BackColor = System.Drawing.Color.Azure;
     this.panel1.Controls.Add(this.panel5);
     this.panel1.Controls.Add(this.txt_note);
     this.panel1.Controls.Add(this.panel4);
     this.panel1.Controls.Add(this.btn_transfer);
     this.panel1.Controls.Add(this.label2);
     this.panel1.Controls.Add(this.label1);
     this.panel1.Controls.Add(this.panel3);
     this.panel1.Controls.Add(this.panel2);
     this.panel1.Location = new System.Drawing.Point(2, 2);
     this.panel1.Name     = "panel1";
     this.panel1.Size     = new System.Drawing.Size(932, 612);
     this.panel1.TabIndex = 0;
     //
     // panel5
     //
     this.panel5.BackColor = System.Drawing.Color.WhiteSmoke;
     this.panel5.Controls.Add(this.label44);
     this.panel5.Controls.Add(this.btn_branch_search);
     this.panel5.Controls.Add(this.cbo_branch_search);
     this.panel5.Controls.Add(this.label43);
     this.panel5.Controls.Add(this.btn_name_search);
     this.panel5.Controls.Add(this.txt_name_search);
     this.panel5.Location = new System.Drawing.Point(3, 127);
     this.panel5.Name     = "panel5";
     this.panel5.Size     = new System.Drawing.Size(923, 47);
     this.panel5.TabIndex = 15;
     //
     // label44
     //
     this.label44.AutoSize  = true;
     this.label44.BackColor = System.Drawing.Color.Yellow;
     this.label44.Location  = new System.Drawing.Point(296, 2);
     this.label44.Name      = "label44";
     this.label44.Size      = new System.Drawing.Size(130, 13);
     this.label44.TabIndex  = 67;
     this.label44.Text      = "Select a Branch to search";
     //
     // btn_branch_search
     //
     this.btn_branch_search.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(192)))), ((int)(((byte)(192)))), ((int)(((byte)(255)))));
     this.btn_branch_search.Location  = new System.Drawing.Point(511, 16);
     this.btn_branch_search.Name      = "btn_branch_search";
     this.btn_branch_search.Size      = new System.Drawing.Size(65, 28);
     this.btn_branch_search.TabIndex  = 66;
     this.btn_branch_search.Text      = "Search";
     this.btn_branch_search.UseVisualStyleBackColor = false;
     this.btn_branch_search.Click += new System.EventHandler(this.btn_branch_search_Click);
     //
     // cbo_branch_search
     //
     this.cbo_branch_search.Font = new System.Drawing.Font("Microsoft Sans Serif", 11.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.cbo_branch_search.FormattingEnabled = true;
     this.cbo_branch_search.Location          = new System.Drawing.Point(299, 16);
     this.cbo_branch_search.Name     = "cbo_branch_search";
     this.cbo_branch_search.Size     = new System.Drawing.Size(210, 26);
     this.cbo_branch_search.TabIndex = 65;
     //
     // label43
     //
     this.label43.AutoSize  = true;
     this.label43.BackColor = System.Drawing.Color.Yellow;
     this.label43.Location  = new System.Drawing.Point(3, 2);
     this.label43.Name      = "label43";
     this.label43.Size      = new System.Drawing.Size(120, 13);
     this.label43.TabIndex  = 64;
     this.label43.Text      = "Enter First or Last Name";
     //
     // btn_name_search
     //
     this.btn_name_search.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(192)))), ((int)(((byte)(192)))), ((int)(((byte)(255)))));
     this.btn_name_search.Location  = new System.Drawing.Point(215, 16);
     this.btn_name_search.Name      = "btn_name_search";
     this.btn_name_search.Size      = new System.Drawing.Size(65, 28);
     this.btn_name_search.TabIndex  = 63;
     this.btn_name_search.Text      = "Search";
     this.btn_name_search.UseVisualStyleBackColor = false;
     this.btn_name_search.Click += new System.EventHandler(this.btn_name_search_Click);
     //
     // txt_name_search
     //
     this.txt_name_search.Font     = new System.Drawing.Font("Microsoft Sans Serif", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.txt_name_search.Location = new System.Drawing.Point(3, 18);
     this.txt_name_search.Name     = "txt_name_search";
     this.txt_name_search.Size     = new System.Drawing.Size(210, 26);
     this.txt_name_search.TabIndex = 62;
     this.txt_name_search.Text     = "";
     //
     // txt_note
     //
     this.txt_note.BackColor = System.Drawing.SystemColors.ActiveCaptionText;
     this.txt_note.Font      = new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.txt_note.ForeColor = System.Drawing.Color.White;
     this.txt_note.Location  = new System.Drawing.Point(750, 3);
     this.txt_note.Name      = "txt_note";
     this.txt_note.ReadOnly  = true;
     this.txt_note.Size      = new System.Drawing.Size(179, 69);
     this.txt_note.TabIndex  = 14;
     this.txt_note.Text      = "NOTE: The system keeps track of the person executing the \nguard transfer for trac" +
                               "king purporses";
     //
     // panel4
     //
     this.panel4.BackColor = System.Drawing.Color.Beige;
     this.panel4.Controls.Add(this.label6);
     this.panel4.Controls.Add(this.label49);
     this.panel4.Controls.Add(this.label48);
     this.panel4.Controls.Add(this.label47);
     this.panel4.Controls.Add(this.txt_guard_number_complete);
     this.panel4.Controls.Add(this.txt_guard_number_static_code);
     this.panel4.Controls.Add(this.txt_guard_number_auto_code);
     this.panel4.Controls.Add(this.cbo_new_branch);
     this.panel4.Controls.Add(this.label8);
     this.panel4.Location = new System.Drawing.Point(386, 15);
     this.panel4.Name     = "panel4";
     this.panel4.Size     = new System.Drawing.Size(358, 106);
     this.panel4.TabIndex = 13;
     //
     // label6
     //
     this.label6.AutoSize  = true;
     this.label6.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(255)))), ((int)(((byte)(192)))), ((int)(((byte)(128)))));
     this.label6.Location  = new System.Drawing.Point(9, 33);
     this.label6.Name      = "label6";
     this.label6.Size      = new System.Drawing.Size(135, 13);
     this.label6.TabIndex  = 14;
     this.label6.Text      = "Assign New Guard Number";
     //
     // label49
     //
     this.label49.AutoSize  = true;
     this.label49.BackColor = System.Drawing.Color.Yellow;
     this.label49.Font      = new System.Drawing.Font("Microsoft Sans Serif", 9.75F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.label49.Location  = new System.Drawing.Point(115, 50);
     this.label49.Name      = "label49";
     this.label49.Size      = new System.Drawing.Size(65, 16);
     this.label49.TabIndex  = 72;
     this.label49.Text      = "Assigned";
     //
     // label48
     //
     this.label48.AutoSize  = true;
     this.label48.BackColor = System.Drawing.Color.Yellow;
     this.label48.Font      = new System.Drawing.Font("Microsoft Sans Serif", 9.75F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.label48.Location  = new System.Drawing.Point(221, 50);
     this.label48.Name      = "label48";
     this.label48.Size      = new System.Drawing.Size(117, 16);
     this.label48.TabIndex  = 71;
     this.label48.Text      = "Full Guard number";
     //
     // label47
     //
     this.label47.AutoSize  = true;
     this.label47.BackColor = System.Drawing.Color.Yellow;
     this.label47.Font      = new System.Drawing.Font("Microsoft Sans Serif", 9.75F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.label47.Location  = new System.Drawing.Point(9, 50);
     this.label47.Name      = "label47";
     this.label47.Size      = new System.Drawing.Size(35, 16);
     this.label47.TabIndex  = 70;
     this.label47.Text      = "Auto";
     //
     // txt_guard_number_complete
     //
     this.txt_guard_number_complete.Font     = new System.Drawing.Font("Microsoft Sans Serif", 14.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.txt_guard_number_complete.Location = new System.Drawing.Point(224, 68);
     this.txt_guard_number_complete.Name     = "txt_guard_number_complete";
     this.txt_guard_number_complete.ReadOnly = true;
     this.txt_guard_number_complete.Size     = new System.Drawing.Size(119, 29);
     this.txt_guard_number_complete.TabIndex = 69;
     //
     // txt_guard_number_static_code
     //
     this.txt_guard_number_static_code.Font         = new System.Drawing.Font("Microsoft Sans Serif", 14.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.txt_guard_number_static_code.Location     = new System.Drawing.Point(118, 68);
     this.txt_guard_number_static_code.Name         = "txt_guard_number_static_code";
     this.txt_guard_number_static_code.Size         = new System.Drawing.Size(100, 29);
     this.txt_guard_number_static_code.TabIndex     = 68;
     this.txt_guard_number_static_code.TextChanged += new System.EventHandler(this.txt_guard_number_static_code_TextChanged);
     this.txt_guard_number_static_code.KeyDown     += new System.Windows.Forms.KeyEventHandler(this.txt_guard_number_static_code_KeyDown);
     this.txt_guard_number_static_code.KeyPress    += new System.Windows.Forms.KeyPressEventHandler(this.txt_guard_number_static_code_KeyPress);
     //
     // txt_guard_number_auto_code
     //
     this.txt_guard_number_auto_code.Font     = new System.Drawing.Font("Microsoft Sans Serif", 14.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.txt_guard_number_auto_code.Location = new System.Drawing.Point(12, 68);
     this.txt_guard_number_auto_code.Name     = "txt_guard_number_auto_code";
     this.txt_guard_number_auto_code.ReadOnly = true;
     this.txt_guard_number_auto_code.Size     = new System.Drawing.Size(100, 29);
     this.txt_guard_number_auto_code.TabIndex = 67;
     //
     // cbo_new_branch
     //
     this.cbo_new_branch.Font = new System.Drawing.Font("Microsoft Sans Serif", 11.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.cbo_new_branch.FormattingEnabled = true;
     this.cbo_new_branch.Location          = new System.Drawing.Point(97, 3);
     this.cbo_new_branch.Name                  = "cbo_new_branch";
     this.cbo_new_branch.Size                  = new System.Drawing.Size(246, 26);
     this.cbo_new_branch.TabIndex              = 8;
     this.cbo_new_branch.SelectedIndexChanged += new System.EventHandler(this.cbo_new_branch_SelectedIndexChanged);
     this.cbo_new_branch.Click                += new System.EventHandler(this.cbo_new_branch_Click);
     //
     // label8
     //
     this.label8.AutoSize = true;
     this.label8.Font     = new System.Drawing.Font("Microsoft Sans Serif", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.label8.Location = new System.Drawing.Point(8, 3);
     this.label8.Name     = "label8";
     this.label8.Size     = new System.Drawing.Size(83, 15);
     this.label8.TabIndex = 0;
     this.label8.Text     = "Branch Name";
     //
     // btn_transfer
     //
     this.btn_transfer.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(255)))), ((int)(((byte)(224)))), ((int)(((byte)(192)))));
     this.btn_transfer.Location  = new System.Drawing.Point(750, 74);
     this.btn_transfer.Name      = "btn_transfer";
     this.btn_transfer.Size      = new System.Drawing.Size(120, 47);
     this.btn_transfer.TabIndex  = 5;
     this.btn_transfer.Text      = "EXECUTE GUARD TRANSFER";
     this.btn_transfer.UseVisualStyleBackColor = false;
     this.btn_transfer.Click += new System.EventHandler(this.btn_transfer_Click);
     //
     // label2
     //
     this.label2.AutoSize  = true;
     this.label2.BackColor = System.Drawing.Color.Yellow;
     this.label2.Location  = new System.Drawing.Point(383, 1);
     this.label2.Name      = "label2";
     this.label2.Size      = new System.Drawing.Size(147, 13);
     this.label2.TabIndex  = 4;
     this.label2.Text      = "Details of guard\'s new branch";
     //
     // label1
     //
     this.label1.AutoSize  = true;
     this.label1.BackColor = System.Drawing.Color.Yellow;
     this.label1.Location  = new System.Drawing.Point(19, 1);
     this.label1.Name      = "label1";
     this.label1.Size      = new System.Drawing.Size(160, 13);
     this.label1.TabIndex  = 3;
     this.label1.Text      = "Details of current guard\'s branch";
     //
     // panel3
     //
     this.panel3.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(192)))), ((int)(((byte)(192)))), ((int)(((byte)(0)))));
     this.panel3.Controls.Add(this.txt_guard_number);
     this.panel3.Controls.Add(this.label5);
     this.panel3.Controls.Add(this.txt_full_name);
     this.panel3.Controls.Add(this.label4);
     this.panel3.Controls.Add(this.cbo_branch);
     this.panel3.Controls.Add(this.label3);
     this.panel3.Enabled  = false;
     this.panel3.Location = new System.Drawing.Point(22, 15);
     this.panel3.Name     = "panel3";
     this.panel3.Size     = new System.Drawing.Size(358, 106);
     this.panel3.TabIndex = 1;
     this.panel3.Paint   += new System.Windows.Forms.PaintEventHandler(this.panel3_Paint);
     //
     // txt_guard_number
     //
     this.txt_guard_number.Font     = new System.Drawing.Font("Microsoft Sans Serif", 11.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.txt_guard_number.Location = new System.Drawing.Point(97, 63);
     this.txt_guard_number.Name     = "txt_guard_number";
     this.txt_guard_number.Size     = new System.Drawing.Size(227, 24);
     this.txt_guard_number.TabIndex = 12;
     //
     // label5
     //
     this.label5.AutoSize = true;
     this.label5.Font     = new System.Drawing.Font("Microsoft Sans Serif", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.label5.Location = new System.Drawing.Point(9, 68);
     this.label5.Name     = "label5";
     this.label5.Size     = new System.Drawing.Size(89, 15);
     this.label5.TabIndex = 11;
     this.label5.Text     = "Guard Number";
     //
     // txt_full_name
     //
     this.txt_full_name.Font     = new System.Drawing.Font("Microsoft Sans Serif", 11.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.txt_full_name.Location = new System.Drawing.Point(97, 33);
     this.txt_full_name.Name     = "txt_full_name";
     this.txt_full_name.Size     = new System.Drawing.Size(227, 24);
     this.txt_full_name.TabIndex = 10;
     //
     // label4
     //
     this.label4.AutoSize = true;
     this.label4.Font     = new System.Drawing.Font("Microsoft Sans Serif", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.label4.Location = new System.Drawing.Point(9, 38);
     this.label4.Name     = "label4";
     this.label4.Size     = new System.Drawing.Size(78, 15);
     this.label4.TabIndex = 9;
     this.label4.Text     = "Guard Name";
     //
     // cbo_branch
     //
     this.cbo_branch.Font = new System.Drawing.Font("Microsoft Sans Serif", 11.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.cbo_branch.FormattingEnabled = true;
     this.cbo_branch.Location          = new System.Drawing.Point(97, 3);
     this.cbo_branch.Name     = "cbo_branch";
     this.cbo_branch.Size     = new System.Drawing.Size(227, 26);
     this.cbo_branch.TabIndex = 8;
     //
     // label3
     //
     this.label3.AutoSize = true;
     this.label3.Font     = new System.Drawing.Font("Microsoft Sans Serif", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.label3.Location = new System.Drawing.Point(9, 8);
     this.label3.Name     = "label3";
     this.label3.Size     = new System.Drawing.Size(83, 15);
     this.label3.TabIndex = 0;
     this.label3.Text     = "Branch Name";
     //
     // panel2
     //
     this.panel2.BackColor = System.Drawing.Color.Yellow;
     this.panel2.Controls.Add(this.gdv_guards);
     this.panel2.Location = new System.Drawing.Point(3, 177);
     this.panel2.Name     = "panel2";
     this.panel2.Size     = new System.Drawing.Size(926, 433);
     this.panel2.TabIndex = 0;
     //
     // gdv_guards
     //
     this.gdv_guards.AllowUserToAddRows          = false;
     this.gdv_guards.AllowUserToDeleteRows       = false;
     this.gdv_guards.AllowUserToResizeColumns    = false;
     this.gdv_guards.AllowUserToResizeRows       = false;
     this.gdv_guards.AutoSizeColumnsMode         = System.Windows.Forms.DataGridViewAutoSizeColumnsMode.Fill;
     this.gdv_guards.ColumnHeadersHeightSizeMode = System.Windows.Forms.DataGridViewColumnHeadersHeightSizeMode.AutoSize;
     this.gdv_guards.Location   = new System.Drawing.Point(-8, 3);
     this.gdv_guards.Name       = "gdv_guards";
     this.gdv_guards.ReadOnly   = true;
     this.gdv_guards.Size       = new System.Drawing.Size(931, 427);
     this.gdv_guards.TabIndex   = 1;
     this.gdv_guards.CellClick += new System.Windows.Forms.DataGridViewCellEventHandler(this.gdv_guards_CellClick);
     //
     // txt_guid
     //
     this.txt_guid.BackColor = System.Drawing.SystemColors.InactiveCaptionText;
     this.txt_guid.ForeColor = System.Drawing.Color.White;
     this.txt_guid.Location  = new System.Drawing.Point(2, 610);
     this.txt_guid.Name      = "txt_guid";
     this.txt_guid.Size      = new System.Drawing.Size(932, 20);
     this.txt_guid.TabIndex  = 1;
     this.txt_guid.TextAlign = System.Windows.Forms.HorizontalAlignment.Center;
     //
     // reSize1
     //
     this.reSize1.About = null;
     this.reSize1.AutoCenterFormOnLoad = false;
     this.reSize1.Enabled       = true;
     this.reSize1.HostContainer = this;
     this.reSize1.InitialHostContainerHeight = 628D;
     this.reSize1.InitialHostContainerWidth  = 937D;
     this.reSize1.Tag = null;
     //
     // frm_transfer_guards
     //
     this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F);
     this.AutoScaleMode       = System.Windows.Forms.AutoScaleMode.Font;
     this.BackColor           = System.Drawing.Color.FromArgb(((int)(((byte)(255)))), ((int)(((byte)(192)))), ((int)(((byte)(128)))));
     this.ClientSize          = new System.Drawing.Size(937, 628);
     this.Controls.Add(this.txt_guid);
     this.Controls.Add(this.panel1);
     this.Icon          = ((System.Drawing.Icon)(resources.GetObject("$this.Icon")));
     this.Name          = "frm_transfer_guards";
     this.StartPosition = System.Windows.Forms.FormStartPosition.CenterScreen;
     this.Text          = "Transfer Guard From One Branch to another";
     this.Load         += new System.EventHandler(this.frm_transfer_guards_Load);
     this.panel1.ResumeLayout(false);
     this.panel1.PerformLayout();
     this.panel5.ResumeLayout(false);
     this.panel5.PerformLayout();
     this.panel4.ResumeLayout(false);
     this.panel4.PerformLayout();
     this.panel3.ResumeLayout(false);
     this.panel3.PerformLayout();
     this.panel2.ResumeLayout(false);
     ((System.ComponentModel.ISupportInitialize)(this.gdv_guards)).EndInit();
     this.ResumeLayout(false);
     this.PerformLayout();
 }