コード例 #1
0
 /// <summary>
 /// Required method for Designer support - do not modify
 /// the contents of this method with the code editor.
 /// </summary>
 private void InitializeComponent()
 {
     Xbutton.Office2010Yellow office2010Yellow1 = new Xbutton.Office2010Yellow();
     System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(frmTermsAndCond));
     this.rtbTerms  = new System.Windows.Forms.RichTextBox();
     this.label1    = new System.Windows.Forms.Label();
     this.btnSave   = new Xbutton.xButtons();
     this.btnCancel = new Xbutton.xButtons();
     this.SuspendLayout();
     //
     // rtbTerms
     //
     this.rtbTerms.Location = new System.Drawing.Point(20, 41);
     this.rtbTerms.Margin   = new System.Windows.Forms.Padding(4);
     this.rtbTerms.Name     = "rtbTerms";
     this.rtbTerms.Size     = new System.Drawing.Size(876, 375);
     this.rtbTerms.TabIndex = 1;
     this.rtbTerms.Text     = "";
     //
     // label1
     //
     this.label1.AutoSize = true;
     this.label1.Location = new System.Drawing.Point(16, 21);
     this.label1.Margin   = new System.Windows.Forms.Padding(4, 0, 4, 0);
     this.label1.Name     = "label1";
     this.label1.Size     = new System.Drawing.Size(174, 17);
     this.label1.TabIndex = 1;
     this.label1.Text     = "Enter Terms to be display:";
     //
     // btnSave
     //
     office2010Yellow1.BorderColor1          = System.Drawing.Color.FromArgb(((int)(((byte)(31)))), ((int)(((byte)(72)))), ((int)(((byte)(161)))));
     office2010Yellow1.BorderColor2          = System.Drawing.Color.FromArgb(((int)(((byte)(68)))), ((int)(((byte)(135)))), ((int)(((byte)(228)))));
     office2010Yellow1.ButtonMouseOverColor1 = System.Drawing.Color.FromArgb(((int)(((byte)(236)))), ((int)(((byte)(199)))), ((int)(((byte)(87)))));
     office2010Yellow1.ButtonMouseOverColor2 = System.Drawing.Color.FromArgb(((int)(((byte)(252)))), ((int)(((byte)(243)))), ((int)(((byte)(215)))));
     office2010Yellow1.ButtonMouseOverColor3 = System.Drawing.Color.FromArgb(((int)(((byte)(249)))), ((int)(((byte)(225)))), ((int)(((byte)(137)))));
     office2010Yellow1.ButtonMouseOverColor4 = System.Drawing.Color.FromArgb(((int)(((byte)(251)))), ((int)(((byte)(249)))), ((int)(((byte)(224)))));
     office2010Yellow1.ButtonNormalColor1    = System.Drawing.Color.FromArgb(((int)(((byte)(252)))), ((int)(((byte)(161)))), ((int)(((byte)(8)))));
     office2010Yellow1.ButtonNormalColor2    = System.Drawing.Color.FromArgb(((int)(((byte)(251)))), ((int)(((byte)(191)))), ((int)(((byte)(45)))));
     office2010Yellow1.ButtonNormalColor3    = System.Drawing.Color.FromArgb(((int)(((byte)(252)))), ((int)(((byte)(161)))), ((int)(((byte)(8)))));
     office2010Yellow1.ButtonNormalColor4    = System.Drawing.Color.FromArgb(((int)(((byte)(251)))), ((int)(((byte)(191)))), ((int)(((byte)(45)))));
     office2010Yellow1.ButtonSelectedColor1  = System.Drawing.Color.FromArgb(((int)(((byte)(236)))), ((int)(((byte)(199)))), ((int)(((byte)(87)))));
     office2010Yellow1.ButtonSelectedColor2  = System.Drawing.Color.FromArgb(((int)(((byte)(252)))), ((int)(((byte)(243)))), ((int)(((byte)(215)))));
     office2010Yellow1.ButtonSelectedColor3  = System.Drawing.Color.FromArgb(((int)(((byte)(255)))), ((int)(((byte)(229)))), ((int)(((byte)(117)))));
     office2010Yellow1.ButtonSelectedColor4  = System.Drawing.Color.FromArgb(((int)(((byte)(255)))), ((int)(((byte)(216)))), ((int)(((byte)(107)))));
     office2010Yellow1.HoverTextColor        = System.Drawing.Color.FromArgb(((int)(((byte)(30)))), ((int)(((byte)(57)))), ((int)(((byte)(91)))));
     office2010Yellow1.SelectedTextColor     = System.Drawing.Color.FromArgb(((int)(((byte)(30)))), ((int)(((byte)(57)))), ((int)(((byte)(91)))));
     office2010Yellow1.TextColor             = System.Drawing.Color.White;
     this.btnSave.ColorTable = office2010Yellow1;
     this.btnSave.Location   = new System.Drawing.Point(20, 422);
     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   = 2;
     this.btnSave.Text       = "Save";
     this.btnSave.Theme      = Xbutton.Theme.MSOffice2010_Yellow;
     this.btnSave.UseVisualStyleBackColor = true;
     this.btnSave.Click += new System.EventHandler(this.btnSave_Click);
     //
     // btnCancel
     //
     this.btnCancel.ColorTable              = office2010Yellow1;
     this.btnCancel.DialogResult            = System.Windows.Forms.DialogResult.Cancel;
     this.btnCancel.Location                = new System.Drawing.Point(128, 422);
     this.btnCancel.Margin                  = new System.Windows.Forms.Padding(4);
     this.btnCancel.Name                    = "btnCancel";
     this.btnCancel.Size                    = new System.Drawing.Size(100, 28);
     this.btnCancel.TabIndex                = 3;
     this.btnCancel.Text                    = "Cancel";
     this.btnCancel.Theme                   = Xbutton.Theme.MSOffice2010_Yellow;
     this.btnCancel.UseVisualStyleBackColor = true;
     this.btnCancel.Click                  += new System.EventHandler(this.btnCancel_Click);
     //
     // frmTermsAndCond
     //
     this.AutoScaleDimensions = new System.Drawing.SizeF(8F, 16F);
     this.AutoScaleMode       = System.Windows.Forms.AutoScaleMode.Font;
     this.BackColor           = System.Drawing.SystemColors.ControlLight;
     this.CancelButton        = this.btnCancel;
     this.ClientSize          = new System.Drawing.Size(909, 462);
     this.Controls.Add(this.btnCancel);
     this.Controls.Add(this.btnSave);
     this.Controls.Add(this.label1);
     this.Controls.Add(this.rtbTerms);
     this.Font            = new System.Drawing.Font("Microsoft Sans Serif", 7.8F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.FormBorderStyle = System.Windows.Forms.FormBorderStyle.FixedSingle;
     this.Icon            = ((System.Drawing.Icon)(resources.GetObject("$this.Icon")));
     this.Margin          = new System.Windows.Forms.Padding(4);
     this.MaximizeBox     = false;
     this.MinimizeBox     = false;
     this.Name            = "frmTermsAndCond";
     this.ShowInTaskbar   = false;
     this.Text            = "Terms And Condition";
     this.Load           += new System.EventHandler(this.frmTermsAndCond_Load);
     this.ResumeLayout(false);
     this.PerformLayout();
 }
コード例 #2
0
 /// <summary>
 /// Required method for Designer support - do not modify
 /// the contents of this method with the code editor.
 /// </summary>
 private void InitializeComponent()
 {
     Xbutton.Office2010Yellow office2010Yellow1 = new Xbutton.Office2010Yellow();
     System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(frmCustomer));
     this.txtCustomerName   = new System.Windows.Forms.TextBox();
     this.rtbCustomerAdd    = new System.Windows.Forms.RichTextBox();
     this.txtCustomerMobile = new System.Windows.Forms.TextBox();
     this.txtCustomerEmail  = new System.Windows.Forms.TextBox();
     this.label1            = new System.Windows.Forms.Label();
     this.label2            = new System.Windows.Forms.Label();
     this.label3            = new System.Windows.Forms.Label();
     this.label4            = new System.Windows.Forms.Label();
     this.btnSave           = new Xbutton.xButtons();
     this.btnCencel         = new Xbutton.xButtons();
     this.label5            = new System.Windows.Forms.Label();
     this.txtCustomerVat    = new System.Windows.Forms.TextBox();
     this.label6            = new System.Windows.Forms.Label();
     this.txtCSTNo          = new System.Windows.Forms.TextBox();
     this.label7            = new System.Windows.Forms.Label();
     this.txtPAN            = new System.Windows.Forms.TextBox();
     this.SuspendLayout();
     //
     // txtCustomerName
     //
     this.txtCustomerName.Location  = new System.Drawing.Point(132, 39);
     this.txtCustomerName.Margin    = new System.Windows.Forms.Padding(4);
     this.txtCustomerName.Name      = "txtCustomerName";
     this.txtCustomerName.Size      = new System.Drawing.Size(387, 22);
     this.txtCustomerName.TabIndex  = 0;
     this.txtCustomerName.KeyPress += new System.Windows.Forms.KeyPressEventHandler(this.txtCustomerName_KeyPress);
     //
     // rtbCustomerAdd
     //
     this.rtbCustomerAdd.Location = new System.Drawing.Point(132, 71);
     this.rtbCustomerAdd.Margin   = new System.Windows.Forms.Padding(4);
     this.rtbCustomerAdd.Name     = "rtbCustomerAdd";
     this.rtbCustomerAdd.Size     = new System.Drawing.Size(387, 117);
     this.rtbCustomerAdd.TabIndex = 1;
     this.rtbCustomerAdd.Text     = "";
     //
     // txtCustomerMobile
     //
     this.txtCustomerMobile.Location  = new System.Drawing.Point(132, 197);
     this.txtCustomerMobile.Margin    = new System.Windows.Forms.Padding(4);
     this.txtCustomerMobile.Name      = "txtCustomerMobile";
     this.txtCustomerMobile.Size      = new System.Drawing.Size(387, 22);
     this.txtCustomerMobile.TabIndex  = 2;
     this.txtCustomerMobile.KeyPress += new System.Windows.Forms.KeyPressEventHandler(this.txtCustomerMobile_KeyPress);
     //
     // txtCustomerEmail
     //
     this.txtCustomerEmail.Location = new System.Drawing.Point(132, 229);
     this.txtCustomerEmail.Margin   = new System.Windows.Forms.Padding(4);
     this.txtCustomerEmail.Name     = "txtCustomerEmail";
     this.txtCustomerEmail.Size     = new System.Drawing.Size(387, 22);
     this.txtCustomerEmail.TabIndex = 3;
     //
     // label1
     //
     this.label1.AutoSize = true;
     this.label1.Location = new System.Drawing.Point(73, 43);
     this.label1.Margin   = new System.Windows.Forms.Padding(4, 0, 4, 0);
     this.label1.Name     = "label1";
     this.label1.Size     = new System.Drawing.Size(49, 17);
     this.label1.TabIndex = 4;
     this.label1.Text     = "Name:";
     //
     // label2
     //
     this.label2.AutoSize = true;
     this.label2.Location = new System.Drawing.Point(60, 117);
     this.label2.Margin   = new System.Windows.Forms.Padding(4, 0, 4, 0);
     this.label2.Name     = "label2";
     this.label2.Size     = new System.Drawing.Size(64, 17);
     this.label2.TabIndex = 5;
     this.label2.Text     = "Address:";
     //
     // label3
     //
     this.label3.AutoSize = true;
     this.label3.Location = new System.Drawing.Point(43, 201);
     this.label3.Margin   = new System.Windows.Forms.Padding(4, 0, 4, 0);
     this.label3.Name     = "label3";
     this.label3.Size     = new System.Drawing.Size(79, 17);
     this.label3.TabIndex = 6;
     this.label3.Text     = "Mobile No.:";
     //
     // label4
     //
     this.label4.AutoSize = true;
     this.label4.Location = new System.Drawing.Point(77, 233);
     this.label4.Margin   = new System.Windows.Forms.Padding(4, 0, 4, 0);
     this.label4.Name     = "label4";
     this.label4.Size     = new System.Drawing.Size(46, 17);
     this.label4.TabIndex = 7;
     this.label4.Text     = "Email:";
     //
     // btnSave
     //
     office2010Yellow1.BorderColor1          = System.Drawing.Color.FromArgb(((int)(((byte)(31)))), ((int)(((byte)(72)))), ((int)(((byte)(161)))));
     office2010Yellow1.BorderColor2          = System.Drawing.Color.FromArgb(((int)(((byte)(68)))), ((int)(((byte)(135)))), ((int)(((byte)(228)))));
     office2010Yellow1.ButtonMouseOverColor1 = System.Drawing.Color.FromArgb(((int)(((byte)(236)))), ((int)(((byte)(199)))), ((int)(((byte)(87)))));
     office2010Yellow1.ButtonMouseOverColor2 = System.Drawing.Color.FromArgb(((int)(((byte)(252)))), ((int)(((byte)(243)))), ((int)(((byte)(215)))));
     office2010Yellow1.ButtonMouseOverColor3 = System.Drawing.Color.FromArgb(((int)(((byte)(249)))), ((int)(((byte)(225)))), ((int)(((byte)(137)))));
     office2010Yellow1.ButtonMouseOverColor4 = System.Drawing.Color.FromArgb(((int)(((byte)(251)))), ((int)(((byte)(249)))), ((int)(((byte)(224)))));
     office2010Yellow1.ButtonNormalColor1    = System.Drawing.Color.FromArgb(((int)(((byte)(252)))), ((int)(((byte)(161)))), ((int)(((byte)(8)))));
     office2010Yellow1.ButtonNormalColor2    = System.Drawing.Color.FromArgb(((int)(((byte)(251)))), ((int)(((byte)(191)))), ((int)(((byte)(45)))));
     office2010Yellow1.ButtonNormalColor3    = System.Drawing.Color.FromArgb(((int)(((byte)(252)))), ((int)(((byte)(161)))), ((int)(((byte)(8)))));
     office2010Yellow1.ButtonNormalColor4    = System.Drawing.Color.FromArgb(((int)(((byte)(251)))), ((int)(((byte)(191)))), ((int)(((byte)(45)))));
     office2010Yellow1.ButtonSelectedColor1  = System.Drawing.Color.FromArgb(((int)(((byte)(236)))), ((int)(((byte)(199)))), ((int)(((byte)(87)))));
     office2010Yellow1.ButtonSelectedColor2  = System.Drawing.Color.FromArgb(((int)(((byte)(252)))), ((int)(((byte)(243)))), ((int)(((byte)(215)))));
     office2010Yellow1.ButtonSelectedColor3  = System.Drawing.Color.FromArgb(((int)(((byte)(255)))), ((int)(((byte)(229)))), ((int)(((byte)(117)))));
     office2010Yellow1.ButtonSelectedColor4  = System.Drawing.Color.FromArgb(((int)(((byte)(255)))), ((int)(((byte)(216)))), ((int)(((byte)(107)))));
     office2010Yellow1.HoverTextColor        = System.Drawing.Color.FromArgb(((int)(((byte)(30)))), ((int)(((byte)(57)))), ((int)(((byte)(91)))));
     office2010Yellow1.SelectedTextColor     = System.Drawing.Color.FromArgb(((int)(((byte)(30)))), ((int)(((byte)(57)))), ((int)(((byte)(91)))));
     office2010Yellow1.TextColor             = System.Drawing.Color.White;
     this.btnSave.ColorTable = office2010Yellow1;
     this.btnSave.Location   = new System.Drawing.Point(132, 357);
     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   = 7;
     this.btnSave.Text       = "Save";
     this.btnSave.Theme      = Xbutton.Theme.MSOffice2010_Yellow;
     this.btnSave.UseVisualStyleBackColor = true;
     this.btnSave.Click += new System.EventHandler(this.btnSave_Click);
     //
     // btnCencel
     //
     this.btnCencel.ColorTable              = office2010Yellow1;
     this.btnCencel.DialogResult            = System.Windows.Forms.DialogResult.Cancel;
     this.btnCencel.Location                = new System.Drawing.Point(240, 357);
     this.btnCencel.Margin                  = new System.Windows.Forms.Padding(4);
     this.btnCencel.Name                    = "btnCencel";
     this.btnCencel.Size                    = new System.Drawing.Size(100, 28);
     this.btnCencel.TabIndex                = 8;
     this.btnCencel.Text                    = "Cancel";
     this.btnCencel.Theme                   = Xbutton.Theme.MSOffice2010_Yellow;
     this.btnCencel.UseVisualStyleBackColor = true;
     this.btnCencel.Click                  += new System.EventHandler(this.btnCencel_Click);
     //
     // label5
     //
     this.label5.AutoSize = true;
     this.label5.Location = new System.Drawing.Point(35, 265);
     this.label5.Margin   = new System.Windows.Forms.Padding(4, 0, 4, 0);
     this.label5.Name     = "label5";
     this.label5.Size     = new System.Drawing.Size(85, 17);
     this.label5.TabIndex = 11;
     this.label5.Text     = "Vat TIN No.:";
     //
     // txtCustomerVat
     //
     this.txtCustomerVat.Location = new System.Drawing.Point(132, 261);
     this.txtCustomerVat.Margin   = new System.Windows.Forms.Padding(4);
     this.txtCustomerVat.Name     = "txtCustomerVat";
     this.txtCustomerVat.Size     = new System.Drawing.Size(387, 22);
     this.txtCustomerVat.TabIndex = 4;
     //
     // label6
     //
     this.label6.AutoSize = true;
     this.label6.Location = new System.Drawing.Point(56, 297);
     this.label6.Margin   = new System.Windows.Forms.Padding(4, 0, 4, 0);
     this.label6.Name     = "label6";
     this.label6.Size     = new System.Drawing.Size(65, 17);
     this.label6.TabIndex = 13;
     this.label6.Text     = "CST No.:";
     //
     // txtCSTNo
     //
     this.txtCSTNo.Location = new System.Drawing.Point(132, 293);
     this.txtCSTNo.Margin   = new System.Windows.Forms.Padding(4);
     this.txtCSTNo.Name     = "txtCSTNo";
     this.txtCSTNo.Size     = new System.Drawing.Size(387, 22);
     this.txtCSTNo.TabIndex = 5;
     //
     // label7
     //
     this.label7.AutoSize = true;
     this.label7.Location = new System.Drawing.Point(81, 329);
     this.label7.Margin   = new System.Windows.Forms.Padding(4, 0, 4, 0);
     this.label7.Name     = "label7";
     this.label7.Size     = new System.Drawing.Size(40, 17);
     this.label7.TabIndex = 15;
     this.label7.Text     = "PAN:";
     //
     // txtPAN
     //
     this.txtPAN.Location = new System.Drawing.Point(132, 325);
     this.txtPAN.Margin   = new System.Windows.Forms.Padding(4);
     this.txtPAN.Name     = "txtPAN";
     this.txtPAN.Size     = new System.Drawing.Size(387, 22);
     this.txtPAN.TabIndex = 6;
     //
     // frmCustomer
     //
     this.AutoScaleDimensions = new System.Drawing.SizeF(8F, 16F);
     this.AutoScaleMode       = System.Windows.Forms.AutoScaleMode.Font;
     this.BackColor           = System.Drawing.SystemColors.ControlLight;
     this.CancelButton        = this.btnCencel;
     this.ClientSize          = new System.Drawing.Size(536, 414);
     this.Controls.Add(this.label7);
     this.Controls.Add(this.txtPAN);
     this.Controls.Add(this.label6);
     this.Controls.Add(this.txtCSTNo);
     this.Controls.Add(this.label5);
     this.Controls.Add(this.txtCustomerVat);
     this.Controls.Add(this.btnCencel);
     this.Controls.Add(this.btnSave);
     this.Controls.Add(this.label4);
     this.Controls.Add(this.label3);
     this.Controls.Add(this.label2);
     this.Controls.Add(this.label1);
     this.Controls.Add(this.txtCustomerEmail);
     this.Controls.Add(this.txtCustomerMobile);
     this.Controls.Add(this.rtbCustomerAdd);
     this.Controls.Add(this.txtCustomerName);
     this.Font            = new System.Drawing.Font("Microsoft Sans Serif", 7.8F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.FormBorderStyle = System.Windows.Forms.FormBorderStyle.FixedSingle;
     this.Icon            = ((System.Drawing.Icon)(resources.GetObject("$this.Icon")));
     this.Margin          = new System.Windows.Forms.Padding(4);
     this.MaximizeBox     = false;
     this.MinimizeBox     = false;
     this.Name            = "frmCustomer";
     this.ShowInTaskbar   = false;
     this.Text            = "Customer";
     this.Load           += new System.EventHandler(this.frmCustomer_Load);
     this.ResumeLayout(false);
     this.PerformLayout();
 }
コード例 #3
0
 /// <summary>
 /// Required method for Designer support - do not modify
 /// the contents of this method with the code editor.
 /// </summary>
 private void InitializeComponent()
 {
     Xbutton.Office2010Yellow office2010Yellow1 = new Xbutton.Office2010Yellow();
     System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(frmCopytoSale));
     this.txtTransNo        = new System.Windows.Forms.TextBox();
     this.dtpTransDate      = new System.Windows.Forms.DateTimePicker();
     this.label1            = new System.Windows.Forms.Label();
     this.label2            = new System.Windows.Forms.Label();
     this.btnSave           = new Xbutton.xButtons();
     this.btnCancel         = new Xbutton.xButtons();
     this.cmbTaxType        = new System.Windows.Forms.ComboBox();
     this.label5            = new System.Windows.Forms.Label();
     this.label3            = new System.Windows.Forms.Label();
     this.cmbCustName       = new System.Windows.Forms.ComboBox();
     this.txtTax1Percentage = new System.Windows.Forms.TextBox();
     this.txtTax2Percentage = new System.Windows.Forms.TextBox();
     this.lblTax1           = new System.Windows.Forms.Label();
     this.lblTax2           = new System.Windows.Forms.Label();
     this.SuspendLayout();
     //
     // txtTransNo
     //
     this.txtTransNo.Location = new System.Drawing.Point(182, 21);
     this.txtTransNo.Name     = "txtTransNo";
     this.txtTransNo.Size     = new System.Drawing.Size(200, 22);
     this.txtTransNo.TabIndex = 0;
     //
     // dtpTransDate
     //
     this.dtpTransDate.CustomFormat = "dd-MM-yyyy";
     this.dtpTransDate.Format       = System.Windows.Forms.DateTimePickerFormat.Custom;
     this.dtpTransDate.Location     = new System.Drawing.Point(184, 143);
     this.dtpTransDate.Name         = "dtpTransDate";
     this.dtpTransDate.Size         = new System.Drawing.Size(200, 22);
     this.dtpTransDate.TabIndex     = 1;
     //
     // label1
     //
     this.label1.AutoSize = true;
     this.label1.Location = new System.Drawing.Point(63, 24);
     this.label1.Name     = "label1";
     this.label1.Size     = new System.Drawing.Size(113, 17);
     this.label1.TabIndex = 2;
     this.label1.Text     = "Transaction No.:";
     //
     // label2
     //
     this.label2.AutoSize = true;
     this.label2.Location = new System.Drawing.Point(55, 148);
     this.label2.Name     = "label2";
     this.label2.Size     = new System.Drawing.Size(121, 17);
     this.label2.TabIndex = 3;
     this.label2.Text     = "Transaction Date:";
     //
     // btnSave
     //
     office2010Yellow1.BorderColor1          = System.Drawing.Color.FromArgb(((int)(((byte)(31)))), ((int)(((byte)(72)))), ((int)(((byte)(161)))));
     office2010Yellow1.BorderColor2          = System.Drawing.Color.FromArgb(((int)(((byte)(68)))), ((int)(((byte)(135)))), ((int)(((byte)(228)))));
     office2010Yellow1.ButtonMouseOverColor1 = System.Drawing.Color.FromArgb(((int)(((byte)(236)))), ((int)(((byte)(199)))), ((int)(((byte)(87)))));
     office2010Yellow1.ButtonMouseOverColor2 = System.Drawing.Color.FromArgb(((int)(((byte)(252)))), ((int)(((byte)(243)))), ((int)(((byte)(215)))));
     office2010Yellow1.ButtonMouseOverColor3 = System.Drawing.Color.FromArgb(((int)(((byte)(249)))), ((int)(((byte)(225)))), ((int)(((byte)(137)))));
     office2010Yellow1.ButtonMouseOverColor4 = System.Drawing.Color.FromArgb(((int)(((byte)(251)))), ((int)(((byte)(249)))), ((int)(((byte)(224)))));
     office2010Yellow1.ButtonNormalColor1    = System.Drawing.Color.FromArgb(((int)(((byte)(252)))), ((int)(((byte)(161)))), ((int)(((byte)(8)))));
     office2010Yellow1.ButtonNormalColor2    = System.Drawing.Color.FromArgb(((int)(((byte)(251)))), ((int)(((byte)(191)))), ((int)(((byte)(45)))));
     office2010Yellow1.ButtonNormalColor3    = System.Drawing.Color.FromArgb(((int)(((byte)(252)))), ((int)(((byte)(161)))), ((int)(((byte)(8)))));
     office2010Yellow1.ButtonNormalColor4    = System.Drawing.Color.FromArgb(((int)(((byte)(251)))), ((int)(((byte)(191)))), ((int)(((byte)(45)))));
     office2010Yellow1.ButtonSelectedColor1  = System.Drawing.Color.FromArgb(((int)(((byte)(236)))), ((int)(((byte)(199)))), ((int)(((byte)(87)))));
     office2010Yellow1.ButtonSelectedColor2  = System.Drawing.Color.FromArgb(((int)(((byte)(252)))), ((int)(((byte)(243)))), ((int)(((byte)(215)))));
     office2010Yellow1.ButtonSelectedColor3  = System.Drawing.Color.FromArgb(((int)(((byte)(255)))), ((int)(((byte)(229)))), ((int)(((byte)(117)))));
     office2010Yellow1.ButtonSelectedColor4  = System.Drawing.Color.FromArgb(((int)(((byte)(255)))), ((int)(((byte)(216)))), ((int)(((byte)(107)))));
     office2010Yellow1.HoverTextColor        = System.Drawing.Color.FromArgb(((int)(((byte)(30)))), ((int)(((byte)(57)))), ((int)(((byte)(91)))));
     office2010Yellow1.SelectedTextColor     = System.Drawing.Color.FromArgb(((int)(((byte)(30)))), ((int)(((byte)(57)))), ((int)(((byte)(91)))));
     office2010Yellow1.TextColor             = System.Drawing.Color.White;
     this.btnSave.ColorTable = office2010Yellow1;
     this.btnSave.Location   = new System.Drawing.Point(189, 175);
     this.btnSave.Name       = "btnSave";
     this.btnSave.Size       = new System.Drawing.Size(97, 34);
     this.btnSave.TabIndex   = 4;
     this.btnSave.Text       = "Save";
     this.btnSave.Theme      = Xbutton.Theme.MSOffice2010_Yellow;
     this.btnSave.UseVisualStyleBackColor = true;
     this.btnSave.Click += new System.EventHandler(this.btnSave_Click);
     //
     // btnCancel
     //
     this.btnCancel.ColorTable = office2010Yellow1;
     this.btnCancel.Location   = new System.Drawing.Point(292, 175);
     this.btnCancel.Name       = "btnCancel";
     this.btnCancel.Size       = new System.Drawing.Size(97, 34);
     this.btnCancel.TabIndex   = 5;
     this.btnCancel.Text       = "Cancel";
     this.btnCancel.Theme      = Xbutton.Theme.MSOffice2010_Yellow;
     this.btnCancel.UseVisualStyleBackColor = true;
     this.btnCancel.Click += new System.EventHandler(this.btnCancel_Click);
     //
     // cmbTaxType
     //
     this.cmbTaxType.FormattingEnabled = true;
     this.cmbTaxType.Location          = new System.Drawing.Point(184, 82);
     this.cmbTaxType.Margin            = new System.Windows.Forms.Padding(4);
     this.cmbTaxType.Name                  = "cmbTaxType";
     this.cmbTaxType.Size                  = new System.Drawing.Size(200, 24);
     this.cmbTaxType.TabIndex              = 34;
     this.cmbTaxType.SelectedIndexChanged += new System.EventHandler(this.cmbTaxType_SelectedIndexChanged);
     //
     // label5
     //
     this.label5.AutoSize = true;
     this.label5.Location = new System.Drawing.Point(105, 85);
     this.label5.Margin   = new System.Windows.Forms.Padding(4, 0, 4, 0);
     this.label5.Name     = "label5";
     this.label5.Size     = new System.Drawing.Size(71, 17);
     this.label5.TabIndex = 33;
     this.label5.Text     = "Tax Type:";
     //
     // label3
     //
     this.label3.AutoSize = true;
     this.label3.Location = new System.Drawing.Point(63, 53);
     this.label3.Name     = "label3";
     this.label3.Size     = new System.Drawing.Size(113, 17);
     this.label3.TabIndex = 36;
     this.label3.Text     = "Customer Name:";
     //
     // cmbCustName
     //
     this.cmbCustName.FormattingEnabled = true;
     this.cmbCustName.Location          = new System.Drawing.Point(183, 50);
     this.cmbCustName.Margin            = new System.Windows.Forms.Padding(4);
     this.cmbCustName.Name     = "cmbCustName";
     this.cmbCustName.Size     = new System.Drawing.Size(200, 24);
     this.cmbCustName.TabIndex = 37;
     //
     // txtTax1Percentage
     //
     this.txtTax1Percentage.Location = new System.Drawing.Point(207, 114);
     this.txtTax1Percentage.Margin   = new System.Windows.Forms.Padding(4);
     this.txtTax1Percentage.Name     = "txtTax1Percentage";
     this.txtTax1Percentage.ReadOnly = true;
     this.txtTax1Percentage.Size     = new System.Drawing.Size(47, 22);
     this.txtTax1Percentage.TabIndex = 38;
     //
     // txtTax2Percentage
     //
     this.txtTax2Percentage.Location = new System.Drawing.Point(337, 114);
     this.txtTax2Percentage.Margin   = new System.Windows.Forms.Padding(4);
     this.txtTax2Percentage.Name     = "txtTax2Percentage";
     this.txtTax2Percentage.ReadOnly = true;
     this.txtTax2Percentage.Size     = new System.Drawing.Size(47, 22);
     this.txtTax2Percentage.TabIndex = 39;
     //
     // lblTax1
     //
     this.lblTax1.AutoSize = true;
     this.lblTax1.Location = new System.Drawing.Point(132, 117);
     this.lblTax1.Margin   = new System.Windows.Forms.Padding(4, 0, 4, 0);
     this.lblTax1.Name     = "lblTax1";
     this.lblTax1.Size     = new System.Drawing.Size(69, 17);
     this.lblTax1.TabIndex = 40;
     this.lblTax1.Text     = "Tax1 (%):";
     //
     // lblTax2
     //
     this.lblTax2.AutoSize = true;
     this.lblTax2.Location = new System.Drawing.Point(262, 117);
     this.lblTax2.Margin   = new System.Windows.Forms.Padding(4, 0, 4, 0);
     this.lblTax2.Name     = "lblTax2";
     this.lblTax2.Size     = new System.Drawing.Size(69, 17);
     this.lblTax2.TabIndex = 41;
     this.lblTax2.Text     = "Tax2 (%):";
     //
     // frmCopytoSale
     //
     this.AutoScaleDimensions = new System.Drawing.SizeF(8F, 16F);
     this.AutoScaleMode       = System.Windows.Forms.AutoScaleMode.Font;
     this.ClientSize          = new System.Drawing.Size(421, 235);
     this.Controls.Add(this.txtTax1Percentage);
     this.Controls.Add(this.txtTax2Percentage);
     this.Controls.Add(this.lblTax1);
     this.Controls.Add(this.lblTax2);
     this.Controls.Add(this.cmbCustName);
     this.Controls.Add(this.label3);
     this.Controls.Add(this.cmbTaxType);
     this.Controls.Add(this.label5);
     this.Controls.Add(this.btnCancel);
     this.Controls.Add(this.btnSave);
     this.Controls.Add(this.label2);
     this.Controls.Add(this.label1);
     this.Controls.Add(this.dtpTransDate);
     this.Controls.Add(this.txtTransNo);
     this.FormBorderStyle = System.Windows.Forms.FormBorderStyle.FixedSingle;
     this.Icon            = ((System.Drawing.Icon)(resources.GetObject("$this.Icon")));
     this.MaximizeBox     = false;
     this.MinimizeBox     = false;
     this.Name            = "frmCopytoSale";
     this.ShowInTaskbar   = false;
     this.Text            = "Enter New Details:";
     this.Load           += new System.EventHandler(this.frmCopytoSale_Load);
     this.ResumeLayout(false);
     this.PerformLayout();
 }
コード例 #4
0
 /// <summary>
 /// Required method for Designer support - do not modify
 /// the contents of this method with the code editor.
 /// </summary>
 private void InitializeComponent()
 {
     Xbutton.Office2010Yellow office2010Yellow1 = new Xbutton.Office2010Yellow();
     System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(frmBank));
     this.txtBankName   = new System.Windows.Forms.TextBox();
     this.txtACNO       = new System.Windows.Forms.TextBox();
     this.txtBankBranch = new System.Windows.Forms.TextBox();
     this.txtBankIFSC   = new System.Windows.Forms.TextBox();
     this.label1        = new System.Windows.Forms.Label();
     this.label2        = new System.Windows.Forms.Label();
     this.label3        = new System.Windows.Forms.Label();
     this.label4        = new System.Windows.Forms.Label();
     this.btnSave       = new Xbutton.xButtons();
     this.btnCencel     = new Xbutton.xButtons();
     this.SuspendLayout();
     //
     // txtBankName
     //
     this.txtBankName.Location  = new System.Drawing.Point(93, 74);
     this.txtBankName.Margin    = new System.Windows.Forms.Padding(4);
     this.txtBankName.Name      = "txtBankName";
     this.txtBankName.Size      = new System.Drawing.Size(304, 22);
     this.txtBankName.TabIndex  = 0;
     this.txtBankName.KeyPress += new System.Windows.Forms.KeyPressEventHandler(this.txtBankName_KeyPress);
     //
     // txtACNO
     //
     this.txtACNO.Location = new System.Drawing.Point(93, 106);
     this.txtACNO.Margin   = new System.Windows.Forms.Padding(4);
     this.txtACNO.Name     = "txtACNO";
     this.txtACNO.Size     = new System.Drawing.Size(304, 22);
     this.txtACNO.TabIndex = 1;
     //
     // txtBankBranch
     //
     this.txtBankBranch.Location = new System.Drawing.Point(93, 138);
     this.txtBankBranch.Margin   = new System.Windows.Forms.Padding(4);
     this.txtBankBranch.Name     = "txtBankBranch";
     this.txtBankBranch.Size     = new System.Drawing.Size(304, 22);
     this.txtBankBranch.TabIndex = 2;
     //
     // txtBankIFSC
     //
     this.txtBankIFSC.Location = new System.Drawing.Point(93, 170);
     this.txtBankIFSC.Margin   = new System.Windows.Forms.Padding(4);
     this.txtBankIFSC.Name     = "txtBankIFSC";
     this.txtBankIFSC.Size     = new System.Drawing.Size(304, 22);
     this.txtBankIFSC.TabIndex = 3;
     //
     // label1
     //
     this.label1.AutoSize = true;
     this.label1.Location = new System.Drawing.Point(35, 78);
     this.label1.Margin   = new System.Windows.Forms.Padding(4, 0, 4, 0);
     this.label1.Name     = "label1";
     this.label1.Size     = new System.Drawing.Size(49, 17);
     this.label1.TabIndex = 4;
     this.label1.Text     = "Name:";
     //
     // label2
     //
     this.label2.AutoSize = true;
     this.label2.Location = new System.Drawing.Point(20, 110);
     this.label2.Margin   = new System.Windows.Forms.Padding(4, 0, 4, 0);
     this.label2.Name     = "label2";
     this.label2.Size     = new System.Drawing.Size(60, 17);
     this.label2.TabIndex = 5;
     this.label2.Text     = "A/C No.:";
     //
     // label3
     //
     this.label3.AutoSize = true;
     this.label3.Location = new System.Drawing.Point(27, 142);
     this.label3.Margin   = new System.Windows.Forms.Padding(4, 0, 4, 0);
     this.label3.Name     = "label3";
     this.label3.Size     = new System.Drawing.Size(57, 17);
     this.label3.TabIndex = 6;
     this.label3.Text     = "Branch:";
     //
     // label4
     //
     this.label4.AutoSize = true;
     this.label4.Location = new System.Drawing.Point(41, 174);
     this.label4.Margin   = new System.Windows.Forms.Padding(4, 0, 4, 0);
     this.label4.Name     = "label4";
     this.label4.Size     = new System.Drawing.Size(41, 17);
     this.label4.TabIndex = 7;
     this.label4.Text     = "IFSC:";
     //
     // btnSave
     //
     office2010Yellow1.BorderColor1          = System.Drawing.Color.FromArgb(((int)(((byte)(31)))), ((int)(((byte)(72)))), ((int)(((byte)(161)))));
     office2010Yellow1.BorderColor2          = System.Drawing.Color.FromArgb(((int)(((byte)(68)))), ((int)(((byte)(135)))), ((int)(((byte)(228)))));
     office2010Yellow1.ButtonMouseOverColor1 = System.Drawing.Color.FromArgb(((int)(((byte)(236)))), ((int)(((byte)(199)))), ((int)(((byte)(87)))));
     office2010Yellow1.ButtonMouseOverColor2 = System.Drawing.Color.FromArgb(((int)(((byte)(252)))), ((int)(((byte)(243)))), ((int)(((byte)(215)))));
     office2010Yellow1.ButtonMouseOverColor3 = System.Drawing.Color.FromArgb(((int)(((byte)(249)))), ((int)(((byte)(225)))), ((int)(((byte)(137)))));
     office2010Yellow1.ButtonMouseOverColor4 = System.Drawing.Color.FromArgb(((int)(((byte)(251)))), ((int)(((byte)(249)))), ((int)(((byte)(224)))));
     office2010Yellow1.ButtonNormalColor1    = System.Drawing.Color.FromArgb(((int)(((byte)(252)))), ((int)(((byte)(161)))), ((int)(((byte)(8)))));
     office2010Yellow1.ButtonNormalColor2    = System.Drawing.Color.FromArgb(((int)(((byte)(251)))), ((int)(((byte)(191)))), ((int)(((byte)(45)))));
     office2010Yellow1.ButtonNormalColor3    = System.Drawing.Color.FromArgb(((int)(((byte)(252)))), ((int)(((byte)(161)))), ((int)(((byte)(8)))));
     office2010Yellow1.ButtonNormalColor4    = System.Drawing.Color.FromArgb(((int)(((byte)(251)))), ((int)(((byte)(191)))), ((int)(((byte)(45)))));
     office2010Yellow1.ButtonSelectedColor1  = System.Drawing.Color.FromArgb(((int)(((byte)(236)))), ((int)(((byte)(199)))), ((int)(((byte)(87)))));
     office2010Yellow1.ButtonSelectedColor2  = System.Drawing.Color.FromArgb(((int)(((byte)(252)))), ((int)(((byte)(243)))), ((int)(((byte)(215)))));
     office2010Yellow1.ButtonSelectedColor3  = System.Drawing.Color.FromArgb(((int)(((byte)(255)))), ((int)(((byte)(229)))), ((int)(((byte)(117)))));
     office2010Yellow1.ButtonSelectedColor4  = System.Drawing.Color.FromArgb(((int)(((byte)(255)))), ((int)(((byte)(216)))), ((int)(((byte)(107)))));
     office2010Yellow1.HoverTextColor        = System.Drawing.Color.FromArgb(((int)(((byte)(30)))), ((int)(((byte)(57)))), ((int)(((byte)(91)))));
     office2010Yellow1.SelectedTextColor     = System.Drawing.Color.FromArgb(((int)(((byte)(30)))), ((int)(((byte)(57)))), ((int)(((byte)(91)))));
     office2010Yellow1.TextColor             = System.Drawing.Color.White;
     this.btnSave.ColorTable              = office2010Yellow1;
     this.btnSave.DialogResult            = System.Windows.Forms.DialogResult.Cancel;
     this.btnSave.Location                = new System.Drawing.Point(100, 203);
     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.Theme                   = Xbutton.Theme.MSOffice2010_Yellow;
     this.btnSave.UseVisualStyleBackColor = true;
     this.btnSave.Click                  += new System.EventHandler(this.xButtons1_Click);
     //
     // btnCencel
     //
     this.btnCencel.ColorTable              = office2010Yellow1;
     this.btnCencel.DialogResult            = System.Windows.Forms.DialogResult.Cancel;
     this.btnCencel.Location                = new System.Drawing.Point(201, 203);
     this.btnCencel.Margin                  = new System.Windows.Forms.Padding(4);
     this.btnCencel.Name                    = "btnCencel";
     this.btnCencel.Size                    = new System.Drawing.Size(100, 28);
     this.btnCencel.TabIndex                = 9;
     this.btnCencel.Text                    = "Cancel";
     this.btnCencel.Theme                   = Xbutton.Theme.MSOffice2010_Yellow;
     this.btnCencel.UseVisualStyleBackColor = true;
     this.btnCencel.Click                  += new System.EventHandler(this.btnCencel_Click);
     //
     // frmBank
     //
     this.AutoScaleDimensions = new System.Drawing.SizeF(8F, 16F);
     this.AutoScaleMode       = System.Windows.Forms.AutoScaleMode.Font;
     this.BackColor           = System.Drawing.SystemColors.ControlLight;
     this.CancelButton        = this.btnCencel;
     this.ClientSize          = new System.Drawing.Size(439, 294);
     this.Controls.Add(this.btnCencel);
     this.Controls.Add(this.btnSave);
     this.Controls.Add(this.label4);
     this.Controls.Add(this.label3);
     this.Controls.Add(this.label2);
     this.Controls.Add(this.label1);
     this.Controls.Add(this.txtBankIFSC);
     this.Controls.Add(this.txtBankBranch);
     this.Controls.Add(this.txtACNO);
     this.Controls.Add(this.txtBankName);
     this.Font            = new System.Drawing.Font("Microsoft Sans Serif", 7.8F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.FormBorderStyle = System.Windows.Forms.FormBorderStyle.FixedSingle;
     this.Icon            = ((System.Drawing.Icon)(resources.GetObject("$this.Icon")));
     this.Margin          = new System.Windows.Forms.Padding(4);
     this.MaximizeBox     = false;
     this.MinimizeBox     = false;
     this.Name            = "frmBank";
     this.ShowInTaskbar   = false;
     this.Text            = "Bank";
     this.Load           += new System.EventHandler(this.frmBank_Load);
     this.ResumeLayout(false);
     this.PerformLayout();
 }
コード例 #5
0
 /// <summary>
 /// Required method for Designer support - do not modify
 /// the contents of this method with the code editor.
 /// </summary>
 private void InitializeComponent()
 {
     this.components = new System.ComponentModel.Container();
     System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle1 = new System.Windows.Forms.DataGridViewCellStyle();
     System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle2 = new System.Windows.Forms.DataGridViewCellStyle();
     Xbutton.Office2010Yellow office2010Yellow1 = new Xbutton.Office2010Yellow();
     System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(frmTransaction));
     this.txtTransactionType      = new System.Windows.Forms.TextBox();
     this.txtTransactionNo        = new System.Windows.Forms.TextBox();
     this.cbmCustomer             = new System.Windows.Forms.ComboBox();
     this.label1                  = new System.Windows.Forms.Label();
     this.label2                  = new System.Windows.Forms.Label();
     this.label3                  = new System.Windows.Forms.Label();
     this.dgvTransaction          = new System.Windows.Forms.DataGridView();
     this.cmsTransaction          = new System.Windows.Forms.ContextMenuStrip(this.components);
     this.toolStripMenuItem1      = new System.Windows.Forms.ToolStripMenuItem();
     this.toolStripSeparator1     = new System.Windows.Forms.ToolStripSeparator();
     this.addToolStripMenuItem    = new System.Windows.Forms.ToolStripMenuItem();
     this.editToolStripMenuItem   = new System.Windows.Forms.ToolStripMenuItem();
     this.deleteToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
     this.txtTotal                = new System.Windows.Forms.TextBox();
     this.label4                  = new System.Windows.Forms.Label();
     this.txtTax1Percentage       = new System.Windows.Forms.TextBox();
     this.txtTax2Percentage       = new System.Windows.Forms.TextBox();
     this.lblTax1                 = new System.Windows.Forms.Label();
     this.lblTax2                 = new System.Windows.Forms.Label();
     this.txtTax1Amount           = new System.Windows.Forms.TextBox();
     this.txtTax2Amount           = new System.Windows.Forms.TextBox();
     this.label9                  = new System.Windows.Forms.Label();
     this.txtFinalAmount          = new System.Windows.Forms.TextBox();
     this.btnSave                 = new Xbutton.xButtons();
     this.btnCancel               = new Xbutton.xButtons();
     this.dtpTranDate             = new System.Windows.Forms.DateTimePicker();
     this.label10                 = new System.Windows.Forms.Label();
     this.label11                 = new System.Windows.Forms.Label();
     this.cmbBank                 = new System.Windows.Forms.ComboBox();
     this.label12                 = new System.Windows.Forms.Label();
     this.cmbInvoice              = new System.Windows.Forms.ComboBox();
     this.tabControl1             = new System.Windows.Forms.TabControl();
     this.tabPage1                = new System.Windows.Forms.TabPage();
     this.cmbTaxType              = new System.Windows.Forms.ComboBox();
     this.label5                  = new System.Windows.Forms.Label();
     this.tabPage2                = new System.Windows.Forms.TabPage();
     this.dtpBuyersOrderNo        = new System.Windows.Forms.TextBox();
     this.dtpDispatchDocNo        = new System.Windows.Forms.TextBox();
     this.label21                 = new System.Windows.Forms.Label();
     this.label19                 = new System.Windows.Forms.Label();
     this.txtDispatchDocNo        = new System.Windows.Forms.TextBox();
     this.txtTermsOfDelivery      = new System.Windows.Forms.TextBox();
     this.label20                 = new System.Windows.Forms.Label();
     this.txtDispatchThrough      = new System.Windows.Forms.TextBox();
     this.label18                 = new System.Windows.Forms.Label();
     this.label16                 = new System.Windows.Forms.Label();
     this.label17                 = new System.Windows.Forms.Label();
     this.label15                 = new System.Windows.Forms.Label();
     this.txtDestination          = new System.Windows.Forms.TextBox();
     this.txtBuerOrderNo          = new System.Windows.Forms.TextBox();
     this.label14                 = new System.Windows.Forms.Label();
     this.txtOtherReferences      = new System.Windows.Forms.TextBox();
     this.label13                 = new System.Windows.Forms.Label();
     this.txtModeOfPayment        = new System.Windows.Forms.TextBox();
     this.label8                  = new System.Windows.Forms.Label();
     this.txtSupplierRef          = new System.Windows.Forms.TextBox();
     this.label7                  = new System.Windows.Forms.Label();
     this.txtDeliverNote          = new System.Windows.Forms.TextBox();
     ((System.ComponentModel.ISupportInitialize)(this.dgvTransaction)).BeginInit();
     this.cmsTransaction.SuspendLayout();
     this.tabControl1.SuspendLayout();
     this.tabPage1.SuspendLayout();
     this.tabPage2.SuspendLayout();
     this.SuspendLayout();
     //
     // txtTransactionType
     //
     this.txtTransactionType.Location  = new System.Drawing.Point(137, 48);
     this.txtTransactionType.Margin    = new System.Windows.Forms.Padding(4);
     this.txtTransactionType.Name      = "txtTransactionType";
     this.txtTransactionType.ReadOnly  = true;
     this.txtTransactionType.Size      = new System.Drawing.Size(230, 22);
     this.txtTransactionType.TabIndex  = 2;
     this.txtTransactionType.KeyPress += new System.Windows.Forms.KeyPressEventHandler(this.txtTransactionType_KeyPress);
     //
     // txtTransactionNo
     //
     this.txtTransactionNo.Location     = new System.Drawing.Point(137, 79);
     this.txtTransactionNo.Margin       = new System.Windows.Forms.Padding(4);
     this.txtTransactionNo.Name         = "txtTransactionNo";
     this.txtTransactionNo.Size         = new System.Drawing.Size(230, 22);
     this.txtTransactionNo.TabIndex     = 3;
     this.txtTransactionNo.TextChanged += new System.EventHandler(this.txtTransactionNo_TextChanged);
     this.txtTransactionNo.Leave       += new System.EventHandler(this.txtTransactionNo_Leave);
     //
     // cbmCustomer
     //
     this.cbmCustomer.FormattingEnabled = true;
     this.cbmCustomer.Location          = new System.Drawing.Point(137, 16);
     this.cbmCustomer.Margin            = new System.Windows.Forms.Padding(4);
     this.cbmCustomer.Name      = "cbmCustomer";
     this.cbmCustomer.Size      = new System.Drawing.Size(230, 24);
     this.cbmCustomer.TabIndex  = 1;
     this.cbmCustomer.KeyPress += new System.Windows.Forms.KeyPressEventHandler(this.cbmCustomer_KeyPress);
     //
     // label1
     //
     this.label1.AutoSize = true;
     this.label1.Location = new System.Drawing.Point(7, 51);
     this.label1.Margin   = new System.Windows.Forms.Padding(4, 0, 4, 0);
     this.label1.Name     = "label1";
     this.label1.Size     = new System.Drawing.Size(123, 17);
     this.label1.TabIndex = 3;
     this.label1.Text     = "Transaction Type:";
     //
     // label2
     //
     this.label2.AutoSize = true;
     this.label2.Location = new System.Drawing.Point(16, 83);
     this.label2.Margin   = new System.Windows.Forms.Padding(4, 0, 4, 0);
     this.label2.Name     = "label2";
     this.label2.Size     = new System.Drawing.Size(113, 17);
     this.label2.TabIndex = 4;
     this.label2.Text     = "Transaction No.:";
     //
     // label3
     //
     this.label3.AutoSize = true;
     this.label3.Location = new System.Drawing.Point(57, 20);
     this.label3.Margin   = new System.Windows.Forms.Padding(4, 0, 4, 0);
     this.label3.Name     = "label3";
     this.label3.Size     = new System.Drawing.Size(72, 17);
     this.label3.TabIndex = 5;
     this.label3.Text     = "Customer:";
     //
     // dgvTransaction
     //
     this.dgvTransaction.AllowUserToAddRows            = false;
     this.dgvTransaction.AutoSizeColumnsMode           = System.Windows.Forms.DataGridViewAutoSizeColumnsMode.AllCells;
     dataGridViewCellStyle1.Alignment                  = System.Windows.Forms.DataGridViewContentAlignment.MiddleLeft;
     dataGridViewCellStyle1.BackColor                  = System.Drawing.SystemColors.Control;
     dataGridViewCellStyle1.Font                       = new System.Drawing.Font("Microsoft Sans Serif", 7.8F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     dataGridViewCellStyle1.ForeColor                  = System.Drawing.SystemColors.WindowText;
     dataGridViewCellStyle1.SelectionBackColor         = System.Drawing.SystemColors.Highlight;
     dataGridViewCellStyle1.SelectionForeColor         = System.Drawing.SystemColors.HighlightText;
     dataGridViewCellStyle1.WrapMode                   = System.Windows.Forms.DataGridViewTriState.True;
     this.dgvTransaction.ColumnHeadersDefaultCellStyle = dataGridViewCellStyle1;
     this.dgvTransaction.ColumnHeadersHeightSizeMode   = System.Windows.Forms.DataGridViewColumnHeadersHeightSizeMode.AutoSize;
     this.dgvTransaction.ContextMenuStrip              = this.cmsTransaction;
     dataGridViewCellStyle2.Alignment                  = System.Windows.Forms.DataGridViewContentAlignment.MiddleLeft;
     dataGridViewCellStyle2.BackColor                  = System.Drawing.SystemColors.Window;
     dataGridViewCellStyle2.Font                       = new System.Drawing.Font("Microsoft Sans Serif", 7.8F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     dataGridViewCellStyle2.ForeColor                  = System.Drawing.SystemColors.ControlText;
     dataGridViewCellStyle2.SelectionBackColor         = System.Drawing.SystemColors.Highlight;
     dataGridViewCellStyle2.SelectionForeColor         = System.Drawing.SystemColors.HighlightText;
     dataGridViewCellStyle2.WrapMode                   = System.Windows.Forms.DataGridViewTriState.False;
     this.dgvTransaction.DefaultCellStyle              = dataGridViewCellStyle2;
     this.dgvTransaction.Location                      = new System.Drawing.Point(451, 12);
     this.dgvTransaction.Margin        = new System.Windows.Forms.Padding(4);
     this.dgvTransaction.Name          = "dgvTransaction";
     this.dgvTransaction.ReadOnly      = true;
     this.dgvTransaction.SelectionMode = System.Windows.Forms.DataGridViewSelectionMode.FullRowSelect;
     this.dgvTransaction.Size          = new System.Drawing.Size(798, 557);
     this.dgvTransaction.TabIndex      = 6;
     this.dgvTransaction.ColumnAdded  += new System.Windows.Forms.DataGridViewColumnEventHandler(this.dgvTransaction_ColumnAdded);
     //
     // cmsTransaction
     //
     this.cmsTransaction.ImageScalingSize = new System.Drawing.Size(20, 20);
     this.cmsTransaction.Items.AddRange(new System.Windows.Forms.ToolStripItem[] {
         this.toolStripMenuItem1,
         this.toolStripSeparator1,
         this.addToolStripMenuItem,
         this.editToolStripMenuItem,
         this.deleteToolStripMenuItem
     });
     this.cmsTransaction.Name     = "cmsTransaction";
     this.cmsTransaction.Size     = new System.Drawing.Size(123, 106);
     this.cmsTransaction.Opening += new System.ComponentModel.CancelEventHandler(this.cmsTransaction_Opening);
     //
     // toolStripMenuItem1
     //
     this.toolStripMenuItem1.Font = new System.Drawing.Font("Segoe UI", 9F, System.Drawing.FontStyle.Bold);
     this.toolStripMenuItem1.Name = "toolStripMenuItem1";
     this.toolStripMenuItem1.Size = new System.Drawing.Size(122, 24);
     this.toolStripMenuItem1.Text = "None";
     //
     // toolStripSeparator1
     //
     this.toolStripSeparator1.Name = "toolStripSeparator1";
     this.toolStripSeparator1.Size = new System.Drawing.Size(119, 6);
     //
     // addToolStripMenuItem
     //
     this.addToolStripMenuItem.Name   = "addToolStripMenuItem";
     this.addToolStripMenuItem.Size   = new System.Drawing.Size(122, 24);
     this.addToolStripMenuItem.Text   = "Add";
     this.addToolStripMenuItem.Click += new System.EventHandler(this.addToolStripMenuItem_Click);
     //
     // editToolStripMenuItem
     //
     this.editToolStripMenuItem.Name   = "editToolStripMenuItem";
     this.editToolStripMenuItem.Size   = new System.Drawing.Size(122, 24);
     this.editToolStripMenuItem.Text   = "Edit";
     this.editToolStripMenuItem.Click += new System.EventHandler(this.editToolStripMenuItem_Click);
     //
     // deleteToolStripMenuItem
     //
     this.deleteToolStripMenuItem.Name   = "deleteToolStripMenuItem";
     this.deleteToolStripMenuItem.Size   = new System.Drawing.Size(122, 24);
     this.deleteToolStripMenuItem.Text   = "Delete";
     this.deleteToolStripMenuItem.Click += new System.EventHandler(this.deleteToolStripMenuItem_Click);
     //
     // txtTotal
     //
     this.txtTotal.Location  = new System.Drawing.Point(138, 136);
     this.txtTotal.Margin    = new System.Windows.Forms.Padding(4);
     this.txtTotal.Name      = "txtTotal";
     this.txtTotal.ReadOnly  = true;
     this.txtTotal.Size      = new System.Drawing.Size(229, 22);
     this.txtTotal.TabIndex  = 5;
     this.txtTotal.KeyPress += new System.Windows.Forms.KeyPressEventHandler(this.txtTotal_KeyPress);
     //
     // label4
     //
     this.label4.AutoSize = true;
     this.label4.Location = new System.Drawing.Point(86, 140);
     this.label4.Margin   = new System.Windows.Forms.Padding(4, 0, 4, 0);
     this.label4.Name     = "label4";
     this.label4.Size     = new System.Drawing.Size(44, 17);
     this.label4.TabIndex = 8;
     this.label4.Text     = "Total:";
     //
     // txtTax1Percentage
     //
     this.txtTax1Percentage.Location  = new System.Drawing.Point(137, 197);
     this.txtTax1Percentage.Margin    = new System.Windows.Forms.Padding(4);
     this.txtTax1Percentage.Name      = "txtTax1Percentage";
     this.txtTax1Percentage.ReadOnly  = true;
     this.txtTax1Percentage.Size      = new System.Drawing.Size(47, 22);
     this.txtTax1Percentage.TabIndex  = 9;
     this.txtTax1Percentage.KeyPress += new System.Windows.Forms.KeyPressEventHandler(this.txtTax1Percentage_KeyPress);
     //
     // txtTax2Percentage
     //
     this.txtTax2Percentage.Location  = new System.Drawing.Point(137, 229);
     this.txtTax2Percentage.Margin    = new System.Windows.Forms.Padding(4);
     this.txtTax2Percentage.Name      = "txtTax2Percentage";
     this.txtTax2Percentage.ReadOnly  = true;
     this.txtTax2Percentage.Size      = new System.Drawing.Size(47, 22);
     this.txtTax2Percentage.TabIndex  = 10;
     this.txtTax2Percentage.KeyPress += new System.Windows.Forms.KeyPressEventHandler(this.txtTax2Percentage_KeyPress);
     //
     // lblTax1
     //
     this.lblTax1.AutoSize = true;
     this.lblTax1.Location = new System.Drawing.Point(62, 200);
     this.lblTax1.Margin   = new System.Windows.Forms.Padding(4, 0, 4, 0);
     this.lblTax1.Name     = "lblTax1";
     this.lblTax1.Size     = new System.Drawing.Size(69, 17);
     this.lblTax1.TabIndex = 11;
     this.lblTax1.Text     = "Tax1 (%):";
     //
     // lblTax2
     //
     this.lblTax2.AutoSize = true;
     this.lblTax2.Location = new System.Drawing.Point(62, 232);
     this.lblTax2.Margin   = new System.Windows.Forms.Padding(4, 0, 4, 0);
     this.lblTax2.Name     = "lblTax2";
     this.lblTax2.Size     = new System.Drawing.Size(69, 17);
     this.lblTax2.TabIndex = 12;
     this.lblTax2.Text     = "Tax2 (%):";
     //
     // txtTax1Amount
     //
     this.txtTax1Amount.Location  = new System.Drawing.Point(192, 196);
     this.txtTax1Amount.Margin    = new System.Windows.Forms.Padding(4);
     this.txtTax1Amount.Name      = "txtTax1Amount";
     this.txtTax1Amount.ReadOnly  = true;
     this.txtTax1Amount.Size      = new System.Drawing.Size(175, 22);
     this.txtTax1Amount.TabIndex  = 6;
     this.txtTax1Amount.KeyPress += new System.Windows.Forms.KeyPressEventHandler(this.txtTax1Amount_KeyPress);
     //
     // txtTax2Amount
     //
     this.txtTax2Amount.Location  = new System.Drawing.Point(192, 229);
     this.txtTax2Amount.Margin    = new System.Windows.Forms.Padding(4);
     this.txtTax2Amount.Name      = "txtTax2Amount";
     this.txtTax2Amount.ReadOnly  = true;
     this.txtTax2Amount.Size      = new System.Drawing.Size(175, 22);
     this.txtTax2Amount.TabIndex  = 7;
     this.txtTax2Amount.KeyPress += new System.Windows.Forms.KeyPressEventHandler(this.txtTax2Amount_KeyPress);
     //
     // label9
     //
     this.label9.AutoSize = true;
     this.label9.Location = new System.Drawing.Point(35, 264);
     this.label9.Margin   = new System.Windows.Forms.Padding(4, 0, 4, 0);
     this.label9.Name     = "label9";
     this.label9.Size     = new System.Drawing.Size(94, 17);
     this.label9.TabIndex = 20;
     this.label9.Text     = "Final Amount:";
     //
     // txtFinalAmount
     //
     this.txtFinalAmount.Location  = new System.Drawing.Point(138, 260);
     this.txtFinalAmount.Margin    = new System.Windows.Forms.Padding(4);
     this.txtFinalAmount.Name      = "txtFinalAmount";
     this.txtFinalAmount.ReadOnly  = true;
     this.txtFinalAmount.Size      = new System.Drawing.Size(229, 22);
     this.txtFinalAmount.TabIndex  = 8;
     this.txtFinalAmount.KeyPress += new System.Windows.Forms.KeyPressEventHandler(this.txtFinalAmount_KeyPress);
     //
     // btnSave
     //
     office2010Yellow1.BorderColor1          = System.Drawing.Color.FromArgb(((int)(((byte)(31)))), ((int)(((byte)(72)))), ((int)(((byte)(161)))));
     office2010Yellow1.BorderColor2          = System.Drawing.Color.FromArgb(((int)(((byte)(68)))), ((int)(((byte)(135)))), ((int)(((byte)(228)))));
     office2010Yellow1.ButtonMouseOverColor1 = System.Drawing.Color.FromArgb(((int)(((byte)(236)))), ((int)(((byte)(199)))), ((int)(((byte)(87)))));
     office2010Yellow1.ButtonMouseOverColor2 = System.Drawing.Color.FromArgb(((int)(((byte)(252)))), ((int)(((byte)(243)))), ((int)(((byte)(215)))));
     office2010Yellow1.ButtonMouseOverColor3 = System.Drawing.Color.FromArgb(((int)(((byte)(249)))), ((int)(((byte)(225)))), ((int)(((byte)(137)))));
     office2010Yellow1.ButtonMouseOverColor4 = System.Drawing.Color.FromArgb(((int)(((byte)(251)))), ((int)(((byte)(249)))), ((int)(((byte)(224)))));
     office2010Yellow1.ButtonNormalColor1    = System.Drawing.Color.FromArgb(((int)(((byte)(252)))), ((int)(((byte)(161)))), ((int)(((byte)(8)))));
     office2010Yellow1.ButtonNormalColor2    = System.Drawing.Color.FromArgb(((int)(((byte)(251)))), ((int)(((byte)(191)))), ((int)(((byte)(45)))));
     office2010Yellow1.ButtonNormalColor3    = System.Drawing.Color.FromArgb(((int)(((byte)(252)))), ((int)(((byte)(161)))), ((int)(((byte)(8)))));
     office2010Yellow1.ButtonNormalColor4    = System.Drawing.Color.FromArgb(((int)(((byte)(251)))), ((int)(((byte)(191)))), ((int)(((byte)(45)))));
     office2010Yellow1.ButtonSelectedColor1  = System.Drawing.Color.FromArgb(((int)(((byte)(236)))), ((int)(((byte)(199)))), ((int)(((byte)(87)))));
     office2010Yellow1.ButtonSelectedColor2  = System.Drawing.Color.FromArgb(((int)(((byte)(252)))), ((int)(((byte)(243)))), ((int)(((byte)(215)))));
     office2010Yellow1.ButtonSelectedColor3  = System.Drawing.Color.FromArgb(((int)(((byte)(255)))), ((int)(((byte)(229)))), ((int)(((byte)(117)))));
     office2010Yellow1.ButtonSelectedColor4  = System.Drawing.Color.FromArgb(((int)(((byte)(255)))), ((int)(((byte)(216)))), ((int)(((byte)(107)))));
     office2010Yellow1.HoverTextColor        = System.Drawing.Color.FromArgb(((int)(((byte)(30)))), ((int)(((byte)(57)))), ((int)(((byte)(91)))));
     office2010Yellow1.SelectedTextColor     = System.Drawing.Color.FromArgb(((int)(((byte)(30)))), ((int)(((byte)(57)))), ((int)(((byte)(91)))));
     office2010Yellow1.TextColor             = System.Drawing.Color.White;
     this.btnSave.ColorTable = office2010Yellow1;
     this.btnSave.Location   = new System.Drawing.Point(138, 292);
     this.btnSave.Margin     = new System.Windows.Forms.Padding(4);
     this.btnSave.Name       = "btnSave";
     this.btnSave.Size       = new System.Drawing.Size(99, 28);
     this.btnSave.TabIndex   = 11;
     this.btnSave.Text       = "Save";
     this.btnSave.Theme      = Xbutton.Theme.MSOffice2010_Yellow;
     this.btnSave.UseVisualStyleBackColor = true;
     this.btnSave.Click += new System.EventHandler(this.btnSave_Click);
     //
     // btnCancel
     //
     this.btnCancel.ColorTable              = office2010Yellow1;
     this.btnCancel.DialogResult            = System.Windows.Forms.DialogResult.Cancel;
     this.btnCancel.Location                = new System.Drawing.Point(268, 292);
     this.btnCancel.Margin                  = new System.Windows.Forms.Padding(4);
     this.btnCancel.Name                    = "btnCancel";
     this.btnCancel.Size                    = new System.Drawing.Size(99, 28);
     this.btnCancel.TabIndex                = 12;
     this.btnCancel.Text                    = "Cancel";
     this.btnCancel.Theme                   = Xbutton.Theme.MSOffice2010_Yellow;
     this.btnCancel.UseVisualStyleBackColor = true;
     this.btnCancel.Click                  += new System.EventHandler(this.btnCancel_Click);
     //
     // dtpTranDate
     //
     this.dtpTranDate.CustomFormat = "dd-MM-yyyy";
     this.dtpTranDate.Format       = System.Windows.Forms.DateTimePickerFormat.Custom;
     this.dtpTranDate.Location     = new System.Drawing.Point(137, 108);
     this.dtpTranDate.Name         = "dtpTranDate";
     this.dtpTranDate.Size         = new System.Drawing.Size(230, 22);
     this.dtpTranDate.TabIndex     = 4;
     //
     // label10
     //
     this.label10.AutoSize = true;
     this.label10.Location = new System.Drawing.Point(86, 112);
     this.label10.Margin   = new System.Windows.Forms.Padding(4, 0, 4, 0);
     this.label10.Name     = "label10";
     this.label10.Size     = new System.Drawing.Size(42, 17);
     this.label10.TabIndex = 25;
     this.label10.Text     = "Date:";
     //
     // label11
     //
     this.label11.AutoSize = true;
     this.label11.Location = new System.Drawing.Point(87, 331);
     this.label11.Margin   = new System.Windows.Forms.Padding(4, 0, 4, 0);
     this.label11.Name     = "label11";
     this.label11.Size     = new System.Drawing.Size(44, 17);
     this.label11.TabIndex = 27;
     this.label11.Text     = "Bank:";
     //
     // cmbBank
     //
     this.cmbBank.FormattingEnabled = true;
     this.cmbBank.Location          = new System.Drawing.Point(138, 328);
     this.cmbBank.Margin            = new System.Windows.Forms.Padding(4);
     this.cmbBank.Name     = "cmbBank";
     this.cmbBank.Size     = new System.Drawing.Size(230, 24);
     this.cmbBank.TabIndex = 9;
     //
     // label12
     //
     this.label12.AutoSize = true;
     this.label12.Location = new System.Drawing.Point(34, 360);
     this.label12.Margin   = new System.Windows.Forms.Padding(4, 0, 4, 0);
     this.label12.Name     = "label12";
     this.label12.Size     = new System.Drawing.Size(92, 17);
     this.label12.TabIndex = 29;
     this.label12.Text     = "Invoice Type:";
     //
     // cmbInvoice
     //
     this.cmbInvoice.DropDownStyle     = System.Windows.Forms.ComboBoxStyle.DropDownList;
     this.cmbInvoice.FormattingEnabled = true;
     this.cmbInvoice.Items.AddRange(new object[] {
         "Retail Invoice",
         "Tax Invoice",
         "Labour Invoice",
         "Estimate",
         "Bill of Supply"
     });
     this.cmbInvoice.Location              = new System.Drawing.Point(139, 358);
     this.cmbInvoice.Margin                = new System.Windows.Forms.Padding(4);
     this.cmbInvoice.Name                  = "cmbInvoice";
     this.cmbInvoice.Size                  = new System.Drawing.Size(229, 24);
     this.cmbInvoice.TabIndex              = 28;
     this.cmbInvoice.SelectedIndexChanged += new System.EventHandler(this.cmbInvoice_SelectedIndexChanged);
     //
     // tabControl1
     //
     this.tabControl1.Controls.Add(this.tabPage1);
     this.tabControl1.Controls.Add(this.tabPage2);
     this.tabControl1.Location      = new System.Drawing.Point(12, 20);
     this.tabControl1.Name          = "tabControl1";
     this.tabControl1.SelectedIndex = 0;
     this.tabControl1.Size          = new System.Drawing.Size(400, 463);
     this.tabControl1.TabIndex      = 30;
     //
     // tabPage1
     //
     this.tabPage1.BackColor = System.Drawing.SystemColors.ControlLight;
     this.tabPage1.Controls.Add(this.cmbTaxType);
     this.tabPage1.Controls.Add(this.label5);
     this.tabPage1.Controls.Add(this.label1);
     this.tabPage1.Controls.Add(this.txtTransactionType);
     this.tabPage1.Controls.Add(this.label12);
     this.tabPage1.Controls.Add(this.cbmCustomer);
     this.tabPage1.Controls.Add(this.label3);
     this.tabPage1.Controls.Add(this.txtTransactionNo);
     this.tabPage1.Controls.Add(this.cmbInvoice);
     this.tabPage1.Controls.Add(this.label11);
     this.tabPage1.Controls.Add(this.label2);
     this.tabPage1.Controls.Add(this.cmbBank);
     this.tabPage1.Controls.Add(this.label10);
     this.tabPage1.Controls.Add(this.txtTotal);
     this.tabPage1.Controls.Add(this.dtpTranDate);
     this.tabPage1.Controls.Add(this.label4);
     this.tabPage1.Controls.Add(this.btnCancel);
     this.tabPage1.Controls.Add(this.txtTax1Percentage);
     this.tabPage1.Controls.Add(this.btnSave);
     this.tabPage1.Controls.Add(this.txtTax2Percentage);
     this.tabPage1.Controls.Add(this.txtFinalAmount);
     this.tabPage1.Controls.Add(this.lblTax1);
     this.tabPage1.Controls.Add(this.label9);
     this.tabPage1.Controls.Add(this.lblTax2);
     this.tabPage1.Controls.Add(this.txtTax2Amount);
     this.tabPage1.Controls.Add(this.txtTax1Amount);
     this.tabPage1.Location = new System.Drawing.Point(4, 25);
     this.tabPage1.Name     = "tabPage1";
     this.tabPage1.Padding  = new System.Windows.Forms.Padding(3);
     this.tabPage1.Size     = new System.Drawing.Size(392, 434);
     this.tabPage1.TabIndex = 0;
     this.tabPage1.Text     = "Main Bill Data";
     //
     // cmbTaxType
     //
     this.cmbTaxType.FormattingEnabled = true;
     this.cmbTaxType.Location          = new System.Drawing.Point(137, 166);
     this.cmbTaxType.Margin            = new System.Windows.Forms.Padding(4);
     this.cmbTaxType.Name                  = "cmbTaxType";
     this.cmbTaxType.Size                  = new System.Drawing.Size(230, 24);
     this.cmbTaxType.TabIndex              = 6;
     this.cmbTaxType.SelectedIndexChanged += new System.EventHandler(this.cmbTaxType_SelectedIndexChanged);
     //
     // label5
     //
     this.label5.AutoSize = true;
     this.label5.Location = new System.Drawing.Point(62, 169);
     this.label5.Margin   = new System.Windows.Forms.Padding(4, 0, 4, 0);
     this.label5.Name     = "label5";
     this.label5.Size     = new System.Drawing.Size(71, 17);
     this.label5.TabIndex = 31;
     this.label5.Text     = "Tax Type:";
     //
     // tabPage2
     //
     this.tabPage2.BackColor = System.Drawing.SystemColors.ControlLight;
     this.tabPage2.Controls.Add(this.dtpBuyersOrderNo);
     this.tabPage2.Controls.Add(this.dtpDispatchDocNo);
     this.tabPage2.Controls.Add(this.label21);
     this.tabPage2.Controls.Add(this.label19);
     this.tabPage2.Controls.Add(this.txtDispatchDocNo);
     this.tabPage2.Controls.Add(this.txtTermsOfDelivery);
     this.tabPage2.Controls.Add(this.label20);
     this.tabPage2.Controls.Add(this.txtDispatchThrough);
     this.tabPage2.Controls.Add(this.label18);
     this.tabPage2.Controls.Add(this.label16);
     this.tabPage2.Controls.Add(this.label17);
     this.tabPage2.Controls.Add(this.label15);
     this.tabPage2.Controls.Add(this.txtDestination);
     this.tabPage2.Controls.Add(this.txtBuerOrderNo);
     this.tabPage2.Controls.Add(this.label14);
     this.tabPage2.Controls.Add(this.txtOtherReferences);
     this.tabPage2.Controls.Add(this.label13);
     this.tabPage2.Controls.Add(this.txtModeOfPayment);
     this.tabPage2.Controls.Add(this.label8);
     this.tabPage2.Controls.Add(this.txtSupplierRef);
     this.tabPage2.Controls.Add(this.label7);
     this.tabPage2.Controls.Add(this.txtDeliverNote);
     this.tabPage2.Location = new System.Drawing.Point(4, 25);
     this.tabPage2.Name     = "tabPage2";
     this.tabPage2.Padding  = new System.Windows.Forms.Padding(3);
     this.tabPage2.Size     = new System.Drawing.Size(392, 434);
     this.tabPage2.TabIndex = 1;
     this.tabPage2.Text     = "Other Data";
     //
     // dtpBuyersOrderNo
     //
     this.dtpBuyersOrderNo.Location = new System.Drawing.Point(155, 158);
     this.dtpBuyersOrderNo.Margin   = new System.Windows.Forms.Padding(4);
     this.dtpBuyersOrderNo.Name     = "dtpBuyersOrderNo";
     this.dtpBuyersOrderNo.Size     = new System.Drawing.Size(230, 22);
     this.dtpBuyersOrderNo.TabIndex = 27;
     //
     // dtpDispatchDocNo
     //
     this.dtpDispatchDocNo.Location = new System.Drawing.Point(155, 219);
     this.dtpDispatchDocNo.Margin   = new System.Windows.Forms.Padding(4);
     this.dtpDispatchDocNo.Name     = "dtpDispatchDocNo";
     this.dtpDispatchDocNo.Size     = new System.Drawing.Size(230, 22);
     this.dtpDispatchDocNo.TabIndex = 26;
     //
     // label21
     //
     this.label21.AutoSize = true;
     this.label21.Location = new System.Drawing.Point(94, 223);
     this.label21.Margin   = new System.Windows.Forms.Padding(4, 0, 4, 0);
     this.label21.Name     = "label21";
     this.label21.Size     = new System.Drawing.Size(50, 17);
     this.label21.TabIndex = 25;
     this.label21.Text     = "Dated:";
     //
     // label19
     //
     this.label19.AutoSize = true;
     this.label19.Location = new System.Drawing.Point(14, 308);
     this.label19.Margin   = new System.Windows.Forms.Padding(4, 0, 4, 0);
     this.label19.Name     = "label19";
     this.label19.Size     = new System.Drawing.Size(123, 17);
     this.label19.TabIndex = 21;
     this.label19.Text     = "Terms of Delivery:";
     //
     // txtDispatchDocNo
     //
     this.txtDispatchDocNo.Location = new System.Drawing.Point(155, 188);
     this.txtDispatchDocNo.Margin   = new System.Windows.Forms.Padding(4);
     this.txtDispatchDocNo.Name     = "txtDispatchDocNo";
     this.txtDispatchDocNo.Size     = new System.Drawing.Size(230, 22);
     this.txtDispatchDocNo.TabIndex = 14;
     //
     // txtTermsOfDelivery
     //
     this.txtTermsOfDelivery.Location = new System.Drawing.Point(155, 305);
     this.txtTermsOfDelivery.Margin   = new System.Windows.Forms.Padding(4);
     this.txtTermsOfDelivery.Name     = "txtTermsOfDelivery";
     this.txtTermsOfDelivery.Size     = new System.Drawing.Size(230, 22);
     this.txtTermsOfDelivery.TabIndex = 20;
     //
     // label20
     //
     this.label20.AutoSize = true;
     this.label20.Location = new System.Drawing.Point(94, 164);
     this.label20.Margin   = new System.Windows.Forms.Padding(4, 0, 4, 0);
     this.label20.Name     = "label20";
     this.label20.Size     = new System.Drawing.Size(50, 17);
     this.label20.TabIndex = 23;
     this.label20.Text     = "Dated:";
     //
     // txtDispatchThrough
     //
     this.txtDispatchThrough.Location = new System.Drawing.Point(155, 247);
     this.txtDispatchThrough.Margin   = new System.Windows.Forms.Padding(4);
     this.txtDispatchThrough.Name     = "txtDispatchThrough";
     this.txtDispatchThrough.Size     = new System.Drawing.Size(230, 22);
     this.txtDispatchThrough.TabIndex = 16;
     //
     // label18
     //
     this.label18.AutoSize = true;
     this.label18.Location = new System.Drawing.Point(59, 277);
     this.label18.Margin   = new System.Windows.Forms.Padding(4, 0, 4, 0);
     this.label18.Name     = "label18";
     this.label18.Size     = new System.Drawing.Size(83, 17);
     this.label18.TabIndex = 19;
     this.label18.Text     = "Destination:";
     //
     // label16
     //
     this.label16.AutoSize = true;
     this.label16.Location = new System.Drawing.Point(22, 191);
     this.label16.Margin   = new System.Windows.Forms.Padding(4, 0, 4, 0);
     this.label16.Name     = "label16";
     this.label16.Size     = new System.Drawing.Size(126, 17);
     this.label16.TabIndex = 15;
     this.label16.Text     = "Dispatch Doc. No.:";
     //
     // label17
     //
     this.label17.AutoSize = true;
     this.label17.Location = new System.Drawing.Point(25, 250);
     this.label17.Margin   = new System.Windows.Forms.Padding(4, 0, 4, 0);
     this.label17.Name     = "label17";
     this.label17.Size     = new System.Drawing.Size(120, 17);
     this.label17.TabIndex = 17;
     this.label17.Text     = "Dispatch through:";
     //
     // label15
     //
     this.label15.AutoSize = true;
     this.label15.Location = new System.Drawing.Point(14, 132);
     this.label15.Margin   = new System.Windows.Forms.Padding(4, 0, 4, 0);
     this.label15.Name     = "label15";
     this.label15.Size     = new System.Drawing.Size(126, 17);
     this.label15.TabIndex = 13;
     this.label15.Text     = "Buyer\'s Order No.:";
     //
     // txtDestination
     //
     this.txtDestination.Location = new System.Drawing.Point(155, 275);
     this.txtDestination.Margin   = new System.Windows.Forms.Padding(4);
     this.txtDestination.Name     = "txtDestination";
     this.txtDestination.Size     = new System.Drawing.Size(230, 22);
     this.txtDestination.TabIndex = 18;
     //
     // txtBuerOrderNo
     //
     this.txtBuerOrderNo.Location = new System.Drawing.Point(155, 130);
     this.txtBuerOrderNo.Margin   = new System.Windows.Forms.Padding(4);
     this.txtBuerOrderNo.Name     = "txtBuerOrderNo";
     this.txtBuerOrderNo.Size     = new System.Drawing.Size(230, 22);
     this.txtBuerOrderNo.TabIndex = 12;
     //
     // label14
     //
     this.label14.AutoSize = true;
     this.label14.Location = new System.Drawing.Point(22, 102);
     this.label14.Margin   = new System.Windows.Forms.Padding(4, 0, 4, 0);
     this.label14.Name     = "label14";
     this.label14.Size     = new System.Drawing.Size(117, 17);
     this.label14.TabIndex = 11;
     this.label14.Text     = "Other Refrences:";
     //
     // txtOtherReferences
     //
     this.txtOtherReferences.Location = new System.Drawing.Point(155, 100);
     this.txtOtherReferences.Margin   = new System.Windows.Forms.Padding(4);
     this.txtOtherReferences.Name     = "txtOtherReferences";
     this.txtOtherReferences.Size     = new System.Drawing.Size(230, 22);
     this.txtOtherReferences.TabIndex = 10;
     //
     // label13
     //
     this.label13.AutoSize = true;
     this.label13.Location = new System.Drawing.Point(23, 72);
     this.label13.Margin   = new System.Windows.Forms.Padding(4, 0, 4, 0);
     this.label13.Name     = "label13";
     this.label13.Size     = new System.Drawing.Size(122, 17);
     this.label13.TabIndex = 9;
     this.label13.Text     = "Mode of Payment:";
     //
     // txtModeOfPayment
     //
     this.txtModeOfPayment.Location = new System.Drawing.Point(155, 69);
     this.txtModeOfPayment.Margin   = new System.Windows.Forms.Padding(4);
     this.txtModeOfPayment.Name     = "txtModeOfPayment";
     this.txtModeOfPayment.Size     = new System.Drawing.Size(230, 22);
     this.txtModeOfPayment.TabIndex = 8;
     //
     // label8
     //
     this.label8.AutoSize = true;
     this.label8.Location = new System.Drawing.Point(37, 42);
     this.label8.Margin   = new System.Windows.Forms.Padding(4, 0, 4, 0);
     this.label8.Name     = "label8";
     this.label8.Size     = new System.Drawing.Size(104, 17);
     this.label8.TabIndex = 7;
     this.label8.Text     = "Supplier\'s Ref.:";
     //
     // txtSupplierRef
     //
     this.txtSupplierRef.Location = new System.Drawing.Point(155, 39);
     this.txtSupplierRef.Margin   = new System.Windows.Forms.Padding(4);
     this.txtSupplierRef.Name     = "txtSupplierRef";
     this.txtSupplierRef.Size     = new System.Drawing.Size(230, 22);
     this.txtSupplierRef.TabIndex = 6;
     //
     // label7
     //
     this.label7.AutoSize = true;
     this.label7.Location = new System.Drawing.Point(42, 12);
     this.label7.Margin   = new System.Windows.Forms.Padding(4, 0, 4, 0);
     this.label7.Name     = "label7";
     this.label7.Size     = new System.Drawing.Size(97, 17);
     this.label7.TabIndex = 5;
     this.label7.Text     = "Delivery Note:";
     //
     // txtDeliverNote
     //
     this.txtDeliverNote.Location = new System.Drawing.Point(155, 9);
     this.txtDeliverNote.Margin   = new System.Windows.Forms.Padding(4);
     this.txtDeliverNote.Name     = "txtDeliverNote";
     this.txtDeliverNote.Size     = new System.Drawing.Size(230, 22);
     this.txtDeliverNote.TabIndex = 4;
     //
     // frmTransaction
     //
     this.AutoScaleDimensions = new System.Drawing.SizeF(8F, 16F);
     this.AutoScaleMode       = System.Windows.Forms.AutoScaleMode.Font;
     this.BackColor           = System.Drawing.SystemColors.ControlLight;
     this.CancelButton        = this.btnCancel;
     this.ClientSize          = new System.Drawing.Size(1262, 580);
     this.Controls.Add(this.tabControl1);
     this.Controls.Add(this.dgvTransaction);
     this.Font            = new System.Drawing.Font("Microsoft Sans Serif", 7.8F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.FormBorderStyle = System.Windows.Forms.FormBorderStyle.FixedSingle;
     this.Icon            = ((System.Drawing.Icon)(resources.GetObject("$this.Icon")));
     this.Margin          = new System.Windows.Forms.Padding(4);
     this.MaximizeBox     = false;
     this.MinimizeBox     = false;
     this.Name            = "frmTransaction";
     this.ShowInTaskbar   = false;
     this.Text            = "Transaction";
     this.Load           += new System.EventHandler(this.frmTransaction_Load);
     ((System.ComponentModel.ISupportInitialize)(this.dgvTransaction)).EndInit();
     this.cmsTransaction.ResumeLayout(false);
     this.tabControl1.ResumeLayout(false);
     this.tabPage1.ResumeLayout(false);
     this.tabPage1.PerformLayout();
     this.tabPage2.ResumeLayout(false);
     this.tabPage2.PerformLayout();
     this.ResumeLayout(false);
 }
コード例 #6
0
 /// <summary>
 /// Required method for Designer support - do not modify
 /// the contents of this method with the code editor.
 /// </summary>
 private void InitializeComponent()
 {
     Xbutton.Office2010Yellow office2010Yellow1 = new Xbutton.Office2010Yellow();
     System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(frmCompanyAddEdit));
     this.lblName   = new System.Windows.Forms.Label();
     this.txtName   = new System.Windows.Forms.TextBox();
     this.label2    = new System.Windows.Forms.Label();
     this.btnCancel = new Xbutton.xButtons();
     this.btnSave   = new Xbutton.xButtons();
     this.SuspendLayout();
     //
     // lblName
     //
     this.lblName.AutoSize = true;
     this.lblName.Font     = new System.Drawing.Font("Microsoft Sans Serif", 7.8F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.lblName.Location = new System.Drawing.Point(14, 19);
     this.lblName.Name     = "lblName";
     this.lblName.Size     = new System.Drawing.Size(246, 17);
     this.lblName.TabIndex = 0;
     this.lblName.Text     = "Enter the name for the new Company:";
     //
     // txtName
     //
     this.txtName.Font     = new System.Drawing.Font("Microsoft Sans Serif", 7.8F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.txtName.Location = new System.Drawing.Point(18, 38);
     this.txtName.Name     = "txtName";
     this.txtName.Size     = new System.Drawing.Size(339, 22);
     this.txtName.TabIndex = 1;
     //
     // label2
     //
     this.label2.BorderStyle = System.Windows.Forms.BorderStyle.Fixed3D;
     this.label2.Location    = new System.Drawing.Point(17, 64);
     this.label2.Name        = "label2";
     this.label2.Size        = new System.Drawing.Size(339, 2);
     this.label2.TabIndex    = 2;
     //
     // btnCancel
     //
     office2010Yellow1.BorderColor1          = System.Drawing.Color.FromArgb(((int)(((byte)(31)))), ((int)(((byte)(72)))), ((int)(((byte)(161)))));
     office2010Yellow1.BorderColor2          = System.Drawing.Color.FromArgb(((int)(((byte)(68)))), ((int)(((byte)(135)))), ((int)(((byte)(228)))));
     office2010Yellow1.ButtonMouseOverColor1 = System.Drawing.Color.FromArgb(((int)(((byte)(236)))), ((int)(((byte)(199)))), ((int)(((byte)(87)))));
     office2010Yellow1.ButtonMouseOverColor2 = System.Drawing.Color.FromArgb(((int)(((byte)(252)))), ((int)(((byte)(243)))), ((int)(((byte)(215)))));
     office2010Yellow1.ButtonMouseOverColor3 = System.Drawing.Color.FromArgb(((int)(((byte)(249)))), ((int)(((byte)(225)))), ((int)(((byte)(137)))));
     office2010Yellow1.ButtonMouseOverColor4 = System.Drawing.Color.FromArgb(((int)(((byte)(251)))), ((int)(((byte)(249)))), ((int)(((byte)(224)))));
     office2010Yellow1.ButtonNormalColor1    = System.Drawing.Color.FromArgb(((int)(((byte)(252)))), ((int)(((byte)(161)))), ((int)(((byte)(8)))));
     office2010Yellow1.ButtonNormalColor2    = System.Drawing.Color.FromArgb(((int)(((byte)(251)))), ((int)(((byte)(191)))), ((int)(((byte)(45)))));
     office2010Yellow1.ButtonNormalColor3    = System.Drawing.Color.FromArgb(((int)(((byte)(252)))), ((int)(((byte)(161)))), ((int)(((byte)(8)))));
     office2010Yellow1.ButtonNormalColor4    = System.Drawing.Color.FromArgb(((int)(((byte)(251)))), ((int)(((byte)(191)))), ((int)(((byte)(45)))));
     office2010Yellow1.ButtonSelectedColor1  = System.Drawing.Color.FromArgb(((int)(((byte)(236)))), ((int)(((byte)(199)))), ((int)(((byte)(87)))));
     office2010Yellow1.ButtonSelectedColor2  = System.Drawing.Color.FromArgb(((int)(((byte)(252)))), ((int)(((byte)(243)))), ((int)(((byte)(215)))));
     office2010Yellow1.ButtonSelectedColor3  = System.Drawing.Color.FromArgb(((int)(((byte)(255)))), ((int)(((byte)(229)))), ((int)(((byte)(117)))));
     office2010Yellow1.ButtonSelectedColor4  = System.Drawing.Color.FromArgb(((int)(((byte)(255)))), ((int)(((byte)(216)))), ((int)(((byte)(107)))));
     office2010Yellow1.HoverTextColor        = System.Drawing.Color.FromArgb(((int)(((byte)(30)))), ((int)(((byte)(57)))), ((int)(((byte)(91)))));
     office2010Yellow1.SelectedTextColor     = System.Drawing.Color.FromArgb(((int)(((byte)(30)))), ((int)(((byte)(57)))), ((int)(((byte)(91)))));
     office2010Yellow1.TextColor             = System.Drawing.Color.White;
     this.btnCancel.ColorTable              = office2010Yellow1;
     this.btnCancel.DialogResult            = System.Windows.Forms.DialogResult.Cancel;
     this.btnCancel.Font                    = new System.Drawing.Font("Microsoft Sans Serif", 7.8F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.btnCancel.Location                = new System.Drawing.Point(179, 68);
     this.btnCancel.Name                    = "btnCancel";
     this.btnCancel.Size                    = new System.Drawing.Size(87, 23);
     this.btnCancel.TabIndex                = 3;
     this.btnCancel.Text                    = "Cancel";
     this.btnCancel.Theme                   = Xbutton.Theme.MSOffice2010_Yellow;
     this.btnCancel.UseVisualStyleBackColor = true;
     this.btnCancel.Click                  += new System.EventHandler(this.btnCancel_Click);
     //
     // btnSave
     //
     this.btnSave.ColorTable = office2010Yellow1;
     this.btnSave.Font       = new System.Drawing.Font("Microsoft Sans Serif", 7.8F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.btnSave.Location   = new System.Drawing.Point(80, 68);
     this.btnSave.Name       = "btnSave";
     this.btnSave.Size       = new System.Drawing.Size(87, 23);
     this.btnSave.TabIndex   = 2;
     this.btnSave.Text       = "Save";
     this.btnSave.Theme      = Xbutton.Theme.MSOffice2010_Yellow;
     this.btnSave.UseVisualStyleBackColor = true;
     this.btnSave.Click += new System.EventHandler(this.xButton1_Click);
     //
     // frmCompanyAddEdit
     //
     this.AutoScaleDimensions = new System.Drawing.SizeF(8F, 16F);
     this.AutoScaleMode       = System.Windows.Forms.AutoScaleMode.Font;
     this.BackColor           = System.Drawing.SystemColors.ControlLight;
     this.CancelButton        = this.btnCancel;
     this.ClientSize          = new System.Drawing.Size(379, 132);
     this.Controls.Add(this.btnCancel);
     this.Controls.Add(this.btnSave);
     this.Controls.Add(this.label2);
     this.Controls.Add(this.txtName);
     this.Controls.Add(this.lblName);
     this.Font            = new System.Drawing.Font("Microsoft Sans Serif", 7.8F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.FormBorderStyle = System.Windows.Forms.FormBorderStyle.FixedSingle;
     this.Icon            = ((System.Drawing.Icon)(resources.GetObject("$this.Icon")));
     this.MaximizeBox     = false;
     this.MinimizeBox     = false;
     this.Name            = "frmCompanyAddEdit";
     this.ShowInTaskbar   = false;
     this.StartPosition   = System.Windows.Forms.FormStartPosition.CenterParent;
     this.Text            = "Company: Add";
     this.Load           += new System.EventHandler(this.frmCompanyAddEdit_Load);
     this.ResumeLayout(false);
     this.PerformLayout();
 }
コード例 #7
0
 /// <summary>
 /// Required method for Designer support - do not modify
 /// the contents of this method with the code editor.
 /// </summary>
 private void InitializeComponent()
 {
     Xbutton.Office2010Yellow office2010Yellow1 = new Xbutton.Office2010Yellow();
     System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(frmPayment));
     this.cmbmethod       = new System.Windows.Forms.ComboBox();
     this.txtCheckNo      = new System.Windows.Forms.TextBox();
     this.txtAmt          = new System.Windows.Forms.TextBox();
     this.label1          = new System.Windows.Forms.Label();
     this.label2          = new System.Windows.Forms.Label();
     this.label3          = new System.Windows.Forms.Label();
     this.btnsave         = new Xbutton.xButtons();
     this.btnCancel       = new Xbutton.xButtons();
     this.label4          = new System.Windows.Forms.Label();
     this.dateTimePicker1 = new System.Windows.Forms.DateTimePicker();
     this.label5          = new System.Windows.Forms.Label();
     this.textBox1        = new System.Windows.Forms.TextBox();
     this.label6          = new System.Windows.Forms.Label();
     this.cmbPayType      = new System.Windows.Forms.ComboBox();
     this.txtCustomer     = new System.Windows.Forms.TextBox();
     this.label7          = new System.Windows.Forms.Label();
     this.rtbDesc         = new System.Windows.Forms.RichTextBox();
     this.label8          = new System.Windows.Forms.Label();
     this.SuspendLayout();
     //
     // cmbmethod
     //
     this.cmbmethod.FormattingEnabled = true;
     this.cmbmethod.Items.AddRange(new object[] {
         "CASH",
         "Cheque"
     });
     this.cmbmethod.Location              = new System.Drawing.Point(173, 73);
     this.cmbmethod.Margin                = new System.Windows.Forms.Padding(4);
     this.cmbmethod.Name                  = "cmbmethod";
     this.cmbmethod.Size                  = new System.Drawing.Size(207, 24);
     this.cmbmethod.TabIndex              = 3;
     this.cmbmethod.Text                  = "Select Method";
     this.cmbmethod.SelectedIndexChanged += new System.EventHandler(this.cmbmethod_SelectedIndexChanged);
     //
     // txtCheckNo
     //
     this.txtCheckNo.Enabled  = false;
     this.txtCheckNo.Location = new System.Drawing.Point(173, 137);
     this.txtCheckNo.Margin   = new System.Windows.Forms.Padding(4);
     this.txtCheckNo.Name     = "txtCheckNo";
     this.txtCheckNo.Size     = new System.Drawing.Size(207, 22);
     this.txtCheckNo.TabIndex = 5;
     //
     // txtAmt
     //
     this.txtAmt.Enabled  = false;
     this.txtAmt.Location = new System.Drawing.Point(173, 169);
     this.txtAmt.Margin   = new System.Windows.Forms.Padding(4);
     this.txtAmt.Name     = "txtAmt";
     this.txtAmt.Size     = new System.Drawing.Size(207, 22);
     this.txtAmt.TabIndex = 6;
     //
     // label1
     //
     this.label1.AutoSize = true;
     this.label1.Location = new System.Drawing.Point(82, 76);
     this.label1.Margin   = new System.Windows.Forms.Padding(4, 0, 4, 0);
     this.label1.Name     = "label1";
     this.label1.Size     = new System.Drawing.Size(83, 17);
     this.label1.TabIndex = 3;
     this.label1.Text     = "Cash Mode:";
     //
     // label2
     //
     this.label2.AutoSize = true;
     this.label2.Location = new System.Drawing.Point(78, 140);
     this.label2.Margin   = new System.Windows.Forms.Padding(4, 0, 4, 0);
     this.label2.Name     = "label2";
     this.label2.Size     = new System.Drawing.Size(87, 17);
     this.label2.TabIndex = 4;
     this.label2.Text     = "Cheque No.:";
     //
     // label3
     //
     this.label3.AutoSize = true;
     this.label3.Location = new System.Drawing.Point(105, 172);
     this.label3.Margin   = new System.Windows.Forms.Padding(4, 0, 4, 0);
     this.label3.Name     = "label3";
     this.label3.Size     = new System.Drawing.Size(60, 17);
     this.label3.TabIndex = 5;
     this.label3.Text     = "Amount:";
     //
     // btnsave
     //
     office2010Yellow1.BorderColor1          = System.Drawing.Color.FromArgb(((int)(((byte)(31)))), ((int)(((byte)(72)))), ((int)(((byte)(161)))));
     office2010Yellow1.BorderColor2          = System.Drawing.Color.FromArgb(((int)(((byte)(68)))), ((int)(((byte)(135)))), ((int)(((byte)(228)))));
     office2010Yellow1.ButtonMouseOverColor1 = System.Drawing.Color.FromArgb(((int)(((byte)(236)))), ((int)(((byte)(199)))), ((int)(((byte)(87)))));
     office2010Yellow1.ButtonMouseOverColor2 = System.Drawing.Color.FromArgb(((int)(((byte)(252)))), ((int)(((byte)(243)))), ((int)(((byte)(215)))));
     office2010Yellow1.ButtonMouseOverColor3 = System.Drawing.Color.FromArgb(((int)(((byte)(249)))), ((int)(((byte)(225)))), ((int)(((byte)(137)))));
     office2010Yellow1.ButtonMouseOverColor4 = System.Drawing.Color.FromArgb(((int)(((byte)(251)))), ((int)(((byte)(249)))), ((int)(((byte)(224)))));
     office2010Yellow1.ButtonNormalColor1    = System.Drawing.Color.FromArgb(((int)(((byte)(252)))), ((int)(((byte)(161)))), ((int)(((byte)(8)))));
     office2010Yellow1.ButtonNormalColor2    = System.Drawing.Color.FromArgb(((int)(((byte)(251)))), ((int)(((byte)(191)))), ((int)(((byte)(45)))));
     office2010Yellow1.ButtonNormalColor3    = System.Drawing.Color.FromArgb(((int)(((byte)(252)))), ((int)(((byte)(161)))), ((int)(((byte)(8)))));
     office2010Yellow1.ButtonNormalColor4    = System.Drawing.Color.FromArgb(((int)(((byte)(251)))), ((int)(((byte)(191)))), ((int)(((byte)(45)))));
     office2010Yellow1.ButtonSelectedColor1  = System.Drawing.Color.FromArgb(((int)(((byte)(236)))), ((int)(((byte)(199)))), ((int)(((byte)(87)))));
     office2010Yellow1.ButtonSelectedColor2  = System.Drawing.Color.FromArgb(((int)(((byte)(252)))), ((int)(((byte)(243)))), ((int)(((byte)(215)))));
     office2010Yellow1.ButtonSelectedColor3  = System.Drawing.Color.FromArgb(((int)(((byte)(255)))), ((int)(((byte)(229)))), ((int)(((byte)(117)))));
     office2010Yellow1.ButtonSelectedColor4  = System.Drawing.Color.FromArgb(((int)(((byte)(255)))), ((int)(((byte)(216)))), ((int)(((byte)(107)))));
     office2010Yellow1.HoverTextColor        = System.Drawing.Color.FromArgb(((int)(((byte)(30)))), ((int)(((byte)(57)))), ((int)(((byte)(91)))));
     office2010Yellow1.SelectedTextColor     = System.Drawing.Color.FromArgb(((int)(((byte)(30)))), ((int)(((byte)(57)))), ((int)(((byte)(91)))));
     office2010Yellow1.TextColor             = System.Drawing.Color.White;
     this.btnsave.ColorTable = office2010Yellow1;
     this.btnsave.Location   = new System.Drawing.Point(172, 336);
     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   = 9;
     this.btnsave.Text       = "Save";
     this.btnsave.Theme      = Xbutton.Theme.MSOffice2010_Yellow;
     this.btnsave.UseVisualStyleBackColor = true;
     this.btnsave.Click += new System.EventHandler(this.btnsave_Click);
     //
     // btnCancel
     //
     this.btnCancel.ColorTable              = office2010Yellow1;
     this.btnCancel.DialogResult            = System.Windows.Forms.DialogResult.Cancel;
     this.btnCancel.Location                = new System.Drawing.Point(280, 336);
     this.btnCancel.Margin                  = new System.Windows.Forms.Padding(4);
     this.btnCancel.Name                    = "btnCancel";
     this.btnCancel.Size                    = new System.Drawing.Size(100, 28);
     this.btnCancel.TabIndex                = 10;
     this.btnCancel.Text                    = "Cancel";
     this.btnCancel.Theme                   = Xbutton.Theme.MSOffice2010_Yellow;
     this.btnCancel.UseVisualStyleBackColor = true;
     this.btnCancel.Click                  += new System.EventHandler(this.btnCancel_Click);
     //
     // label4
     //
     this.label4.AutoSize = true;
     this.label4.Location = new System.Drawing.Point(123, 210);
     this.label4.Margin   = new System.Windows.Forms.Padding(4, 0, 4, 0);
     this.label4.Name     = "label4";
     this.label4.Size     = new System.Drawing.Size(42, 17);
     this.label4.TabIndex = 8;
     this.label4.Text     = "Date:";
     //
     // dateTimePicker1
     //
     this.dateTimePicker1.CustomFormat = "dd-MM-yyyy";
     this.dateTimePicker1.Format       = System.Windows.Forms.DateTimePickerFormat.Custom;
     this.dateTimePicker1.Location     = new System.Drawing.Point(173, 205);
     this.dateTimePicker1.Name         = "dateTimePicker1";
     this.dateTimePicker1.Size         = new System.Drawing.Size(200, 22);
     this.dateTimePicker1.TabIndex     = 7;
     //
     // label5
     //
     this.label5.AutoSize = true;
     this.label5.Location = new System.Drawing.Point(76, 46);
     this.label5.Margin   = new System.Windows.Forms.Padding(4, 0, 4, 0);
     this.label5.Name     = "label5";
     this.label5.Size     = new System.Drawing.Size(89, 17);
     this.label5.TabIndex = 10;
     this.label5.Text     = "Outstanding:";
     //
     // textBox1
     //
     this.textBox1.Location = new System.Drawing.Point(173, 43);
     this.textBox1.Margin   = new System.Windows.Forms.Padding(4);
     this.textBox1.Name     = "textBox1";
     this.textBox1.ReadOnly = true;
     this.textBox1.Size     = new System.Drawing.Size(207, 22);
     this.textBox1.TabIndex = 2;
     //
     // label6
     //
     this.label6.AutoSize = true;
     this.label6.Location = new System.Drawing.Point(62, 108);
     this.label6.Margin   = new System.Windows.Forms.Padding(4, 0, 4, 0);
     this.label6.Name     = "label6";
     this.label6.Size     = new System.Drawing.Size(103, 17);
     this.label6.TabIndex = 13;
     this.label6.Text     = "Payment Type:";
     //
     // cmbPayType
     //
     this.cmbPayType.FormattingEnabled = true;
     this.cmbPayType.Items.AddRange(new object[] {
         "Paid",
         "Receive"
     });
     this.cmbPayType.Location = new System.Drawing.Point(173, 105);
     this.cmbPayType.Margin   = new System.Windows.Forms.Padding(4);
     this.cmbPayType.Name     = "cmbPayType";
     this.cmbPayType.Size     = new System.Drawing.Size(207, 24);
     this.cmbPayType.TabIndex = 4;
     this.cmbPayType.Text     = "Select Type";
     //
     // txtCustomer
     //
     this.txtCustomer.Location = new System.Drawing.Point(173, 13);
     this.txtCustomer.Margin   = new System.Windows.Forms.Padding(4);
     this.txtCustomer.Name     = "txtCustomer";
     this.txtCustomer.ReadOnly = true;
     this.txtCustomer.Size     = new System.Drawing.Size(207, 22);
     this.txtCustomer.TabIndex = 1;
     //
     // label7
     //
     this.label7.AutoSize = true;
     this.label7.Location = new System.Drawing.Point(116, 16);
     this.label7.Margin   = new System.Windows.Forms.Padding(4, 0, 4, 0);
     this.label7.Name     = "label7";
     this.label7.Size     = new System.Drawing.Size(49, 17);
     this.label7.TabIndex = 14;
     this.label7.Text     = "Name:";
     //
     // rtbDesc
     //
     this.rtbDesc.Location = new System.Drawing.Point(173, 233);
     this.rtbDesc.Name     = "rtbDesc";
     this.rtbDesc.Size     = new System.Drawing.Size(207, 96);
     this.rtbDesc.TabIndex = 8;
     this.rtbDesc.Text     = "";
     //
     // label8
     //
     this.label8.AutoSize = true;
     this.label8.Location = new System.Drawing.Point(83, 236);
     this.label8.Margin   = new System.Windows.Forms.Padding(4, 0, 4, 0);
     this.label8.Name     = "label8";
     this.label8.Size     = new System.Drawing.Size(83, 17);
     this.label8.TabIndex = 17;
     this.label8.Text     = "Description:";
     //
     // frmPayment
     //
     this.AutoScaleDimensions = new System.Drawing.SizeF(8F, 16F);
     this.AutoScaleMode       = System.Windows.Forms.AutoScaleMode.Font;
     this.BackColor           = System.Drawing.SystemColors.ControlLight;
     this.CancelButton        = this.btnCancel;
     this.ClientSize          = new System.Drawing.Size(445, 394);
     this.Controls.Add(this.label8);
     this.Controls.Add(this.rtbDesc);
     this.Controls.Add(this.txtCustomer);
     this.Controls.Add(this.label7);
     this.Controls.Add(this.label6);
     this.Controls.Add(this.cmbPayType);
     this.Controls.Add(this.textBox1);
     this.Controls.Add(this.label5);
     this.Controls.Add(this.dateTimePicker1);
     this.Controls.Add(this.label4);
     this.Controls.Add(this.btnCancel);
     this.Controls.Add(this.btnsave);
     this.Controls.Add(this.label3);
     this.Controls.Add(this.label2);
     this.Controls.Add(this.label1);
     this.Controls.Add(this.txtAmt);
     this.Controls.Add(this.txtCheckNo);
     this.Controls.Add(this.cmbmethod);
     this.Font            = new System.Drawing.Font("Microsoft Sans Serif", 7.8F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.FormBorderStyle = System.Windows.Forms.FormBorderStyle.FixedSingle;
     this.Icon            = ((System.Drawing.Icon)(resources.GetObject("$this.Icon")));
     this.Margin          = new System.Windows.Forms.Padding(4);
     this.MaximizeBox     = false;
     this.MinimizeBox     = false;
     this.Name            = "frmPayment";
     this.ShowInTaskbar   = false;
     this.Text            = "Payment";
     this.Load           += new System.EventHandler(this.frmPayment_Load);
     this.ResumeLayout(false);
     this.PerformLayout();
 }
コード例 #8
0
 /// <summary>
 /// Required method for Designer support - do not modify
 /// the contents of this method with the code editor.
 /// </summary>
 private void InitializeComponent()
 {
     Xbutton.Office2010Yellow office2010Yellow1 = new Xbutton.Office2010Yellow();
     System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(frmTransactionItemsGrid));
     this.cmbComapny        = new System.Windows.Forms.ComboBox();
     this.cmbCategory       = new System.Windows.Forms.ComboBox();
     this.cmbModel          = new System.Windows.Forms.ComboBox();
     this.txtPrice          = new System.Windows.Forms.TextBox();
     this.txtTax1Amount     = new System.Windows.Forms.TextBox();
     this.txtTax1Percentage = new System.Windows.Forms.TextBox();
     this.txtTax2Percentage = new System.Windows.Forms.TextBox();
     this.txtTax2Amount     = new System.Windows.Forms.TextBox();
     this.txtTotal          = new System.Windows.Forms.TextBox();
     this.txtqty            = new System.Windows.Forms.TextBox();
     this.label1            = new System.Windows.Forms.Label();
     this.label2            = new System.Windows.Forms.Label();
     this.label3            = new System.Windows.Forms.Label();
     this.label4            = new System.Windows.Forms.Label();
     this.label5            = new System.Windows.Forms.Label();
     this.label6            = new System.Windows.Forms.Label();
     this.label7            = new System.Windows.Forms.Label();
     this.label8            = new System.Windows.Forms.Label();
     this.btnSave           = new Xbutton.xButtons();
     this.btnCancel         = new Xbutton.xButtons();
     this.rtbDesc           = new System.Windows.Forms.RichTextBox();
     this.label9            = new System.Windows.Forms.Label();
     this.panel1            = new System.Windows.Forms.Panel();
     this.txtCurrStock      = new System.Windows.Forms.TextBox();
     this.panel1.SuspendLayout();
     this.SuspendLayout();
     //
     // cmbComapny
     //
     this.cmbComapny.FormattingEnabled = true;
     this.cmbComapny.Location          = new System.Drawing.Point(87, 8);
     this.cmbComapny.Margin            = new System.Windows.Forms.Padding(4);
     this.cmbComapny.Name                  = "cmbComapny";
     this.cmbComapny.Size                  = new System.Drawing.Size(363, 24);
     this.cmbComapny.TabIndex              = 1;
     this.cmbComapny.SelectedIndexChanged += new System.EventHandler(this.cmbComapny_SelectedIndexChanged);
     //
     // cmbCategory
     //
     this.cmbCategory.FormattingEnabled = true;
     this.cmbCategory.Location          = new System.Drawing.Point(87, 40);
     this.cmbCategory.Margin            = new System.Windows.Forms.Padding(4);
     this.cmbCategory.Name                  = "cmbCategory";
     this.cmbCategory.Size                  = new System.Drawing.Size(363, 24);
     this.cmbCategory.TabIndex              = 2;
     this.cmbCategory.SelectedIndexChanged += new System.EventHandler(this.cmbCategory_SelectedIndexChanged);
     //
     // cmbModel
     //
     this.cmbModel.FormattingEnabled = true;
     this.cmbModel.Location          = new System.Drawing.Point(87, 76);
     this.cmbModel.Margin            = new System.Windows.Forms.Padding(4);
     this.cmbModel.Name                  = "cmbModel";
     this.cmbModel.Size                  = new System.Drawing.Size(363, 24);
     this.cmbModel.TabIndex              = 3;
     this.cmbModel.SelectedIndexChanged += new System.EventHandler(this.cmbModel_SelectedIndexChanged);
     this.cmbModel.Leave                += new System.EventHandler(this.cmbModel_Leave);
     //
     // txtPrice
     //
     this.txtPrice.Location = new System.Drawing.Point(149, 182);
     this.txtPrice.Margin   = new System.Windows.Forms.Padding(4);
     this.txtPrice.Name     = "txtPrice";
     this.txtPrice.Size     = new System.Drawing.Size(363, 22);
     this.txtPrice.TabIndex = 5;
     this.txtPrice.Leave   += new System.EventHandler(this.txtPrice_Leave);
     //
     // txtTax1Amount
     //
     this.txtTax1Amount.Location = new System.Drawing.Point(210, 405);
     this.txtTax1Amount.Margin   = new System.Windows.Forms.Padding(4);
     this.txtTax1Amount.Name     = "txtTax1Amount";
     this.txtTax1Amount.ReadOnly = true;
     this.txtTax1Amount.Size     = new System.Drawing.Size(300, 22);
     this.txtTax1Amount.TabIndex = 44;
     this.txtTax1Amount.Visible  = false;
     //
     // txtTax1Percentage
     //
     this.txtTax1Percentage.Location = new System.Drawing.Point(148, 405);
     this.txtTax1Percentage.Margin   = new System.Windows.Forms.Padding(4);
     this.txtTax1Percentage.Name     = "txtTax1Percentage";
     this.txtTax1Percentage.ReadOnly = true;
     this.txtTax1Percentage.Size     = new System.Drawing.Size(53, 22);
     this.txtTax1Percentage.TabIndex = 66;
     this.txtTax1Percentage.Visible  = false;
     this.txtTax1Percentage.Leave   += new System.EventHandler(this.txtTax1Percentage_Leave);
     //
     // txtTax2Percentage
     //
     this.txtTax2Percentage.Location = new System.Drawing.Point(148, 437);
     this.txtTax2Percentage.Margin   = new System.Windows.Forms.Padding(4);
     this.txtTax2Percentage.Name     = "txtTax2Percentage";
     this.txtTax2Percentage.ReadOnly = true;
     this.txtTax2Percentage.Size     = new System.Drawing.Size(53, 22);
     this.txtTax2Percentage.TabIndex = 77;
     this.txtTax2Percentage.Visible  = false;
     this.txtTax2Percentage.Leave   += new System.EventHandler(this.txtTax2Percentage_Leave);
     //
     // txtTax2Amount
     //
     this.txtTax2Amount.Location = new System.Drawing.Point(211, 437);
     this.txtTax2Amount.Margin   = new System.Windows.Forms.Padding(4);
     this.txtTax2Amount.Name     = "txtTax2Amount";
     this.txtTax2Amount.ReadOnly = true;
     this.txtTax2Amount.Size     = new System.Drawing.Size(300, 22);
     this.txtTax2Amount.TabIndex = 45;
     this.txtTax2Amount.Visible  = false;
     //
     // txtTotal
     //
     this.txtTotal.Location = new System.Drawing.Point(148, 469);
     this.txtTotal.Margin   = new System.Windows.Forms.Padding(4);
     this.txtTotal.Name     = "txtTotal";
     this.txtTotal.ReadOnly = true;
     this.txtTotal.Size     = new System.Drawing.Size(363, 22);
     this.txtTotal.TabIndex = 88;
     this.txtTotal.Visible  = false;
     this.txtTotal.Leave   += new System.EventHandler(this.txtTotal_Leave);
     //
     // txtqty
     //
     this.txtqty.Location = new System.Drawing.Point(149, 152);
     this.txtqty.Margin   = new System.Windows.Forms.Padding(4);
     this.txtqty.Name     = "txtqty";
     this.txtqty.Size     = new System.Drawing.Size(363, 22);
     this.txtqty.TabIndex = 4;
     this.txtqty.Leave   += new System.EventHandler(this.txtqty_Leave);
     //
     // label1
     //
     this.label1.AutoSize = true;
     this.label1.Location = new System.Drawing.Point(4, 12);
     this.label1.Margin   = new System.Windows.Forms.Padding(4, 0, 4, 0);
     this.label1.Name     = "label1";
     this.label1.Size     = new System.Drawing.Size(71, 17);
     this.label1.TabIndex = 10;
     this.label1.Text     = "Company:";
     //
     // label2
     //
     this.label2.AutoSize = true;
     this.label2.Location = new System.Drawing.Point(7, 45);
     this.label2.Margin   = new System.Windows.Forms.Padding(4, 0, 4, 0);
     this.label2.Name     = "label2";
     this.label2.Size     = new System.Drawing.Size(69, 17);
     this.label2.TabIndex = 11;
     this.label2.Text     = "Category:";
     //
     // label3
     //
     this.label3.AutoSize = true;
     this.label3.Location = new System.Drawing.Point(24, 79);
     this.label3.Margin   = new System.Windows.Forms.Padding(4, 0, 4, 0);
     this.label3.Name     = "label3";
     this.label3.Size     = new System.Drawing.Size(50, 17);
     this.label3.TabIndex = 12;
     this.label3.Text     = "Model:";
     //
     // label4
     //
     this.label4.AutoSize = true;
     this.label4.Location = new System.Drawing.Point(107, 154);
     this.label4.Margin   = new System.Windows.Forms.Padding(4, 0, 4, 0);
     this.label4.Name     = "label4";
     this.label4.Size     = new System.Drawing.Size(34, 17);
     this.label4.TabIndex = 13;
     this.label4.Text     = "Qty:";
     //
     // label5
     //
     this.label5.AutoSize = true;
     this.label5.Location = new System.Drawing.Point(96, 186);
     this.label5.Margin   = new System.Windows.Forms.Padding(4, 0, 4, 0);
     this.label5.Name     = "label5";
     this.label5.Size     = new System.Drawing.Size(44, 17);
     this.label5.TabIndex = 14;
     this.label5.Text     = "Price:";
     //
     // label6
     //
     this.label6.AutoSize = true;
     this.label6.Location = new System.Drawing.Point(72, 409);
     this.label6.Margin   = new System.Windows.Forms.Padding(4, 0, 4, 0);
     this.label6.Name     = "label6";
     this.label6.Size     = new System.Drawing.Size(69, 17);
     this.label6.TabIndex = 15;
     this.label6.Text     = "Tax1 (%):";
     this.label6.Visible  = false;
     //
     // label7
     //
     this.label7.AutoSize = true;
     this.label7.Location = new System.Drawing.Point(72, 441);
     this.label7.Margin   = new System.Windows.Forms.Padding(4, 0, 4, 0);
     this.label7.Name     = "label7";
     this.label7.Size     = new System.Drawing.Size(69, 17);
     this.label7.TabIndex = 16;
     this.label7.Text     = "Tax2 (%):";
     this.label7.Visible  = false;
     //
     // label8
     //
     this.label8.AutoSize = true;
     this.label8.Location = new System.Drawing.Point(95, 473);
     this.label8.Margin   = new System.Windows.Forms.Padding(4, 0, 4, 0);
     this.label8.Name     = "label8";
     this.label8.Size     = new System.Drawing.Size(44, 17);
     this.label8.TabIndex = 17;
     this.label8.Text     = "Total:";
     this.label8.Visible  = false;
     //
     // btnSave
     //
     office2010Yellow1.BorderColor1          = System.Drawing.Color.FromArgb(((int)(((byte)(31)))), ((int)(((byte)(72)))), ((int)(((byte)(161)))));
     office2010Yellow1.BorderColor2          = System.Drawing.Color.FromArgb(((int)(((byte)(68)))), ((int)(((byte)(135)))), ((int)(((byte)(228)))));
     office2010Yellow1.ButtonMouseOverColor1 = System.Drawing.Color.FromArgb(((int)(((byte)(236)))), ((int)(((byte)(199)))), ((int)(((byte)(87)))));
     office2010Yellow1.ButtonMouseOverColor2 = System.Drawing.Color.FromArgb(((int)(((byte)(252)))), ((int)(((byte)(243)))), ((int)(((byte)(215)))));
     office2010Yellow1.ButtonMouseOverColor3 = System.Drawing.Color.FromArgb(((int)(((byte)(249)))), ((int)(((byte)(225)))), ((int)(((byte)(137)))));
     office2010Yellow1.ButtonMouseOverColor4 = System.Drawing.Color.FromArgb(((int)(((byte)(251)))), ((int)(((byte)(249)))), ((int)(((byte)(224)))));
     office2010Yellow1.ButtonNormalColor1    = System.Drawing.Color.FromArgb(((int)(((byte)(252)))), ((int)(((byte)(161)))), ((int)(((byte)(8)))));
     office2010Yellow1.ButtonNormalColor2    = System.Drawing.Color.FromArgb(((int)(((byte)(251)))), ((int)(((byte)(191)))), ((int)(((byte)(45)))));
     office2010Yellow1.ButtonNormalColor3    = System.Drawing.Color.FromArgb(((int)(((byte)(252)))), ((int)(((byte)(161)))), ((int)(((byte)(8)))));
     office2010Yellow1.ButtonNormalColor4    = System.Drawing.Color.FromArgb(((int)(((byte)(251)))), ((int)(((byte)(191)))), ((int)(((byte)(45)))));
     office2010Yellow1.ButtonSelectedColor1  = System.Drawing.Color.FromArgb(((int)(((byte)(236)))), ((int)(((byte)(199)))), ((int)(((byte)(87)))));
     office2010Yellow1.ButtonSelectedColor2  = System.Drawing.Color.FromArgb(((int)(((byte)(252)))), ((int)(((byte)(243)))), ((int)(((byte)(215)))));
     office2010Yellow1.ButtonSelectedColor3  = System.Drawing.Color.FromArgb(((int)(((byte)(255)))), ((int)(((byte)(229)))), ((int)(((byte)(117)))));
     office2010Yellow1.ButtonSelectedColor4  = System.Drawing.Color.FromArgb(((int)(((byte)(255)))), ((int)(((byte)(216)))), ((int)(((byte)(107)))));
     office2010Yellow1.HoverTextColor        = System.Drawing.Color.FromArgb(((int)(((byte)(30)))), ((int)(((byte)(57)))), ((int)(((byte)(91)))));
     office2010Yellow1.SelectedTextColor     = System.Drawing.Color.FromArgb(((int)(((byte)(30)))), ((int)(((byte)(57)))), ((int)(((byte)(91)))));
     office2010Yellow1.TextColor             = System.Drawing.Color.White;
     this.btnSave.ColorTable = office2010Yellow1;
     this.btnSave.Location   = new System.Drawing.Point(149, 338);
     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   = 7;
     this.btnSave.Text       = "Save";
     this.btnSave.Theme      = Xbutton.Theme.MSOffice2010_Yellow;
     this.btnSave.UseVisualStyleBackColor = true;
     this.btnSave.Click += new System.EventHandler(this.btnSave_Click);
     //
     // btnCancel
     //
     this.btnCancel.ColorTable = office2010Yellow1;
     this.btnCancel.Location   = new System.Drawing.Point(260, 338);
     this.btnCancel.Margin     = new System.Windows.Forms.Padding(4);
     this.btnCancel.Name       = "btnCancel";
     this.btnCancel.Size       = new System.Drawing.Size(100, 28);
     this.btnCancel.TabIndex   = 8;
     this.btnCancel.Text       = "Cancel";
     this.btnCancel.Theme      = Xbutton.Theme.MSOffice2010_Yellow;
     this.btnCancel.UseVisualStyleBackColor = true;
     this.btnCancel.Click += new System.EventHandler(this.btnCancel_Click);
     //
     // rtbDesc
     //
     this.rtbDesc.Location = new System.Drawing.Point(149, 212);
     this.rtbDesc.Margin   = new System.Windows.Forms.Padding(4);
     this.rtbDesc.Name     = "rtbDesc";
     this.rtbDesc.Size     = new System.Drawing.Size(363, 117);
     this.rtbDesc.TabIndex = 6;
     this.rtbDesc.Text     = "";
     //
     // label9
     //
     this.label9.AutoSize = true;
     this.label9.Location = new System.Drawing.Point(57, 266);
     this.label9.Margin   = new System.Windows.Forms.Padding(4, 0, 4, 0);
     this.label9.Name     = "label9";
     this.label9.Size     = new System.Drawing.Size(83, 17);
     this.label9.TabIndex = 21;
     this.label9.Text     = "Description:";
     //
     // panel1
     //
     this.panel1.Controls.Add(this.label1);
     this.panel1.Controls.Add(this.cmbComapny);
     this.panel1.Controls.Add(this.cmbCategory);
     this.panel1.Controls.Add(this.cmbModel);
     this.panel1.Controls.Add(this.label2);
     this.panel1.Controls.Add(this.label3);
     this.panel1.Location = new System.Drawing.Point(60, 28);
     this.panel1.Name     = "panel1";
     this.panel1.Size     = new System.Drawing.Size(460, 123);
     this.panel1.TabIndex = 0;
     //
     // txtCurrStock
     //
     this.txtCurrStock.Location = new System.Drawing.Point(13, 104);
     this.txtCurrStock.Margin   = new System.Windows.Forms.Padding(4);
     this.txtCurrStock.Name     = "txtCurrStock";
     this.txtCurrStock.ReadOnly = true;
     this.txtCurrStock.Size     = new System.Drawing.Size(40, 22);
     this.txtCurrStock.TabIndex = 89;
     //
     // frmTransactionItemsGrid
     //
     this.AutoScaleDimensions = new System.Drawing.SizeF(8F, 16F);
     this.AutoScaleMode       = System.Windows.Forms.AutoScaleMode.Font;
     this.BackColor           = System.Drawing.SystemColors.ControlLight;
     this.ClientSize          = new System.Drawing.Size(529, 507);
     this.Controls.Add(this.txtCurrStock);
     this.Controls.Add(this.panel1);
     this.Controls.Add(this.label9);
     this.Controls.Add(this.rtbDesc);
     this.Controls.Add(this.btnCancel);
     this.Controls.Add(this.btnSave);
     this.Controls.Add(this.label8);
     this.Controls.Add(this.label7);
     this.Controls.Add(this.label6);
     this.Controls.Add(this.label5);
     this.Controls.Add(this.label4);
     this.Controls.Add(this.txtqty);
     this.Controls.Add(this.txtTotal);
     this.Controls.Add(this.txtTax2Percentage);
     this.Controls.Add(this.txtTax2Amount);
     this.Controls.Add(this.txtTax1Percentage);
     this.Controls.Add(this.txtTax1Amount);
     this.Controls.Add(this.txtPrice);
     this.Font            = new System.Drawing.Font("Microsoft Sans Serif", 7.8F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.FormBorderStyle = System.Windows.Forms.FormBorderStyle.FixedSingle;
     this.Icon            = ((System.Drawing.Icon)(resources.GetObject("$this.Icon")));
     this.Margin          = new System.Windows.Forms.Padding(4);
     this.MaximizeBox     = false;
     this.MinimizeBox     = false;
     this.Name            = "frmTransactionItemsGrid";
     this.ShowInTaskbar   = false;
     this.Text            = "Items of Transaction";
     this.Load           += new System.EventHandler(this.frmTransactionItemsGrid_Load);
     this.panel1.ResumeLayout(false);
     this.panel1.PerformLayout();
     this.ResumeLayout(false);
     this.PerformLayout();
 }
コード例 #9
0
 /// <summary>
 /// Required method for Designer support - do not modify
 /// the contents of this method with the code editor.
 /// </summary>
 private void InitializeComponent()
 {
     Xbutton.Office2010Yellow office2010Yellow1 = new Xbutton.Office2010Yellow();
     System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(frmExpense));
     this.dtpExpense     = new System.Windows.Forms.DateTimePicker();
     this.label4         = new System.Windows.Forms.Label();
     this.btnCancel      = new Xbutton.xButtons();
     this.btnsave        = new Xbutton.xButtons();
     this.label3         = new System.Windows.Forms.Label();
     this.lbl1           = new System.Windows.Forms.Label();
     this.txtAmt         = new System.Windows.Forms.TextBox();
     this.txtExpenseName = new System.Windows.Forms.TextBox();
     this.SuspendLayout();
     //
     // dtpExpense
     //
     this.dtpExpense.CustomFormat = "dd-MM-yyyy";
     this.dtpExpense.Format       = System.Windows.Forms.DateTimePickerFormat.Custom;
     this.dtpExpense.Location     = new System.Drawing.Point(168, 95);
     this.dtpExpense.Name         = "dtpExpense";
     this.dtpExpense.Size         = new System.Drawing.Size(200, 22);
     this.dtpExpense.TabIndex     = 3;
     //
     // label4
     //
     this.label4.AutoSize = true;
     this.label4.Location = new System.Drawing.Point(114, 100);
     this.label4.Margin   = new System.Windows.Forms.Padding(4, 0, 4, 0);
     this.label4.Name     = "label4";
     this.label4.Size     = new System.Drawing.Size(42, 17);
     this.label4.TabIndex = 20;
     this.label4.Text     = "Date:";
     //
     // btnCancel
     //
     office2010Yellow1.BorderColor1          = System.Drawing.Color.FromArgb(((int)(((byte)(31)))), ((int)(((byte)(72)))), ((int)(((byte)(161)))));
     office2010Yellow1.BorderColor2          = System.Drawing.Color.FromArgb(((int)(((byte)(68)))), ((int)(((byte)(135)))), ((int)(((byte)(228)))));
     office2010Yellow1.ButtonMouseOverColor1 = System.Drawing.Color.FromArgb(((int)(((byte)(236)))), ((int)(((byte)(199)))), ((int)(((byte)(87)))));
     office2010Yellow1.ButtonMouseOverColor2 = System.Drawing.Color.FromArgb(((int)(((byte)(252)))), ((int)(((byte)(243)))), ((int)(((byte)(215)))));
     office2010Yellow1.ButtonMouseOverColor3 = System.Drawing.Color.FromArgb(((int)(((byte)(249)))), ((int)(((byte)(225)))), ((int)(((byte)(137)))));
     office2010Yellow1.ButtonMouseOverColor4 = System.Drawing.Color.FromArgb(((int)(((byte)(251)))), ((int)(((byte)(249)))), ((int)(((byte)(224)))));
     office2010Yellow1.ButtonNormalColor1    = System.Drawing.Color.FromArgb(((int)(((byte)(252)))), ((int)(((byte)(161)))), ((int)(((byte)(8)))));
     office2010Yellow1.ButtonNormalColor2    = System.Drawing.Color.FromArgb(((int)(((byte)(251)))), ((int)(((byte)(191)))), ((int)(((byte)(45)))));
     office2010Yellow1.ButtonNormalColor3    = System.Drawing.Color.FromArgb(((int)(((byte)(252)))), ((int)(((byte)(161)))), ((int)(((byte)(8)))));
     office2010Yellow1.ButtonNormalColor4    = System.Drawing.Color.FromArgb(((int)(((byte)(251)))), ((int)(((byte)(191)))), ((int)(((byte)(45)))));
     office2010Yellow1.ButtonSelectedColor1  = System.Drawing.Color.FromArgb(((int)(((byte)(236)))), ((int)(((byte)(199)))), ((int)(((byte)(87)))));
     office2010Yellow1.ButtonSelectedColor2  = System.Drawing.Color.FromArgb(((int)(((byte)(252)))), ((int)(((byte)(243)))), ((int)(((byte)(215)))));
     office2010Yellow1.ButtonSelectedColor3  = System.Drawing.Color.FromArgb(((int)(((byte)(255)))), ((int)(((byte)(229)))), ((int)(((byte)(117)))));
     office2010Yellow1.ButtonSelectedColor4  = System.Drawing.Color.FromArgb(((int)(((byte)(255)))), ((int)(((byte)(216)))), ((int)(((byte)(107)))));
     office2010Yellow1.HoverTextColor        = System.Drawing.Color.FromArgb(((int)(((byte)(30)))), ((int)(((byte)(57)))), ((int)(((byte)(91)))));
     office2010Yellow1.SelectedTextColor     = System.Drawing.Color.FromArgb(((int)(((byte)(30)))), ((int)(((byte)(57)))), ((int)(((byte)(91)))));
     office2010Yellow1.TextColor             = System.Drawing.Color.White;
     this.btnCancel.ColorTable              = office2010Yellow1;
     this.btnCancel.DialogResult            = System.Windows.Forms.DialogResult.Cancel;
     this.btnCancel.Location                = new System.Drawing.Point(275, 132);
     this.btnCancel.Margin                  = new System.Windows.Forms.Padding(4);
     this.btnCancel.Name                    = "btnCancel";
     this.btnCancel.Size                    = new System.Drawing.Size(100, 28);
     this.btnCancel.TabIndex                = 5;
     this.btnCancel.Text                    = "Cancel";
     this.btnCancel.Theme                   = Xbutton.Theme.MSOffice2010_Yellow;
     this.btnCancel.UseVisualStyleBackColor = true;
     this.btnCancel.Click                  += new System.EventHandler(this.btnCancel_Click);
     //
     // btnsave
     //
     this.btnsave.ColorTable = office2010Yellow1;
     this.btnsave.Location   = new System.Drawing.Point(167, 132);
     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   = 4;
     this.btnsave.Text       = "Save";
     this.btnsave.Theme      = Xbutton.Theme.MSOffice2010_Yellow;
     this.btnsave.UseVisualStyleBackColor = true;
     this.btnsave.Click += new System.EventHandler(this.btnsave_Click);
     //
     // label3
     //
     this.label3.AutoSize = true;
     this.label3.Location = new System.Drawing.Point(99, 63);
     this.label3.Margin   = new System.Windows.Forms.Padding(4, 0, 4, 0);
     this.label3.Name     = "label3";
     this.label3.Size     = new System.Drawing.Size(60, 17);
     this.label3.TabIndex = 17;
     this.label3.Text     = "Amount:";
     //
     // lbl1
     //
     this.lbl1.AutoSize = true;
     this.lbl1.Location = new System.Drawing.Point(54, 30);
     this.lbl1.Margin   = new System.Windows.Forms.Padding(4, 0, 4, 0);
     this.lbl1.Name     = "lbl1";
     this.lbl1.Size     = new System.Drawing.Size(107, 17);
     this.lbl1.TabIndex = 16;
     this.lbl1.Text     = "Expense Name:";
     //
     // txtAmt
     //
     this.txtAmt.Location = new System.Drawing.Point(168, 59);
     this.txtAmt.Margin   = new System.Windows.Forms.Padding(4);
     this.txtAmt.Name     = "txtAmt";
     this.txtAmt.Size     = new System.Drawing.Size(207, 22);
     this.txtAmt.TabIndex = 2;
     //
     // txtExpenseName
     //
     this.txtExpenseName.Location = new System.Drawing.Point(168, 27);
     this.txtExpenseName.Margin   = new System.Windows.Forms.Padding(4);
     this.txtExpenseName.Name     = "txtExpenseName";
     this.txtExpenseName.Size     = new System.Drawing.Size(207, 22);
     this.txtExpenseName.TabIndex = 1;
     //
     // frmExpense
     //
     this.AutoScaleDimensions = new System.Drawing.SizeF(8F, 16F);
     this.AutoScaleMode       = System.Windows.Forms.AutoScaleMode.Font;
     this.BackColor           = System.Drawing.SystemColors.ControlLight;
     this.CancelButton        = this.btnCancel;
     this.ClientSize          = new System.Drawing.Size(451, 196);
     this.Controls.Add(this.dtpExpense);
     this.Controls.Add(this.label4);
     this.Controls.Add(this.btnCancel);
     this.Controls.Add(this.btnsave);
     this.Controls.Add(this.label3);
     this.Controls.Add(this.lbl1);
     this.Controls.Add(this.txtAmt);
     this.Controls.Add(this.txtExpenseName);
     this.Font            = new System.Drawing.Font("Microsoft Sans Serif", 7.8F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.FormBorderStyle = System.Windows.Forms.FormBorderStyle.FixedSingle;
     this.Icon            = ((System.Drawing.Icon)(resources.GetObject("$this.Icon")));
     this.MaximizeBox     = false;
     this.MinimizeBox     = false;
     this.Name            = "frmExpense";
     this.ShowInTaskbar   = false;
     this.StartPosition   = System.Windows.Forms.FormStartPosition.CenterParent;
     this.Text            = "Expense";
     this.ResumeLayout(false);
     this.PerformLayout();
 }
コード例 #10
0
 /// <summary>
 /// Required method for Designer support - do not modify
 /// the contents of this method with the code editor.
 /// </summary>
 private void InitializeComponent()
 {
     Xbutton.Office2010Yellow office2010Yellow1 = new Xbutton.Office2010Yellow();
     System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(frmBackup));
     this.saveFileDialog1 = new System.Windows.Forms.SaveFileDialog();
     this.openFileDialog1 = new System.Windows.Forms.OpenFileDialog();
     this.groupBox1       = new System.Windows.Forms.GroupBox();
     this.xButtons1       = new Xbutton.xButtons();
     this.xButtons2       = new Xbutton.xButtons();
     this.groupBox1.SuspendLayout();
     this.SuspendLayout();
     //
     // openFileDialog1
     //
     this.openFileDialog1.FileName = "openFileDialog1";
     //
     // groupBox1
     //
     this.groupBox1.Controls.Add(this.xButtons1);
     this.groupBox1.Controls.Add(this.xButtons2);
     this.groupBox1.Location = new System.Drawing.Point(72, 44);
     this.groupBox1.Name     = "groupBox1";
     this.groupBox1.Size     = new System.Drawing.Size(441, 123);
     this.groupBox1.TabIndex = 19;
     this.groupBox1.TabStop  = false;
     this.groupBox1.Text     = "Database Backup/Restore";
     //
     // xButtons1
     //
     office2010Yellow1.BorderColor1          = System.Drawing.Color.FromArgb(((int)(((byte)(31)))), ((int)(((byte)(72)))), ((int)(((byte)(161)))));
     office2010Yellow1.BorderColor2          = System.Drawing.Color.FromArgb(((int)(((byte)(68)))), ((int)(((byte)(135)))), ((int)(((byte)(228)))));
     office2010Yellow1.ButtonMouseOverColor1 = System.Drawing.Color.FromArgb(((int)(((byte)(236)))), ((int)(((byte)(199)))), ((int)(((byte)(87)))));
     office2010Yellow1.ButtonMouseOverColor2 = System.Drawing.Color.FromArgb(((int)(((byte)(252)))), ((int)(((byte)(243)))), ((int)(((byte)(215)))));
     office2010Yellow1.ButtonMouseOverColor3 = System.Drawing.Color.FromArgb(((int)(((byte)(249)))), ((int)(((byte)(225)))), ((int)(((byte)(137)))));
     office2010Yellow1.ButtonMouseOverColor4 = System.Drawing.Color.FromArgb(((int)(((byte)(251)))), ((int)(((byte)(249)))), ((int)(((byte)(224)))));
     office2010Yellow1.ButtonNormalColor1    = System.Drawing.Color.FromArgb(((int)(((byte)(252)))), ((int)(((byte)(161)))), ((int)(((byte)(8)))));
     office2010Yellow1.ButtonNormalColor2    = System.Drawing.Color.FromArgb(((int)(((byte)(251)))), ((int)(((byte)(191)))), ((int)(((byte)(45)))));
     office2010Yellow1.ButtonNormalColor3    = System.Drawing.Color.FromArgb(((int)(((byte)(252)))), ((int)(((byte)(161)))), ((int)(((byte)(8)))));
     office2010Yellow1.ButtonNormalColor4    = System.Drawing.Color.FromArgb(((int)(((byte)(251)))), ((int)(((byte)(191)))), ((int)(((byte)(45)))));
     office2010Yellow1.ButtonSelectedColor1  = System.Drawing.Color.FromArgb(((int)(((byte)(236)))), ((int)(((byte)(199)))), ((int)(((byte)(87)))));
     office2010Yellow1.ButtonSelectedColor2  = System.Drawing.Color.FromArgb(((int)(((byte)(252)))), ((int)(((byte)(243)))), ((int)(((byte)(215)))));
     office2010Yellow1.ButtonSelectedColor3  = System.Drawing.Color.FromArgb(((int)(((byte)(255)))), ((int)(((byte)(229)))), ((int)(((byte)(117)))));
     office2010Yellow1.ButtonSelectedColor4  = System.Drawing.Color.FromArgb(((int)(((byte)(255)))), ((int)(((byte)(216)))), ((int)(((byte)(107)))));
     office2010Yellow1.HoverTextColor        = System.Drawing.Color.FromArgb(((int)(((byte)(30)))), ((int)(((byte)(57)))), ((int)(((byte)(91)))));
     office2010Yellow1.SelectedTextColor     = System.Drawing.Color.FromArgb(((int)(((byte)(30)))), ((int)(((byte)(57)))), ((int)(((byte)(91)))));
     office2010Yellow1.TextColor             = System.Drawing.Color.White;
     this.xButtons1.ColorTable = office2010Yellow1;
     this.xButtons1.Location   = new System.Drawing.Point(74, 37);
     this.xButtons1.Name       = "xButtons1";
     this.xButtons1.Size       = new System.Drawing.Size(132, 50);
     this.xButtons1.TabIndex   = 20;
     this.xButtons1.Text       = "Backup";
     this.xButtons1.Theme      = Xbutton.Theme.MSOffice2010_Yellow;
     this.xButtons1.UseVisualStyleBackColor = true;
     this.xButtons1.Click += new System.EventHandler(this.xButtons1_Click);
     //
     // xButtons2
     //
     this.xButtons2.ColorTable = office2010Yellow1;
     this.xButtons2.Location   = new System.Drawing.Point(212, 37);
     this.xButtons2.Name       = "xButtons2";
     this.xButtons2.Size       = new System.Drawing.Size(132, 50);
     this.xButtons2.TabIndex   = 21;
     this.xButtons2.Text       = "Restore";
     this.xButtons2.Theme      = Xbutton.Theme.MSOffice2010_Yellow;
     this.xButtons2.UseVisualStyleBackColor = true;
     this.xButtons2.Click += new System.EventHandler(this.xButtons2_Click);
     //
     // frmBackup
     //
     this.AutoScaleDimensions = new System.Drawing.SizeF(8F, 16F);
     this.AutoScaleMode       = System.Windows.Forms.AutoScaleMode.Font;
     this.ClientSize          = new System.Drawing.Size(589, 221);
     this.Controls.Add(this.groupBox1);
     this.Font          = new System.Drawing.Font("Microsoft Sans Serif", 7.8F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.Icon          = ((System.Drawing.Icon)(resources.GetObject("$this.Icon")));
     this.MaximizeBox   = false;
     this.MinimizeBox   = false;
     this.Name          = "frmBackup";
     this.StartPosition = System.Windows.Forms.FormStartPosition.CenterScreen;
     this.Text          = "Fire Shadow Backup";
     this.groupBox1.ResumeLayout(false);
     this.ResumeLayout(false);
 }