Hi, I am working on a Windows application project for 2 months. Today i found that my most of the control events are not firing.. Till yesterday night all the forms were fine but i wonder what happened today.
Can anyone pls help me out..

Did you accidentally redirect some functions?
...or hide them?
If you add a new button with a handler, does the code compile?

The project is compiling well, without any errors... and I have not added anything extra. It was fine last night but the very next day i found the events are not firing. Is this any bug of VS-2008?

namespace jewsof.forms
{
    partial class frmcms
    {
        /// <summary>
        /// Required designer variable.
        /// </summary>
        private System.ComponentModel.IContainer components = null;

        /// <summary>
        /// Clean up any resources being used.
        /// </summary>
        /// <param name="disposing">true if managed resources should be disposed; otherwise, false.</param>
        protected override void Dispose(bool disposing)
        {
            if (disposing && (components != null))
            {
                components.Dispose();
            }
            base.Dispose(disposing);
        }

        #region Windows Form Designer generated code

        /// <summary>
        /// Required method for Designer support - do not modify
        /// the contents of this method with the code editor.
        /// </summary>
        private void InitializeComponent()
        {
            System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle1 = new System.Windows.Forms.DataGridViewCellStyle();
            System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle2 = new System.Windows.Forms.DataGridViewCellStyle();
            System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle3 = new System.Windows.Forms.DataGridViewCellStyle();
            System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle4 = new System.Windows.Forms.DataGridViewCellStyle();
            System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle5 = new System.Windows.Forms.DataGridViewCellStyle();
            System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle6 = new System.Windows.Forms.DataGridViewCellStyle();
            System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle7 = new System.Windows.Forms.DataGridViewCellStyle();
            System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle8 = new System.Windows.Forms.DataGridViewCellStyle();
            System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle9 = new System.Windows.Forms.DataGridViewCellStyle();
            System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle10 = new System.Windows.Forms.DataGridViewCellStyle();
            System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle11 = new System.Windows.Forms.DataGridViewCellStyle();
            System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle12 = new System.Windows.Forms.DataGridViewCellStyle();
            System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle13 = new System.Windows.Forms.DataGridViewCellStyle();
            System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle14 = new System.Windows.Forms.DataGridViewCellStyle();
            System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle15 = new System.Windows.Forms.DataGridViewCellStyle();
            this.panel1 = new System.Windows.Forms.Panel();
            this.cBox2 = new System.Windows.Forms.ComboBox();
            this.cBox1 = new System.Windows.Forms.ComboBox();
            this.label2 = new System.Windows.Forms.Label();
            this.label4 = new System.Windows.Forms.Label();
            this.bt3 = new System.Windows.Forms.Button();
            this.bt2 = new System.Windows.Forms.Button();
            this.bt1 = new System.Windows.Forms.Button();
            this.txt3 = new System.Windows.Forms.DateTimePicker();
            this.label7 = new System.Windows.Forms.Label();
            this.label8 = new System.Windows.Forms.Label();
            this.label10 = new System.Windows.Forms.Label();
            this.label11 = new System.Windows.Forms.Label();
            this.label29 = new System.Windows.Forms.Label();
            this.label6 = new System.Windows.Forms.Label();
            this.label5 = new System.Windows.Forms.Label();
            this.label3 = new System.Windows.Forms.Label();
            this.label12 = new System.Windows.Forms.Label();
            this.txt11 = new System.Windows.Forms.TextBox();
            this.txt5 = new System.Windows.Forms.RichTextBox();
            this.txt10 = new System.Windows.Forms.TextBox();
            this.txt12 = new System.Windows.Forms.TextBox();
            this.txt8 = new System.Windows.Forms.TextBox();
            this.txt4 = new System.Windows.Forms.TextBox();
            this.txt9 = new System.Windows.Forms.TextBox();
            this.txt7 = new System.Windows.Forms.TextBox();
            this.txt6 = new System.Windows.Forms.TextBox();
            this.txt2 = new System.Windows.Forms.TextBox();
            this.txt1 = new System.Windows.Forms.TextBox();
            this.label1 = new System.Windows.Forms.Label();
            this.panel13 = new System.Windows.Forms.Panel();
            this.txt15 = new System.Windows.Forms.ComboBox();
            this.bt4 = new System.Windows.Forms.Button();
            this.groupBox1 = new System.Windows.Forms.GroupBox();
            this.dlbt3 = new System.Windows.Forms.Button();
            this.upbt2 = new System.Windows.Forms.Button();
            this.adbt1 = new System.Windows.Forms.Button();
            this.label27 = new System.Windows.Forms.Label();
            this.label26 = new System.Windows.Forms.Label();
            this.label25 = new System.Windows.Forms.Label();
            this.label24 = new System.Windows.Forms.Label();
            this.label23 = new System.Windows.Forms.Label();
            this.label22 = new System.Windows.Forms.Label();
            this.label21 = new System.Windows.Forms.Label();
            this.label20 = new System.Windows.Forms.Label();
            this.label16 = new System.Windows.Forms.Label();
            this.label17 = new System.Windows.Forms.Label();
            this.label18 = new System.Windows.Forms.Label();
            this.label19 = new System.Windows.Forms.Label();
            this.label15 = new System.Windows.Forms.Label();
            this.label14 = new System.Windows.Forms.Label();
            this.label13 = new System.Windows.Forms.Label();
            this.label9 = new System.Windows.Forms.Label();
            this.txt28 = new System.Windows.Forms.TextBox();
            this.txt27 = new System.Windows.Forms.TextBox();
            this.txt26 = new System.Windows.Forms.TextBox();
            this.txt25 = new System.Windows.Forms.TextBox();
            this.txt24 = new System.Windows.Forms.TextBox();
            this.txt23 = new System.Windows.Forms.TextBox();
            this.txt22 = new System.Windows.Forms.TextBox();
            this.txt21 = new System.Windows.Forms.TextBox();
            this.txt20 = new System.Windows.Forms.TextBox();
            this.txt19 = new System.Windows.Forms.TextBox();
            this.txt18 = new System.Windows.Forms.TextBox();
            this.txt17 = new System.Windows.Forms.TextBox();
            this.txt16 = new System.Windows.Forms.TextBox();
            this.txt14 = new System.Windows.Forms.TextBox();
            this.txt13 = new System.Windows.Forms.TextBox();
            this.toolStrip1 = new System.Windows.Forms.ToolStrip();
            this.btn_new = new System.Windows.Forms.ToolStripButton();
            this.toolStripSeparator1 = new System.Windows.Forms.ToolStripSeparator();
            this.btn_save = new System.Windows.Forms.ToolStripButton();
            this.toolStripButton3 = new System.Windows.Forms.ToolStripSeparator();
            this.btn_edit = new System.Windows.Forms.ToolStripButton();
            this.toolStripSeparator3 = new System.Windows.Forms.ToolStripSeparator();
            this.btn_del = new System.Windows.Forms.ToolStripButton();
            this.toolStripSeparator4 = new System.Windows.Forms.ToolStripSeparator();
            this.btn_close = new System.Windows.Forms.ToolStripButton();
            this.panel3 = new System.Windows.Forms.Panel();
            this.cal_2_btn = new System.Windows.Forms.Button();
            this.txt41 = new System.Windows.Forms.TextBox();
            this.label42 = new System.Windows.Forms.Label();
            this.txt39 = new System.Windows.Forms.TextBox();
            this.cal_1_btn = new System.Windows.Forms.Button();
            this.txt44 = new System.Windows.Forms.TextBox();
            this.txt43 = new System.Windows.Forms.TextBox();
            this.txt42 = new System.Windows.Forms.TextBox();
            this.txt40 = new System.Windows.Forms.TextBox();
            this.txt38 = new System.Windows.Forms.TextBox();
            this.txt37 = new System.Windows.Forms.TextBox();
            this.txt36 = new System.Windows.Forms.TextBox();
            this.txt35 = new System.Windows.Forms.TextBox();
            this.txt34 = new System.Windows.Forms.TextBox();
            this.txt33 = new System.Windows.Forms.TextBox();
            this.txt32 = new System.Windows.Forms.TextBox();
            this.txt31 = new System.Windows.Forms.TextBox();
            this.txt30 = new System.Windows.Forms.TextBox();
            this.txt29 = new System.Windows.Forms.TextBox();
            this.label38 = new System.Windows.Forms.Label();
            this.label39 = new System.Windows.Forms.Label();
            this.label40 = new System.Windows.Forms.Label();
            this.label41 = new System.Windows.Forms.Label();
            this.label43 = new System.Windows.Forms.Label();
            this.label37 = new System.Windows.Forms.Label();
            this.label36 = new System.Windows.Forms.Label();
            this.label35 = new System.Windows.Forms.Label();
            this.label34 = new System.Windows.Forms.Label();
            this.label33 = new System.Windows.Forms.Label();
            this.label32 = new System.Windows.Forms.Label();
            this.label31 = new System.Windows.Forms.Label();
            this.label30 = new System.Windows.Forms.Label();
            this.label28 = new System.Windows.Forms.Label();
            this.dataGridView1 = new System.Windows.Forms.DataGridView();
            this.C_code = new System.Windows.Forms.DataGridViewTextBoxColumn();
            this.Pro_name = new System.Windows.Forms.DataGridViewTextBoxColumn();
            this.Unt = new System.Windows.Forms.DataGridViewTextBoxColumn();
            this.Qnt = new System.Windows.Forms.DataGridViewTextBoxColumn();
            this.Pro_wgt = new System.Windows.Forms.DataGridViewTextBoxColumn();
            this.Rnd_ct = new System.Windows.Forms.DataGridViewTextBoxColumn();
            this.Brk_ct = new System.Windows.Forms.DataGridViewTextBoxColumn();
            this.mar_ct = new System.Windows.Forms.DataGridViewTextBoxColumn();
            this.Oth_ct = new System.Windows.Forms.DataGridViewTextBoxColumn();
            this.Rt_g = new System.Windows.Forms.DataGridViewTextBoxColumn();
            this.chrg = new System.Windows.Forms.DataGridViewTextBoxColumn();
            this.rd_ct_rt = new System.Windows.Forms.DataGridViewTextBoxColumn();
            this.brk_rt = new System.Windows.Forms.DataGridViewTextBoxColumn();
            this.mr_rt = new System.Windows.Forms.DataGridViewTextBoxColumn();
            this.oth_rt = new System.Windows.Forms.DataGridViewTextBoxColumn();
            this.Amt = new System.Windows.Forms.DataGridViewTextBoxColumn();
            this.panel1.SuspendLayout();
            this.panel13.SuspendLayout();
            this.groupBox1.SuspendLayout();
            this.toolStrip1.SuspendLayout();
            this.panel3.SuspendLayout();
            ((System.ComponentModel.ISupportInitialize)(this.dataGridView1)).BeginInit();
            this.SuspendLayout();
            // 
            // panel1
            // 
            this.panel1.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle;
            this.panel1.Controls.Add(this.cBox2);
            this.panel1.Controls.Add(this.cBox1);
            this.panel1.Controls.Add(this.label2);
            this.panel1.Controls.Add(this.label4);
            this.panel1.Controls.Add(this.bt3);
            this.panel1.Controls.Add(this.bt2);
            this.panel1.Controls.Add(this.bt1);
            this.panel1.Controls.Add(this.txt3);
            this.panel1.Controls.Add(this.label7);
            this.panel1.Controls.Add(this.label8);
            this.panel1.Controls.Add(this.label10);
            this.panel1.Controls.Add(this.label11);
            this.panel1.Controls.Add(this.label29);
            this.panel1.Controls.Add(this.label6);
            this.panel1.Controls.Add(this.label5);
            this.panel1.Controls.Add(this.label3);
            this.panel1.Controls.Add(this.label12);
            this.panel1.Controls.Add(this.txt11);
            this.panel1.Controls.Add(this.txt5);
            this.panel1.Controls.Add(this.txt10);
            this.panel1.Controls.Add(this.txt12);
            this.panel1.Controls.Add(this.txt8);
            this.panel1.Controls.Add(this.txt4);
            this.panel1.Controls.Add(this.txt9);
            this.panel1.Controls.Add(this.txt7);
            this.panel1.Controls.Add(this.txt6);
            this.panel1.Controls.Add(this.txt2);
            this.panel1.Controls.Add(this.txt1);
            this.panel1.Location = new System.Drawing.Point(5, 43);
            this.panel1.Name = "panel1";
            this.panel1.Size = new System.Drawing.Size(682, 134);
            this.panel1.TabIndex = 0;
            // 
            // cBox2
            // 
            this.cBox2.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList;
            this.cBox2.Enabled = false;
            this.cBox2.FormattingEnabled = true;
            this.cBox2.Location = new System.Drawing.Point(477, 109);
            this.cBox2.Name = "cBox2";
            this.cBox2.Size = new System.Drawing.Size(198, 21);
            this.cBox2.TabIndex = 83;
            // 
            // cBox1
            // 
            this.cBox1.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList;
            this.cBox1.FormattingEnabled = true;
            this.cBox1.Location = new System.Drawing.Point(128, 108);
            this.cBox1.Name = "cBox1";
            this.cBox1.Size = new System.Drawing.Size(192, 21);
            this.cBox1.TabIndex = 12;
            this.cBox1.SelectedIndexChanged += new System.EventHandler(this.cBox1_SelectedIndexChanged);
            this.cBox1.KeyDown += new System.Windows.Forms.KeyEventHandler(this.cBox1_KeyDown);
            // 
            // label2
            // 
            this.label2.BackColor = System.Drawing.Color.Gray;
            this.label2.Font = new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
            this.label2.ForeColor = System.Drawing.Color.White;
            this.label2.Location = new System.Drawing.Point(3, 108);
            this.label2.Name = "label2";
            this.label2.Size = new System.Drawing.Size(122, 20);
            this.label2.TabIndex = 82;
            this.label2.Text = "Location Name";
            // 
            // label4
            // 
            this.label4.BackColor = System.Drawing.Color.Gray;
            this.label4.Font = new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
            this.label4.ForeColor = System.Drawing.Color.White;
            this.label4.Location = new System.Drawing.Point(326, 109);
            this.label4.Name = "label4";
            this.label4.Size = new System.Drawing.Size(148, 20);
            this.label4.TabIndex = 81;
            this.label4.Text = "Location Code";
            // 
            // bt3
            // 
            this.bt3.BackgroundImage = global::jewsof.Properties.Resources.LOCATE;
            this.bt3.BackgroundImageLayout = System.Windows.Forms.ImageLayout.Center;
            this.bt3.Location = new System.Drawing.Point(646, 87);
            this.bt3.Name = "bt3";
            this.bt3.Size = new System.Drawing.Size(29, 22);
            this.bt3.TabIndex = 53;
            this.bt3.UseVisualStyleBackColor = true;
            this.bt3.Click += new System.EventHandler(this.bt3_Click);
            // 
            // bt2
            // 
            this.bt2.BackgroundImage = global::jewsof.Properties.Resources.LOCATE;
            this.bt2.BackgroundImageLayout = System.Windows.Forms.ImageLayout.Center;
            this.bt2.Location = new System.Drawing.Point(292, 86);
            this.bt2.Name = "bt2";
            this.bt2.Size = new System.Drawing.Size(29, 22);
            this.bt2.TabIndex = 52;
            this.bt2.UseVisualStyleBackColor = true;
            this.bt2.Click += new System.EventHandler(this.bt2_Click);
            // 
            // bt1
            // 
            this.bt1.BackgroundImage = global::jewsof.Properties.Resources.LOCATE;
            this.bt1.BackgroundImageLayout = System.Windows.Forms.ImageLayout.Center;
            this.bt1.Location = new System.Drawing.Point(292, 44);
            this.bt1.Name = "bt1";
            this.bt1.Size = new System.Drawing.Size(29, 22);
            this.bt1.TabIndex = 51;
            this.bt1.UseVisualStyleBackColor = true;
            this.bt1.Click += new System.EventHandler(this.bt1_Click);
            // 
            // txt3
            // 
            this.txt3.Format = System.Windows.Forms.DateTimePickerFormat.Short;
            this.txt3.Location = new System.Drawing.Point(478, 3);
            this.txt3.Name = "txt3";
            this.txt3.Size = new System.Drawing.Size(197, 20);
            this.txt3.TabIndex = 2;
            this.txt3.KeyDown += new System.Windows.Forms.KeyEventHandler(this.txt3_KeyDown);
            // 
            // label7
            // 
            this.label7.BackColor = System.Drawing.Color.Gray;
            this.label7.Font = new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
            this.label7.ForeColor = System.Drawing.SystemColors.ButtonHighlight;
            this.label7.Location = new System.Drawing.Point(326, 88);
            this.label7.Name = "label7";
            this.label7.Size = new System.Drawing.Size(148, 20);
            this.label7.TabIndex = 47;
            this.label7.Text = "A/c Name";
            // 
            // label8
            // 
            this.label8.BackColor = System.Drawing.Color.Gray;
            this.label8.Font = new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
            this.label8.ForeColor = System.Drawing.SystemColors.ButtonHighlight;
            this.label8.Location = new System.Drawing.Point(326, 67);
            this.label8.Name = "label8";
            this.label8.Size = new System.Drawing.Size(148, 20);
            this.label8.TabIndex = 46;
            this.label8.Text = "Rate of  Customer Gold";
            // 
            // label10
            // 
            this.label10.BackColor = System.Drawing.Color.Gray;
            this.label10.Font = new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
            this.label10.ForeColor = System.Drawing.SystemColors.ButtonHighlight;
            this.label10.Location = new System.Drawing.Point(326, 24);
            this.label10.Name = "label10";
            this.label10.Size = new System.Drawing.Size(148, 20);
            this.label10.TabIndex = 44;
            this.label10.Text = "Address";
            // 
            // label11
            // 
            this.label11.BackColor = System.Drawing.Color.Gray;
            this.label11.Font = new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
            this.label11.ForeColor = System.Drawing.SystemColors.ButtonHighlight;
            this.label11.Location = new System.Drawing.Point(3, 24);
            this.label11.Name = "label11";
            this.label11.Size = new System.Drawing.Size(122, 20);
            this.label11.TabIndex = 43;
            this.label11.Text = "Customer Name";
            // 
            // label29
            // 
            this.label29.BackColor = System.Drawing.Color.Gray;
            this.label29.Font = new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
            this.label29.ForeColor = System.Drawing.SystemColors.ButtonHighlight;
            this.label29.Location = new System.Drawing.Point(326, 3);
            this.label29.Name = "label29";
            this.label29.Size = new System.Drawing.Size(148, 20);
            this.label29.TabIndex = 42;
            this.label29.Text = "Date";
            // 
            // label6
            // 
            this.label6.BackColor = System.Drawing.Color.Gray;
            this.label6.Font = new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
            this.label6.ForeColor = System.Drawing.SystemColors.ButtonHighlight;
            this.label6.Location = new System.Drawing.Point(3, 87);
            this.label6.Name = "label6";
            this.label6.Size = new System.Drawing.Size(122, 20);
            this.label6.TabIndex = 41;
            this.label6.Text = "Posting Cash/Bank";
            // 
            // label5
            // 
            this.label5.BackColor = System.Drawing.Color.Gray;
            this.label5.Font = new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
            this.label5.ForeColor = System.Drawing.SystemColors.ButtonHighlight;
            this.label5.Location = new System.Drawing.Point(3, 66);
            this.label5.Name = "label5";
            this.label5.Size = new System.Drawing.Size(122, 20);
            this.label5.TabIndex = 40;
            this.label5.Text = "Return Gold";
            // 
            // label3
            // 
            this.label3.BackColor = System.Drawing.Color.Gray;
            this.label3.Font = new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
            this.label3.ForeColor = System.Drawing.SystemColors.ButtonHighlight;
            this.label3.Location = new System.Drawing.Point(3, 45);
            this.label3.Name = "label3";
            this.label3.Size = new System.Drawing.Size(122, 20);
            this.label3.TabIndex = 38;
            this.label3.Text = "Sale Type";
            // 
            // label12
            // 
            this.label12.BackColor = System.Drawing.Color.Gray;
            this.label12.Font = new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
            this.label12.ForeColor = System.Drawing.SystemColors.ButtonHighlight;
            this.label12.Location = new System.Drawing.Point(3, 3);
            this.label12.Name = "label12";
            this.label12.Size = new System.Drawing.Size(122, 20);
            this.label12.TabIndex = 0;
            this.label12.Text = "Bill No.";
            // 
            // txt11
            // 
            this.txt11.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle;
            this.txt11.Location = new System.Drawing.Point(477, 88);
            this.txt11.Name = "txt11";
            this.txt11.Size = new System.Drawing.Size(46, 20);
            this.txt11.TabIndex = 10;
            this.txt11.Text = "CBS01";
            this.txt11.KeyDown += new System.Windows.Forms.KeyEventHandler(this.txt11_KeyDown);
            this.txt11.Leave += new System.EventHandler(this.txt14_Leave);
            // 
            // txt5
            // 
            this.txt5.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle;
            this.txt5.Location = new System.Drawing.Point(478, 25);
            this.txt5.Name = "txt5";
            this.txt5.Size = new System.Drawing.Size(196, 35);
            this.txt5.TabIndex = 4;
            this.txt5.Text = "";
            this.txt5.KeyDown += new System.Windows.Forms.KeyEventHandler(this.txt5_KeyDown);
            this.txt5.Enter += new System.EventHandler(this.txt12_Enter);
            // 
            // txt10
            // 
            this.txt10.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle;
            this.txt10.Location = new System.Drawing.Point(171, 87);
            this.txt10.Name = "txt10";
            this.txt10.Size = new System.Drawing.Size(121, 20);
            this.txt10.TabIndex = 9;
            this.txt10.Text = "CASH";
            this.txt10.KeyDown += new System.Windows.Forms.KeyEventHandler(this.txt10_KeyDown);
            // 
            // txt12
            // 
            this.txt12.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle;
            this.txt12.Location = new System.Drawing.Point(524, 88);
            this.txt12.Name = "txt12";
            this.txt12.Size = new System.Drawing.Size(122, 20);
            this.txt12.TabIndex = 11;
            this.txt12.Text = "CASH SALES";
            this.txt12.KeyDown += new System.Windows.Forms.KeyEventHandler(this.txt12_KeyDown);
            // 
            // txt8
            // 
            this.txt8.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle;
            this.txt8.Location = new System.Drawing.Point(477, 67);
            this.txt8.Name = "txt8";
            this.txt8.Size = new System.Drawing.Size(197, 20);
            this.txt8.TabIndex = 7;
            this.txt8.Text = "0.00";
            this.txt8.TextAlign = System.Windows.Forms.HorizontalAlignment.Right;
            this.txt8.KeyDown += new System.Windows.Forms.KeyEventHandler(this.txt8_KeyDown);
            this.txt8.Leave += new System.EventHandler(this.txt8_Leave);
            this.txt8.KeyPress += new System.Windows.Forms.KeyPressEventHandler(this.txt8_KeyPress);
            // 
            // txt4
            // 
            this.txt4.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle;
            this.txt4.Location = new System.Drawing.Point(128, 24);
            this.txt4.Name = "txt4";
            this.txt4.Size = new System.Drawing.Size(192, 20);
            this.txt4.TabIndex = 3;
            this.txt4.KeyDown += new System.Windows.Forms.KeyEventHandler(this.txt4_KeyDown);
            // 
            // txt9
            // 
            this.txt9.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle;
            this.txt9.Location = new System.Drawing.Point(128, 87);
            this.txt9.Name = "txt9";
            this.txt9.Size = new System.Drawing.Size(42, 20);
            this.txt9.TabIndex = 8;
            this.txt9.Text = "CB01";
            this.txt9.KeyDown += new System.Windows.Forms.KeyEventHandler(this.txt9_KeyDown);
            this.txt9.Leave += new System.EventHandler(this.txt7_Leave);
            // 
            // txt7
            // 
            this.txt7.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle;
            this.txt7.Location = new System.Drawing.Point(128, 66);
            this.txt7.Name = "txt7";
            this.txt7.Size = new System.Drawing.Size(192, 20);
            this.txt7.TabIndex = 6;
            this.txt7.Text = "0.000";
            this.txt7.TextAlign = System.Windows.Forms.HorizontalAlignment.Right;
            this.txt7.KeyDown += new System.Windows.Forms.KeyEventHandler(this.txt7_KeyDown);
            this.txt7.Leave += new System.EventHandler(this.txt7_Leave_1);
            this.txt7.KeyPress += new System.Windows.Forms.KeyPressEventHandler(this.txt7_KeyPress);
            this.txt7.Enter += new System.EventHandler(this.txt7_Enter);
            // 
            // txt6
            // 
            this.txt6.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle;
            this.txt6.Location = new System.Drawing.Point(128, 45);
            this.txt6.Name = "txt6";
            this.txt6.Size = new System.Drawing.Size(163, 20);
            this.txt6.TabIndex = 5;
            this.txt6.KeyDown += new System.Windows.Forms.KeyEventHandler(this.txt6_KeyDown);
            // 
            // txt2
            // 
            this.txt2.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle;
            this.txt2.Enabled = false;
            this.txt2.Location = new System.Drawing.Point(156, 3);
            this.txt2.Name = "txt2";
            this.txt2.Size = new System.Drawing.Size(164, 20);
            this.txt2.TabIndex = 1;
            this.txt2.TextAlign = System.Windows.Forms.HorizontalAlignment.Right;
            this.txt2.KeyDown += new System.Windows.Forms.KeyEventHandler(this.txt2_KeyDown);
            this.txt2.Leave += new System.EventHandler(this.txt2_Leave);
            this.txt2.KeyPress += new System.Windows.Forms.KeyPressEventHandler(this.txt2_KeyPress);
            // 
            // txt1
            // 
            this.txt1.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle;
            this.txt1.Location = new System.Drawing.Point(128, 3);
            this.txt1.MaxLength = 10;
            this.txt1.Name = "txt1";
            this.txt1.Size = new System.Drawing.Size(27, 20);
            this.txt1.TabIndex = 0;
            this.txt1.Text = "G";
            this.txt1.TextAlign = System.Windows.Forms.HorizontalAlignment.Center;
            this.txt1.TextChanged += new System.EventHandler(this.txt1_TextChanged);
            this.txt1.KeyDown += new System.Windows.Forms.KeyEventHandler(this.txt1_KeyDown);
            // 
            // label1
            // 
            this.label1.AutoSize = true;
            this.label1.Font = new System.Drawing.Font("Microsoft Sans Serif", 9F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
            this.label1.Location = new System.Drawing.Point(12, 25);
            this.label1.Name = "label1";
            this.label1.Size = new System.Drawing.Size(115, 15);
            this.label1.TabIndex = 1;
            this.label1.Text = "Mode: New Entry";
            // 
            // panel13
            // 
            this.panel13.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle;
            this.panel13.Controls.Add(this.txt15);
            this.panel13.Controls.Add(this.bt4);
            this.panel13.Controls.Add(this.groupBox1);
            this.panel13.Controls.Add(this.label27);
            this.panel13.Controls.Add(this.label26);
            this.panel13.Controls.Add(this.label25);
            this.panel13.Controls.Add(this.label24);
            this.panel13.Controls.Add(this.label23);
            this.panel13.Controls.Add(this.label22);
            this.panel13.Controls.Add(this.label21);
            this.panel13.Controls.Add(this.label20);
            this.panel13.Controls.Add(this.label16);
            this.panel13.Controls.Add(this.label17);
            this.panel13.Controls.Add(this.label18);
            this.panel13.Controls.Add(this.label19);
            this.panel13.Controls.Add(this.label15);
            this.panel13.Controls.Add(this.label14);
            this.panel13.Controls.Add(this.label13);
            this.panel13.Controls.Add(this.label9);
            this.panel13.Controls.Add(this.txt28);
            this.panel13.Controls.Add(this.txt27);
            this.panel13.Controls.Add(this.txt26);
            this.panel13.Controls.Add(this.txt25);
            this.panel13.Controls.Add(this.txt24);
            this.panel13.Controls.Add(this.txt23);
            this.panel13.Controls.Add(this.txt22);
            this.panel13.Controls.Add(this.txt21);
            this.panel13.Controls.Add(this.txt20);
            this.panel13.Controls.Add(this.txt19);
            this.panel13.Controls.Add(this.txt18);
            this.panel13.Controls.Add(this.txt17);
            this.panel13.Controls.Add(this.txt16);
            this.panel13.Controls.Add(this.txt14);
            this.panel13.Controls.Add(this.txt13);
            this.panel13.Location = new System.Drawing.Point(5, 182);
            this.panel13.Name = "panel13";
            this.panel13.Size = new System.Drawing.Size(224, 403);
            this.panel13.TabIndex = 2;
            // 
            // txt15
            // 
            this.txt15.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList;
            this.txt15.FormattingEnabled = true;
            this.txt15.Location = new System.Drawing.Point(114, 45);
            this.txt15.Name = "txt15";
            this.txt15.Size = new System.Drawing.Size(105, 21);
            this.txt15.TabIndex = 2;
            this.txt15.KeyPress += new System.Windows.Forms.KeyPressEventHandler(this.txt15_KeyPress);
            this.txt15.KeyDown += new System.Windows.Forms.KeyEventHandler(this.txt15_KeyDown_1);
            // 
            // bt4
            // 
            this.bt4.BackgroundImage = global::jewsof.Properties.Resources.LOCATE;
            this.bt4.BackgroundImageLayout = System.Windows.Forms.ImageLayout.Center;
            this.bt4.Location = new System.Drawing.Point(192, 2);
            this.bt4.Name = "bt4";
            this.bt4.Size = new System.Drawing.Size(28, 22);
            this.bt4.TabIndex = 57;
            this.bt4.UseVisualStyleBackColor = true;
            this.bt4.Click += new System.EventHandler(this.bt4_Click);
            // 
            // groupBox1
            // 
            this.groupBox1.Controls.Add(this.dlbt3);
            this.groupBox1.Controls.Add(this.upbt2);
            this.groupBox1.Controls.Add(this.adbt1);
            this.groupBox1.Location = new System.Drawing.Point(8, 345);
            this.groupBox1.Name = "groupBox1";
            this.groupBox1.Size = new System.Drawing.Size(204, 39);
            this.groupBox1.TabIndex = 48;
            this.groupBox1.TabStop = false;
            // 
            // dlbt3
            // 
            this.dlbt3.Location = new System.Drawing.Point(136, 11);
            this.dlbt3.Name = "dlbt3";
            this.dlbt3.Size = new System.Drawing.Size(62, 23);
            this.dlbt3.TabIndex = 2;
            this.dlbt3.Text = "Delete";
            this.dlbt3.UseVisualStyleBackColor = true;
            this.dlbt3.Click += new System.EventHandler(this.dlbt3_Click);
            // 
            // upbt2
            // 
            this.upbt2.Location = new System.Drawing.Point(71, 11);
            this.upbt2.Name = "upbt2";
            this.upbt2.Size = new System.Drawing.Size(57, 23);
            this.upbt2.TabIndex = 1;
            this.upbt2.Text = "Update";
            this.upbt2.UseVisualStyleBackColor = true;
            this.upbt2.Click += new System.EventHandler(this.upbt2_Click);
            // 
            // adbt1
            // 
            this.adbt1.Location = new System.Drawing.Point(6, 11);
            this.adbt1.Name = "adbt1";
            this.adbt1.Size = new System.Drawing.Size(56, 23);
            this.adbt1.TabIndex = 0;
            this.adbt1.Text = "Add";
            this.adbt1.UseVisualStyleBackColor = true;
            this.adbt1.Click += new System.EventHandler(this.adbt1_Click);
            // 
            // label27
            // 
            this.label27.BackColor = System.Drawing.Color.Gray;
            this.label27.Font = new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
            this.label27.ForeColor = System.Drawing.SystemColors.ButtonHighlight;
            this.label27.Location = new System.Drawing.Point(3, 318);
            this.label27.Name = "label27";
            this.label27.Size = new System.Drawing.Size(108, 20);
            this.label27.TabIndex = 56;
            this.label27.Text = "Amount";
            // 
            // label26
            // 
            this.label26.BackColor = System.Drawing.Color.Gray;
            this.label26.Font = new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
            this.label26.ForeColor = System.Drawing.SystemColors.ButtonHighlight;
            this.label26.Location = new System.Drawing.Point(3, 297);
            this.label26.Name = "label26";
            this.label26.Size = new System.Drawing.Size(108, 20);
            this.label26.TabIndex = 55;
            this.label26.Text = "Oth Rate";
            // 
            // label25
            // 
            this.label25.BackColor = System.Drawing.Color.Gray;
            this.label25.Font = new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
            this.label25.ForeColor = System.Drawing.SystemColors.ButtonHighlight;
            this.label25.Location = new System.Drawing.Point(3, 276);
            this.label25.Name = "label25";
            this.label25.Size = new System.Drawing.Size(108, 20);
            this.label25.TabIndex = 54;
            this.label25.Text = "Mar Rate";
            // 
            // label24
            // 
            this.label24.BackColor = System.Drawing.Color.Gray;
            this.label24.Font = new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
            this.label24.ForeColor = System.Drawing.SystemColors.ButtonHighlight;
            this.label24.Location = new System.Drawing.Point(3, 255);
            this.label24.Name = "label24";
            this.label24.Size = new System.Drawing.Size(108, 20);
            this.label24.TabIndex = 53;
            this.label24.Text = "Brkt Rate";
            // 
            // label23
            // 
            this.label23.BackColor = System.Drawing.Color.Gray;
            this.label23.Font = new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
            this.label23.ForeColor = System.Drawing.SystemColors.ButtonHighlight;
            this.label23.Location = new System.Drawing.Point(3, 234);
            this.label23.Name = "label23";
            this.label23.Size = new System.Drawing.Size(108, 20);
            this.label23.TabIndex = 52;
            this.label23.Text = "RD(CT) Rate";
            // 
            // label22
            // 
            this.label22.BackColor = System.Drawing.Color.Gray;
            this.label22.Font = new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
            this.label22.ForeColor = System.Drawing.SystemColors.ButtonHighlight;
            this.label22.Location = new System.Drawing.Point(3, 213);
            this.label22.Name = "label22";
            this.label22.Size = new System.Drawing.Size(108, 20);
            this.label22.TabIndex = 51;
            this.label22.Text = "Charges";
            // 
            // label21
            // 
            this.label21.BackColor = System.Drawing.Color.Gray;
            this.label21.Font = new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
            this.label21.ForeColor = System.Drawing.SystemColors.ButtonHighlight;
            this.label21.Location = new System.Drawing.Point(3, 192);
            this.label21.Name = "label21";
            this.label21.Size = new System.Drawing.Size(108, 20);
            this.label21.TabIndex = 50;
            this.label21.Text = "Rate (g)";
            // 
            // label20
            // 
            this.label20.BackColor = System.Drawing.Color.Gray;
            this.label20.Font = new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
            this.label20.ForeColor = System.Drawing.SystemColors.ButtonHighlight;
            this.label20.Location = new System.Drawing.Point(3, 171);
            this.label20.Name = "label20";
            this.label20.Size = new System.Drawing.Size(108, 20);
            this.label20.TabIndex = 49;
            this.label20.Text = "Other(CT)";
            // 
            // label16
            // 
            this.label16.BackColor = System.Drawing.Color.Gray;
            this.label16.Font = new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
            this.label16.ForeColor = System.Drawing.SystemColors.ButtonHighlight;
            this.label16.Location = new System.Drawing.Point(3, 150);
            this.label16.Name = "label16";
            this.label16.Size = new System.Drawing.Size(108, 20);
            this.label16.TabIndex = 48;
            this.label16.Text = "Marq(Ct)";
            // 
            // label17
            // 
            this.label17.BackColor = System.Drawing.Color.Gray;
            this.label17.Font = new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
            this.label17.ForeColor = System.Drawing.SystemColors.ButtonHighlight;
            this.label17.Location = new System.Drawing.Point(3, 129);
            this.label17.Name = "label17";
            this.label17.Size = new System.Drawing.Size(108, 20);
            this.label17.TabIndex = 47;
            this.label17.Text = "Brkt(Ct)";
            // 
            // label18
            // 
            this.label18.BackColor = System.Drawing.Color.Gray;
            this.label18.Font = new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
            this.label18.ForeColor = System.Drawing.SystemColors.ButtonHighlight;
            this.label18.Location = new System.Drawing.Point(3, 108);
            this.label18.Name = "label18";
            this.label18.Size = new System.Drawing.Size(108, 20);
            this.label18.TabIndex = 46;
            this.label18.Text = "Round (Ct)";
            // 
            // label19
            // 
            this.label19.BackColor = System.Drawing.Color.Gray;
            this.label19.Font = new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
            this.label19.ForeColor = System.Drawing.SystemColors.ButtonHighlight;
            this.label19.Location = new System.Drawing.Point(3, 87);
            this.label19.Name = "label19";
            this.label19.Size = new System.Drawing.Size(108, 20);
            this.label19.TabIndex = 45;
            this.label19.Text = "Product Wght";
            // 
            // label15
            // 
            this.label15.BackColor = System.Drawing.Color.Gray;
            this.label15.Font = new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
            this.label15.ForeColor = System.Drawing.SystemColors.ButtonHighlight;
            this.label15.Location = new System.Drawing.Point(3, 66);
            this.label15.Name = "label15";
            this.label15.Size = new System.Drawing.Size(108, 20);
            this.label15.TabIndex = 44;
            this.label15.Text = "Qnty";
            // 
            // label14
            // 
            this.label14.BackColor = System.Drawing.Color.Gray;
            this.label14.Font = new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
            this.label14.ForeColor = System.Drawing.SystemColors.ButtonHighlight;
            this.label14.Location = new System.Drawing.Point(3, 45);
            this.label14.Name = "label14";
            this.label14.Size = new System.Drawing.Size(108, 20);
            this.label14.TabIndex = 43;
            this.label14.Text = "Unit";
            // 
            // label13
            // 
            this.label13.BackColor = System.Drawing.Color.Gray;
            this.label13.Font = new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
            this.label13.ForeColor = System.Drawing.SystemColors.ButtonHighlight;
            this.label13.Location = new System.Drawing.Point(3, 24);
            this.label13.Name = "label13";
            this.label13.Size = new System.Drawing.Size(108, 20);
            this.label13.TabIndex = 42;
            this.label13.Text = "Product Name";
            // 
            // label9
            // 
            this.label9.BackColor = System.Drawing.Color.Gray;
            this.label9.Font = new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
            this.label9.ForeColor = System.Drawing.SystemColors.ButtonHighlight;
            this.label9.Location = new System.Drawing.Point(3, 3);
            this.label9.Name = "label9";
            this.label9.Size = new System.Drawing.Size(108, 20);
            this.label9.TabIndex = 41;
            this.label9.Text = "Code";
            // 
            // txt28
            // 
            this.txt28.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle;
            this.txt28.Location = new System.Drawing.Point(114, 319);
            this.txt28.Name = "txt28";
            this.txt28.Size = new System.Drawing.Size(105, 20);
            this.txt28.TabIndex = 15;
            this.txt28.Text = "0.00";
            this.txt28.TextAlign = System.Windows.Forms.HorizontalAlignment.Right;
            this.txt28.KeyDown += new System.Windows.Forms.KeyEventHandler(this.txt28_KeyDown);
            this.txt28.Leave += new System.EventHandler(this.txt28_Leave);
            this.txt28.KeyPress += new System.Windows.Forms.KeyPressEventHandler(this.txt28_KeyPress);
            this.txt28.Enter += new System.EventHandler(this.txt28_Enter);
            // 
            // txt27
            // 
            this.txt27.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle;
            this.txt27.Location = new System.Drawing.Point(114, 298);
            this.txt27.Name = "txt27";
            this.txt27.Size = new System.Drawing.Size(105, 20);
            this.txt27.TabIndex = 14;
            this.txt27.Text = "0.00";
            this.txt27.TextAlign = System.Windows.Forms.HorizontalAlignment.Right;
            this.txt27.KeyDown += new System.Windows.Forms.KeyEventHandler(this.txt27_KeyDown);
            this.txt27.Leave += new System.EventHandler(this.txt27_Leave);
            this.txt27.KeyPress += new System.Windows.Forms.KeyPressEventHandler(this.txt27_KeyPress);
            // 
            // txt26
            // 
            this.txt26.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle;
            this.txt26.Location = new System.Drawing.Point(114, 277);
            this.txt26.Name = "txt26";
            this.txt26.Size = new System.Drawing.Size(105, 20);
            this.txt26.TabIndex = 13;
            this.txt26.Text = "0.00";
            this.txt26.TextAlign = System.Windows.Forms.HorizontalAlignment.Right;
            this.txt26.KeyDown += new System.Windows.Forms.KeyEventHandler(this.txt26_KeyDown);
            this.txt26.Leave += new System.EventHandler(this.txt26_Leave);
            this.txt26.KeyPress += new System.Windows.Forms.KeyPressEventHandler(this.txt26_KeyPress);
            // 
            // txt25
            // 
            this.txt25.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle;
            this.txt25.Location = new System.Drawing.Point(114, 256);
            this.txt25.Name = "txt25";
            this.txt25.Size = new System.Drawing.Size(105, 20);
            this.txt25.TabIndex = 12;
            this.txt25.Text = "0.00";
            this.txt25.TextAlign = System.Windows.Forms.HorizontalAlignment.Right;
            this.txt25.KeyDown += new System.Windows.Forms.KeyEventHandler(this.txt25_KeyDown);
            this.txt25.Leave += new System.EventHandler(this.txt25_Leave);
            this.txt25.KeyPress += new System.Windows.Forms.KeyPressEventHandler(this.txt25_KeyPress);
            // 
            // txt24
            // 
            this.txt24.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle;
            this.txt24.Location = new System.Drawing.Point(114, 235);
            this.txt24.Name = "txt24";
            this.txt24.Size = new System.Drawing.Size(105, 20);
            this.txt24.TabIndex = 11;
            this.txt24.Text = "0.00";
            this.txt24.TextAlign = System.Windows.Forms.HorizontalAlignment.Right;
            this.txt24.KeyDown += new System.Windows.Forms.KeyEventHandler(this.txt24_KeyDown);
            this.txt24.Leave += new System.EventHandler(this.txt24_Leave);
            this.txt24.KeyPress += new System.Windows.Forms.KeyPressEventHandler(this.txt24_KeyPress);
            // 
            // txt23
            // 
            this.txt23.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle;
            this.txt23.Location = new System.Drawing.Point(114, 214);
            this.txt23.Name = "txt23";
            this.txt23.Size = new System.Drawing.Size(105, 20);
            this.txt23.TabIndex = 10;
            this.txt23.Text = "0.00";
            this.txt23.TextAlign = System.Windows.Forms.HorizontalAlignment.Right;
            this.txt23.KeyDown += new System.Windows.Forms.KeyEventHandler(this.txt23_KeyDown);
            this.txt23.Leave += new System.EventHandler(this.txt23_Leave);
            this.txt23.KeyPress += new System.Windows.Forms.KeyPressEventHandler(this.txt23_KeyPress);
            // 
            // txt22
            // 
            this.txt22.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle;
            this.txt22.Location = new System.Drawing.Point(114, 193);
            this.txt22.Name = "txt22";
            this.txt22.Size = new System.Drawing.Size(105, 20);
            this.txt22.TabIndex = 9;
            this.txt22.Text = "0.00";
            this.txt22.TextAlign = System.Windows.Forms.HorizontalAlignment.Right;
            this.txt22.KeyDown += new System.Windows.Forms.KeyEventHandler(this.txt22_KeyDown);
            this.txt22.Leave += new System.EventHandler(this.txt22_Leave);
            this.txt22.KeyPress += new System.Windows.Forms.KeyPressEventHandler(this.txt22_KeyPress);
            // 
            // txt21
            // 
            this.txt21.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle;
            this.txt21.Location = new System.Drawing.Point(114, 172);
            this.txt21.Name = "txt21";
            this.txt21.Size = new System.Drawing.Size(105, 20);
            this.txt21.TabIndex = 8;
            this.txt21.Text = "0.000";
            this.txt21.TextAlign = System.Windows.Forms.HorizontalAlignment.Right;
            this.txt21.KeyDown += new System.Windows.Forms.KeyEventHandler(this.txt21_KeyDown);
            this.txt21.Leave += new System.EventHandler(this.txt21_Leave);
            this.txt21.KeyPress += new System.Windows.Forms.KeyPressEventHandler(this.txt21_KeyPress);
            // 
            // txt20
            // 
            this.txt20.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle;
            this.txt20.Location = new System.Drawing.Point(114, 151);
            this.txt20.Name = "txt20";
            this.txt20.Size = new System.Drawing.Size(105, 20);
            this.txt20.TabIndex = 7;
            this.txt20.Text = "0.000";
            this.txt20.TextAlign = System.Windows.Forms.HorizontalAlignment.Right;
            this.txt20.KeyDown += new System.Windows.Forms.KeyEventHandler(this.txt20_KeyDown);
            this.txt20.Leave += new System.EventHandler(this.txt20_Leave);
            this.txt20.KeyPress += new System.Windows.Forms.KeyPressEventHandler(this.txt20_KeyPress);
            // 
            // txt19
            // 
            this.txt19.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle;
            this.txt19.Location = new System.Drawing.Point(114, 130);
            this.txt19.Name = "txt19";
            this.txt19.Size = new System.Drawing.Size(105, 20);
            this.txt19.TabIndex = 6;
            this.txt19.Text = "0.000";
            this.txt19.TextAlign = System.Windows.Forms.HorizontalAlignment.Right;
            this.txt19.KeyDown += new System.Windows.Forms.KeyEventHandler(this.txt19_KeyDown);
            this.txt19.Leave += new System.EventHandler(this.txt19_Leave);
            this.txt19.KeyPress += new System.Windows.Forms.KeyPressEventHandler(this.txt19_KeyPress);
            // 
            // txt18
            // 
            this.txt18.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle;
            this.txt18.Location = new System.Drawing.Point(114, 109);
            this.txt18.Name = "txt18";
            this.txt18.Size = new System.Drawing.Size(105, 20);
            this.txt18.TabIndex = 5;
            this.txt18.Text = "0.000";
            this.txt18.TextAlign = System.Windows.Forms.HorizontalAlignment.Right;
            this.txt18.KeyDown += new System.Windows.Forms.KeyEventHandler(this.txt18_KeyDown);
            this.txt18.Leave += new System.EventHandler(this.txt18_Leave);
            this.txt18.KeyPress += new System.Windows.Forms.KeyPressEventHandler(this.txt18_KeyPress);
            // 
            // txt17
            // 
            this.txt17.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle;
            this.txt17.Location = new System.Drawing.Point(114, 88);
            this.txt17.Name = "txt17";
            this.txt17.Size = new System.Drawing.Size(105, 20);
            this.txt17.TabIndex = 4;
            this.txt17.Text = "0.000";
            this.txt17.TextAlign = System.Windows.Forms.HorizontalAlignment.Right;
            this.txt17.KeyDown += new System.Windows.Forms.KeyEventHandler(this.txt17_KeyDown);
            this.txt17.Leave += new System.EventHandler(this.txt17_Leave);
            this.txt17.KeyPress += new System.Windows.Forms.KeyPressEventHandler(this.txt17_KeyPress);
            // 
            // txt16
            // 
            this.txt16.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle;
            this.txt16.Location = new System.Drawing.Point(114, 67);
            this.txt16.Name = "txt16";
            this.txt16.Size = new System.Drawing.Size(105, 20);
            this.txt16.TabIndex = 3;
            this.txt16.Text = "0";
            this.txt16.TextAlign = System.Windows.Forms.HorizontalAlignment.Right;
            this.txt16.KeyDown += new System.Windows.Forms.KeyEventHandler(this.txt16_KeyDown);
            this.txt16.KeyPress += new System.Windows.Forms.KeyPressEventHandler(this.txt16_KeyPress);
            // 
            // txt14
            // 
            this.txt14.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle;
            this.txt14.Location = new System.Drawing.Point(114, 24);
            this.txt14.Name = "txt14";
            this.txt14.Size = new System.Drawing.Size(105, 20);
            this.txt14.TabIndex = 1;
            this.txt14.TextChanged += new System.EventHandler(this.txt14_TextChanged);
            this.txt14.KeyDown += new System.Windows.Forms.KeyEventHandler(this.txt14_KeyDown);
            this.txt14.Enter += new System.EventHandler(this.txt17_Enter);
            // 
            // txt13
            // 
            this.txt13.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle;
            this.txt13.Location = new System.Drawing.Point(114, 3);
            this.txt13.Name = "txt13";
            this.txt13.Size = new System.Drawing.Size(78, 20);
            this.txt13.TabIndex = 0;
            this.txt13.KeyDown += new System.Windows.Forms.KeyEventHandler(this.txt13_KeyDown);
            // 
            // toolStrip1
            // 
            this.toolStrip1.BackColor = System.Drawing.Color.PowderBlue;
            this.toolStrip1.Items.AddRange(new System.Windows.Forms.ToolStripItem[] {
            this.btn_new,
            this.toolStripSeparator1,
            this.btn_save,
            this.toolStripButton3,
            this.btn_edit,
            this.toolStripSeparator3,
            this.btn_del,
            this.toolStripSeparator4,
            this.btn_close});
            this.toolStrip1.Location = new System.Drawing.Point(0, 0);
            this.toolStrip1.Name = "toolStrip1";
            this.toolStrip1.Size = new System.Drawing.Size(691, 25);
            this.toolStrip1.TabIndex = 0;
            this.toolStrip1.Text = "toolStrip1";
            // 
            // btn_new
            // 
            this.btn_new.Image = global::jewsof.Properties.Resources.add;
            this.btn_new.ImageTransparentColor = System.Drawing.Color.Magenta;
            this.btn_new.Name = "btn_new";
            this.btn_new.Size = new System.Drawing.Size(48, 22);
            this.btn_new.Text = "&New";
            this.btn_new.Click += new System.EventHandler(this.btn_new_Click);
            // 
            // toolStripSeparator1
            // 
            this.toolStripSeparator1.Name = "toolStripSeparator1";
            this.toolStripSeparator1.Size = new System.Drawing.Size(6, 25);
            // 
            // btn_save
            // 
            this.btn_save.Image = global::jewsof.Properties.Resources.SAVE;
            this.btn_save.ImageTransparentColor = System.Drawing.Color.Magenta;
            this.btn_save.Name = "btn_save";
            this.btn_save.Size = new System.Drawing.Size(51, 22);
            this.btn_save.Text = "&Save";
            this.btn_save.Click += new System.EventHandler(this.btn_save_Click);
            // 
            // toolStripButton3
            // 
            this.toolStripButton3.Name = "toolStripButton3";
            this.toolStripButton3.Size = new System.Drawing.Size(6, 25);
            // 
            // btn_edit
            // 
            this.btn_edit.Image = global::jewsof.Properties.Resources.EDITBOX;
            this.btn_edit.ImageTransparentColor = System.Drawing.Color.Magenta;
            this.btn_edit.Name = "btn_edit";
            this.btn_edit.Size = new System.Drawing.Size(45, 22);
            this.btn_edit.Text = "&Edit";
            this.btn_edit.Click += new System.EventHandler(this.btn_edit_Click);
            // 
            // toolStripSeparator3
            // 
            this.toolStripSeparator3.Name = "toolStripSeparator3";
            this.toolStripSeparator3.Size = new System.Drawing.Size(6, 25);
            // 
            // btn_del
            // 
            this.btn_del.Image = global::jewsof.Properties.Resources.Cancel;
            this.btn_del.ImageTransparentColor = System.Drawing.Color.Magenta;
            this.btn_del.Name = "btn_del";
            this.btn_del.Size = new System.Drawing.Size(58, 22);
            this.btn_del.Text = "&Delete";
            this.btn_del.Click += new System.EventHandler(this.btn_del_Click);
            // 
            // toolStripSeparator4
            // 
            this.toolStripSeparator4.Name = "toolStripSeparator4";
            this.toolStripSeparator4.Size = new System.Drawing.Size(6, 25);
            // 
            // btn_close
            // 
            this.btn_close.Image = global::jewsof.Properties.Resources.CLOSE;
            this.btn_close.ImageTransparentColor = System.Drawing.Color.Magenta;
            this.btn_close.Name = "btn_close";
            this.btn_close.Size = new System.Drawing.Size(53, 22);
            this.btn_close.Text = "&Close";
            this.btn_close.Click += new System.EventHandler(this.toolStripButton6_Click);
            // 
            // panel3
            // 
            this.panel3.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle;
            this.panel3.Controls.Add(this.cal_2_btn);
            this.panel3.Controls.Add(this.txt41);
            this.panel3.Controls.Add(this.label42);
            this.panel3.Controls.Add(this.txt39);
            this.panel3.Controls.Add(this.cal_1_btn);
            this.panel3.Controls.Add(this.txt44);
            this.panel3.Controls.Add(this.txt43);
            this.panel3.Controls.Add(this.txt42);
            this.panel3.Controls.Add(this.txt40);
            this.panel3.Controls.Add(this.txt38);
            this.panel3.Controls.Add(this.txt37);
            this.panel3.Controls.Add(this.txt36);
            this.panel3.Controls.Add(this.txt35);
            this.panel3.Controls.Add(this.txt34);
            this.panel3.Controls.Add(this.txt33);
            this.panel3.Controls.Add(this.txt32);
            this.panel3.Controls.Add(this.txt31);
            this.panel3.Controls.Add(this.txt30);
            this.panel3.Controls.Add(this.txt29);
            this.panel3.Controls.Add(this.label38);
            this.panel3.Controls.Add(this.label39);
            this.panel3.Controls.Add(this.label40);
            this.panel3.Controls.Add(this.label41);
            this.panel3.Controls.Add(this.label43);
            this.panel3.Controls.Add(this.label37);
            this.panel3.Controls.Add(this.label36);
            this.panel3.Controls.Add(this.label35);
            this.panel3.Controls.Add(this.label34);
            this.panel3.Controls.Add(this.label33);
            this.panel3.Controls.Add(this.label32);
            this.panel3.Controls.Add(this.label31);
            this.panel3.Controls.Add(this.label30);
            this.panel3.Controls.Add(this.label28);
            this.panel3.Location = new System.Drawing.Point(238, 384);
            this.panel3.Name = "panel3";
            this.panel3.Size = new System.Drawing.Size(447, 201);
            this.panel3.TabIndex = 6;
            // 
            // cal_2_btn
            // 
            this.cal_2_btn.Location = new System.Drawing.Point(287, 108);
            this.cal_2_btn.Name = "cal_2_btn";
            this.cal_2_btn.Size = new System.Drawing.Size(75, 23);
            this.cal_2_btn.TabIndex = 91;
            this.cal_2_btn.Text = "Calculate";
            this.cal_2_btn.UseVisualStyleBackColor = true;
            this.cal_2_btn.Click += new System.EventHandler(this.cal_2_btn_Click_1);
            // 
            // txt41
            // 
            this.txt41.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle;
            this.txt41.Location = new System.Drawing.Point(364, 45);
            this.txt41.Name = "txt41";
            this.txt41.Size = new System.Drawing.Size(76, 20);
            this.txt41.TabIndex = 90;
            this.txt41.Text = "0.00";
            this.txt41.TextAlign = System.Windows.Forms.HorizontalAlignment.Right;
            // 
            // label42
            // 
            this.label42.BackColor = System.Drawing.Color.Gray;
            this.label42.Font = new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
            this.label42.ForeColor = System.Drawing.SystemColors.ButtonHighlight;
            this.label42.Location = new System.Drawing.Point(228, 45);
            this.label42.Name = "label42";
            this.label42.Size = new System.Drawing.Size(133, 20);
            this.label42.TabIndex = 89;
            this.label42.Text = "Adjustment (+/-)";
            // 
            // txt39
            // 
            this.txt39.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle;
            this.txt39.Location = new System.Drawing.Point(297, 24);
            this.txt39.Name = "txt39";
            this.txt39.Size = new System.Drawing.Size(64, 20);
            this.txt39.TabIndex = 88;
            this.txt39.Text = "0";
            this.txt39.TextAlign = System.Windows.Forms.HorizontalAlignment.Right;
            // 
            // cal_1_btn
            // 
            this.cal_1_btn.Location = new System.Drawing.Point(69, 170);
            this.cal_1_btn.Name = "cal_1_btn";
            this.cal_1_btn.Size = new System.Drawing.Size(65, 23);
            this.cal_1_btn.TabIndex = 0;
            this.cal_1_btn.Text = "Calculate";
            this.cal_1_btn.UseVisualStyleBackColor = true;
            // 
            // txt44
            // 
            this.txt44.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle;
            this.txt44.Location = new System.Drawing.Point(365, 132);
            this.txt44.Name = "txt44";
            this.txt44.Size = new System.Drawing.Size(76, 20);
            this.txt44.TabIndex = 86;
            this.txt44.Text = "0.00";
            this.txt44.TextAlign = System.Windows.Forms.HorizontalAlignment.Right;
            // 
            // txt43
            // 
            this.txt43.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle;
            this.txt43.Location = new System.Drawing.Point(364, 87);
            this.txt43.Name = "txt43";
            this.txt43.Size = new System.Drawing.Size(76, 20);
            this.txt43.TabIndex = 85;
            this.txt43.Text = "0.00";
            this.txt43.TextAlign = System.Windows.Forms.HorizontalAlignment.Right;
            // 
            // txt42
            // 
            this.txt42.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle;
            this.txt42.Location = new System.Drawing.Point(364, 66);
            this.txt42.Name = "txt42";
            this.txt42.Size = new System.Drawing.Size(76, 20);
            this.txt42.TabIndex = 84;
            this.txt42.Text = "0.00";
            this.txt42.TextAlign = System.Windows.Forms.HorizontalAlignment.Right;
            // 
            // txt40
            // 
            this.txt40.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle;
            this.txt40.Location = new System.Drawing.Point(364, 24);
            this.txt40.Name = "txt40";
            this.txt40.Size = new System.Drawing.Size(76, 20);
            this.txt40.TabIndex = 83;
            this.txt40.Text = "0.00";
            this.txt40.TextAlign = System.Windows.Forms.HorizontalAlignment.Right;
            // 
            // txt38
            // 
            this.txt38.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle;
            this.txt38.Location = new System.Drawing.Point(364, 3);
            this.txt38.Name = "txt38";
            this.txt38.Size = new System.Drawing.Size(76, 20);
            this.txt38.TabIndex = 81;
            this.txt38.Text = "0.00";
            this.txt38.TextAlign = System.Windows.Forms.HorizontalAlignment.Right;
            // 
            // txt37
            // 
            this.txt37.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle;
            this.txt37.Location = new System.Drawing.Point(137, 171);
            this.txt37.Name = "txt37";
            this.txt37.Size = new System.Drawing.Size(86, 20);
            this.txt37.TabIndex = 80;
            this.txt37.Text = "0.00";
            this.txt37.TextAlign = System.Windows.Forms.HorizontalAlignment.Right;
            // 
            // txt36
            // 
            this.txt36.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle;
            this.txt36.Location = new System.Drawing.Point(137, 150);
            this.txt36.Name = "txt36";
            this.txt36.Size = new System.Drawing.Size(86, 20);
            this.txt36.TabIndex = 79;
            this.txt36.Text = "0.000";
            this.txt36.TextAlign = System.Windows.Forms.HorizontalAlignment.Right;
            // 
            // txt35
            // 
            this.txt35.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle;
            this.txt35.Location = new System.Drawing.Point(137, 129);
            this.txt35.Name = "txt35";
            this.txt35.Size = new System.Drawing.Size(86, 20);
            this.txt35.TabIndex = 78;
            this.txt35.Text = "0.000";
            this.txt35.TextAlign = System.Windows.Forms.HorizontalAlignment.Right;
            // 
            // txt34
            // 
            this.txt34.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle;
            this.txt34.Location = new System.Drawing.Point(137, 108);
            this.txt34.Name = "txt34";
            this.txt34.Size = new System.Drawing.Size(86, 20);
            this.txt34.TabIndex = 77;
            this.txt34.Text = "0.000";
            this.txt34.TextAlign = System.Windows.Forms.HorizontalAlignment.Right;
            // 
            // txt33
            // 
            this.txt33.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle;
            this.txt33.Location = new System.Drawing.Point(137, 87);
            this.txt33.Name = "txt33";
            this.txt33.Size = new System.Drawing.Size(86, 20);
            this.txt33.TabIndex = 76;
            this.txt33.Text = "0.000";
            this.txt33.TextAlign = System.Windows.Forms.HorizontalAlignment.Right;
            // 
            // txt32
            // 
            this.txt32.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle;
            this.txt32.Location = new System.Drawing.Point(137, 66);
            this.txt32.Name = "txt32";
            this.txt32.Size = new System.Drawing.Size(86, 20);
            this.txt32.TabIndex = 75;
            this.txt32.Text = "0.000";
            this.txt32.TextAlign = System.Windows.Forms.HorizontalAlignment.Right;
            // 
            // txt31
            // 
            this.txt31.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle;
            this.txt31.Location = new System.Drawing.Point(137, 45);
            this.txt31.Name = "txt31";
            this.txt31.Size = new System.Drawing.Size(86, 20);
            this.txt31.TabIndex = 74;
            this.txt31.Text = "0.000";
            this.txt31.TextAlign = System.Windows.Forms.HorizontalAlignment.Right;
            // 
            // txt30
            // 
            this.txt30.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle;
            this.txt30.Location = new System.Drawing.Point(137, 24);
            this.txt30.Name = "txt30";
            this.txt30.Size = new System.Drawing.Size(86, 20);
            this.txt30.TabIndex = 73;
            this.txt30.Text = "0.000";
            this.txt30.TextAlign = System.Windows.Forms.HorizontalAlignment.Right;
            // 
            // txt29
            // 
            this.txt29.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle;
            this.txt29.Location = new System.Drawing.Point(137, 3);
            this.txt29.Name = "txt29";
            this.txt29.Size = new System.Drawing.Size(86, 20);
            this.txt29.TabIndex = 72;
            this.txt29.Text = "0.000";
            this.txt29.TextAlign = System.Windows.Forms.HorizontalAlignment.Right;
            // 
            // label38
            // 
            this.label38.BackColor = System.Drawing.Color.Gray;
            this.label38.Font = new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
            this.label38.ForeColor = System.Drawing.SystemColors.ButtonHighlight;
            this.label38.Location = new System.Drawing.Point(229, 132);
            this.label38.Name = "label38";
            this.label38.Size = new System.Drawing.Size(133, 20);
            this.label38.TabIndex = 71;
            this.label38.Text = "Amount Receivable";
            // 
            // label39
            // 
            this.label39.BackColor = System.Drawing.Color.Gray;
            this.label39.Font = new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
            this.label39.ForeColor = System.Drawing.SystemColors.ButtonHighlight;
            this.label39.Location = new System.Drawing.Point(228, 87);
            this.label39.Name = "label39";
            this.label39.Size = new System.Drawing.Size(133, 20);
            this.label39.TabIndex = 70;
            this.label39.Text = "Bill Amount";
            // 
            // label40
            // 
            this.label40.BackColor = System.Drawing.Color.Gray;
            this.label40.Font = new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
            this.label40.ForeColor = System.Drawing.SystemColors.ButtonHighlight;
            this.label40.Location = new System.Drawing.Point(228, 66);
            this.label40.Name = "label40";
            this.label40.Size = new System.Drawing.Size(133, 20);
            this.label40.TabIndex = 69;
            this.label40.Text = "Making Charges";
            // 
            // label41
            // 
            this.label41.BackColor = System.Drawing.Color.Gray;
            this.label41.Font = new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
            this.label41.ForeColor = System.Drawing.SystemColors.ButtonHighlight;
            this.label41.Location = new System.Drawing.Point(228, 24);
            this.label41.Name = "label41";
            this.label41.Size = new System.Drawing.Size(66, 20);
            this.label41.TabIndex = 68;
            this.label41.Text = "Add Vat";
            // 
            // label43
            // 
            this.label43.BackColor = System.Drawing.Color.Gray;
            this.label43.Font = new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
            this.label43.ForeColor = System.Drawing.SystemColors.ButtonHighlight;
            this.label43.Location = new System.Drawing.Point(228, 3);
            this.label43.Name = "label43";
            this.label43.Size = new System.Drawing.Size(133, 20);
            this.label43.TabIndex = 66;
            this.label43.Text = "Gross Amount";
            // 
            // label37
            // 
            this.label37.BackColor = System.Drawing.Color.Gray;
            this.label37.Font = new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
            this.label37.ForeColor = System.Drawing.SystemColors.ButtonHighlight;
            this.label37.Location = new System.Drawing.Point(3, 171);
            this.label37.Name = "label37";
            this.label37.Size = new System.Drawing.Size(63, 20);
            this.label37.TabIndex = 65;
            this.label37.Text = "Discount";
            // 
            // label36
            // 
            this.label36.BackColor = System.Drawing.Color.Gray;
            this.label36.Font = new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
            this.label36.ForeColor = System.Drawing.SystemColors.ButtonHighlight;
            this.label36.Location = new System.Drawing.Point(3, 150);
            this.label36.Name = "label36";
            this.label36.Size = new System.Drawing.Size(131, 20);
            this.label36.TabIndex = 64;
            this.label36.Text = "Customer Gold";
            // 
            // label35
            // 
            this.label35.BackColor = System.Drawing.Color.Gray;
            this.label35.Font = new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
            this.label35.ForeColor = System.Drawing.SystemColors.ButtonHighlight;
            this.label35.Location = new System.Drawing.Point(3, 129);
            this.label35.Name = "label35";
            this.label35.Size = new System.Drawing.Size(131, 20);
            this.label35.TabIndex = 63;
            this.label35.Text = "Return Gold";
            // 
            // label34
            // 
            this.label34.BackColor = System.Drawing.Color.Gray;
            this.label34.Font = new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
            this.label34.ForeColor = System.Drawing.SystemColors.ButtonHighlight;
            this.label34.Location = new System.Drawing.Point(3, 108);
            this.label34.Name = "label34";
            this.label34.Size = new System.Drawing.Size(131, 20);
            this.label34.TabIndex = 62;
            this.label34.Text = "Gross Weight";
            // 
            // label33
            // 
            this.label33.BackColor = System.Drawing.Color.Gray;
            this.label33.Font = new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
            this.label33.ForeColor = System.Drawing.SystemColors.ButtonHighlight;
            this.label33.Location = new System.Drawing.Point(3, 87);
            this.label33.Name = "label33";
            this.label33.Size = new System.Drawing.Size(131, 20);
            this.label33.TabIndex = 61;
            this.label33.Text = "Total Others(CT)";
            // 
            // label32
            // 
            this.label32.BackColor = System.Drawing.Color.Gray;
            this.label32.Font = new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
            this.label32.ForeColor = System.Drawing.SystemColors.ButtonHighlight;
            this.label32.Location = new System.Drawing.Point(3, 66);
            this.label32.Name = "label32";
            this.label32.Size = new System.Drawing.Size(131, 20);
            this.label32.TabIndex = 60;
            this.label32.Text = "Total Marquise(CT)";
            // 
            // label31
            // 
            this.label31.BackColor = System.Drawing.Color.Gray;
            this.label31.Font = new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
            this.label31.ForeColor = System.Drawing.SystemColors.ButtonHighlight;
            this.label31.Location = new System.Drawing.Point(3, 45);
            this.label31.Name = "label31";
            this.label31.Size = new System.Drawing.Size(131, 20);
            this.label31.TabIndex = 59;
            this.label31.Text = "Total Bracket(CT)";
            // 
            // label30
            // 
            this.label30.BackColor = System.Drawing.Color.Gray;
            this.label30.Font = new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
            this.label30.ForeColor = System.Drawing.SystemColors.ButtonHighlight;
            this.label30.Location = new System.Drawing.Point(3, 24);
            this.label30.Name = "label30";
            this.label30.Size = new System.Drawing.Size(131, 20);
            this.label30.TabIndex = 58;
            this.label30.Text = "Total Round(CT)";
            // 
            // label28
            // 
            this.label28.BackColor = System.Drawing.Color.Gray;
            this.label28.Font = new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
            this.label28.ForeColor = System.Drawing.SystemColors.ButtonHighlight;
            this.label28.Location = new System.Drawing.Point(3, 3);
            this.label28.Name = "label28";
            this.label28.Size = new System.Drawing.Size(131, 20);
            this.label28.TabIndex = 57;
            this.label28.Text = "Total Gold Weight";
            // 
            // dataGridView1
            // 
            this.dataGridView1.AllowUserToAddRows = false;
            this.dataGridView1.AllowUserToDeleteRows = false;
            this.dataGridView1.ColumnHeadersHeightSizeMode = System.Windows.Forms.DataGridViewColumnHeadersHeightSizeMode.AutoSize;
            this.dataGridView1.Columns.AddRange(new System.Windows.Forms.DataGridViewColumn[] {
            this.C_code,
            this.Pro_name,
            this.Unt,
            this.Qnt,
            this.Pro_wgt,
            this.Rnd_ct,
            this.Brk_ct,
            this.mar_ct,
            this.Oth_ct,
            this.Rt_g,
            this.chrg,
            this.rd_ct_rt,
            this.brk_rt,
            this.mr_rt,
            this.oth_rt,
            this.Amt});
            this.dataGridView1.Location = new System.Drawing.Point(238, 182);
            this.dataGridView1.Name = "dataGridView1";
            this.dataGridView1.ReadOnly = true;
            this.dataGridView1.RowHeadersVisible = false;
            this.dataGridView1.Size = new System.Drawing.Size(449, 199);
            this.dataGridView1.TabIndex = 91;
            this.dataGridView1.CellClick += new System.Windows.Forms.DataGridViewCellEventHandler(this.dataGridView1_CellClick);
            // 
            // C_code
            // 
            this.C_code.DividerWidth = 1;
            this.C_code.HeaderText = "Code";
            this.C_code.Name = "C_code";
            this.C_code.ReadOnly = true;
            this.C_code.Width = 80;
            // 
            // Pro_name
            // 
            dataGridViewCellStyle1.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleLeft;
            this.Pro_name.DefaultCellStyle = dataGridViewCellStyle1;
            this.Pro_name.DividerWidth = 1;
            this.Pro_name.HeaderText = "Product Name";
            this.Pro_name.Name = "Pro_name";
            this.Pro_name.ReadOnly = true;
            this.Pro_name.Width = 180;
            // 
            // Unt
            // 
            dataGridViewCellStyle2.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleCenter;
            this.Unt.DefaultCellStyle = dataGridViewCellStyle2;
            this.Unt.DividerWidth = 1;
            this.Unt.HeaderText = "Unit";
            this.Unt.Name = "Unt";
            this.Unt.ReadOnly = true;
            this.Unt.Width = 50;
            // 
            // Qnt
            // 
            dataGridViewCellStyle3.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleRight;
            this.Qnt.DefaultCellStyle = dataGridViewCellStyle3;
            this.Qnt.DividerWidth = 1;
            this.Qnt.HeaderText = "Qnty";
            this.Qnt.Name = "Qnt";
            this.Qnt.ReadOnly = true;
            this.Qnt.Width = 50;
            // 
            // Pro_wgt
            // 
            dataGridViewCellStyle4.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleRight;
            this.Pro_wgt.DefaultCellStyle = dataGridViewCellStyle4;
            this.Pro_wgt.DividerWidth = 1;
            this.Pro_wgt.HeaderText = "Product Wght";
            this.Pro_wgt.Name = "Pro_wgt";
            this.Pro_wgt.ReadOnly = true;
            // 
            // Rnd_ct
            // 
            dataGridViewCellStyle5.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleRight;
            this.Rnd_ct.DefaultCellStyle = dataGridViewCellStyle5;
            this.Rnd_ct.DividerWidth = 1;
            this.Rnd_ct.HeaderText = "Round(ct)";
            this.Rnd_ct.Name = "Rnd_ct";
            this.Rnd_ct.ReadOnly = true;
            // 
            // Brk_ct
            // 
            dataGridViewCellStyle6.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleRight;
            this.Brk_ct.DefaultCellStyle = dataGridViewCellStyle6;
            this.Brk_ct.DividerWidth = 1;
            this.Brk_ct.HeaderText = "Brkt(ct)";
            this.Brk_ct.Name = "Brk_ct";
            this.Brk_ct.ReadOnly = true;
            // 
            // mar_ct
            // 
            dataGridViewCellStyle7.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleRight;
            this.mar_ct.DefaultCellStyle = dataGridViewCellStyle7;
            this.mar_ct.DividerWidth = 1;
            this.mar_ct.HeaderText = "Marq(ct)";
            this.mar_ct.Name = "mar_ct";
            this.mar_ct.ReadOnly = true;
            // 
            // Oth_ct
            // 
            dataGridViewCellStyle8.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleRight;
            this.Oth_ct.DefaultCellStyle = dataGridViewCellStyle8;
            this.Oth_ct.DividerWidth = 1;
            this.Oth_ct.HeaderText = "Other(ct)";
            this.Oth_ct.Name = "Oth_ct";
            this.Oth_ct.ReadOnly = true;
            // 
            // Rt_g
            // 
            dataGridViewCellStyle9.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleRight;
            this.Rt_g.DefaultCellStyle = dataGridViewCellStyle9;
            this.Rt_g.DividerWidth = 1;
            this.Rt_g.HeaderText = "Rate(g)";
            this.Rt_g.Name = "Rt_g";
            this.Rt_g.ReadOnly = true;
            // 
            // chrg
            // 
            dataGridViewCellStyle10.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleRight;
            this.chrg.DefaultCellStyle = dataGridViewCellStyle10;
            this.chrg.DividerWidth = 1;
            this.chrg.HeaderText = "Charges";
            this.chrg.Name = "chrg";
            this.chrg.ReadOnly = true;
            // 
            // rd_ct_rt
            // 
            dataGridViewCellStyle11.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleRight;
            this.rd_ct_rt.DefaultCellStyle = dataGridViewCellStyle11;
            this.rd_ct_rt.DividerWidth = 1;
            this.rd_ct_rt.HeaderText = "RD(ct) Rate";
            this.rd_ct_rt.Name = "rd_ct_rt";
            this.rd_ct_rt.ReadOnly = true;
            // 
            // brk_rt
            // 
            dataGridViewCellStyle12.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleRight;
            this.brk_rt.DefaultCellStyle = dataGridViewCellStyle12;
            this.brk_rt.DividerWidth = 1;
            this.brk_rt.HeaderText = "Brkt Rate";
            this.brk_rt.Name = "brk_rt";
            this.brk_rt.ReadOnly = true;
            // 
            // mr_rt
            // 
            dataGridViewCellStyle13.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleRight;
            this.mr_rt.DefaultCellStyle = dataGridViewCellStyle13;
            this.mr_rt.DividerWidth = 1;
            this.mr_rt.HeaderText = "Mar Rate";
            this.mr_rt.Name = "mr_rt";
            this.mr_rt.ReadOnly = true;
            // 
            // oth_rt
            // 
            dataGridViewCellStyle14.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleRight;
            this.oth_rt.DefaultCellStyle = dataGridViewCellStyle14;
            this.oth_rt.DividerWidth = 1;
            this.oth_rt.HeaderText = "Oth Rate";
            this.oth_rt.Name = "oth_rt";
            this.oth_rt.ReadOnly = true;
            // 
            // Amt
            // 
            dataGridViewCellStyle15.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleRight;
            this.Amt.DefaultCellStyle = dataGridViewCellStyle15;
            this.Amt.DividerWidth = 1;
            this.Amt.HeaderText = "Amount";
            this.Amt.Name = "Amt";
            this.Amt.ReadOnly = true;
            // 
            // frmcms
            // 
            this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F);
            this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
            this.BackColor = System.Drawing.Color.White;
            this.ClientSize = new System.Drawing.Size(691, 589);
            this.Controls.Add(this.dataGridView1);
            this.Controls.Add(this.panel3);
            this.Controls.Add(this.toolStrip1);
            this.Controls.Add(this.panel13);
            this.Controls.Add(this.label1);
            this.Controls.Add(this.panel1);
            this.FormBorderStyle = System.Windows.Forms.FormBorderStyle.FixedDialog;
            this.KeyPreview = true;
            this.MaximizeBox = false;
            this.MinimizeBox = false;
            this.Name = "frmcms";
            this.StartPosition = System.Windows.Forms.FormStartPosition.CenterScreen;
            this.Text = "Cash Memo Sales";
            this.Load += new System.EventHandler(this.Delivery_Order_Load);
            this.FormClosing += new System.Windows.Forms.FormClosingEventHandler(this.frmcms_FormClosing);
            this.KeyDown += new System.Windows.Forms.KeyEventHandler(this.frmcms_KeyDown);
            this.panel1.ResumeLayout(false);
            this.panel1.PerformLayout();
            this.panel13.ResumeLayout(false);
            this.panel13.PerformLayout();
            this.groupBox1.ResumeLayout(false);
            this.toolStrip1.ResumeLayout(false);
            this.toolStrip1.PerformLayout();
            this.panel3.ResumeLayout(false);
            this.panel3.PerformLayout();
            ((System.ComponentModel.ISupportInitialize)(this.dataGridView1)).EndInit();
            this.ResumeLayout(false);
            this.PerformLayout();

        }

        #endregion

        private System.Windows.Forms.Panel panel1;
        private System.Windows.Forms.Label label1;
        private System.Windows.Forms.TextBox txt2;
        private System.Windows.Forms.TextBox txt1;
        private System.Windows.Forms.TextBox txt7;
        private System.Windows.Forms.TextBox txt6;
        private System.Windows.Forms.TextBox txt12;
        private System.Windows.Forms.TextBox txt8;
        private System.Windows.Forms.TextBox txt4;
        private System.Windows.Forms.Label label12;
        private System.Windows.Forms.RichTextBox txt5;
        private System.Windows.Forms.TextBox txt11;
        private System.Windows.Forms.Panel panel13;
        private System.Windows.Forms.TextBox txt14;
        private System.Windows.Forms.TextBox txt13;
        private System.Windows.Forms.TextBox txt28;
        private System.Windows.Forms.TextBox txt26;
        private System.Windows.Forms.TextBox txt25;
        private System.Windows.Forms.TextBox txt24;
        private System.Windows.Forms.TextBox txt23;
        private System.Windows.Forms.TextBox txt22;
        private System.Windows.Forms.TextBox txt21;
        private System.Windows.Forms.TextBox txt20;
        private System.Windows.Forms.TextBox txt19;
        private System.Windows.Forms.TextBox txt18;
        private System.Windows.Forms.TextBox txt17;
        private System.Windows.Forms.TextBox txt16;
        private System.Windows.Forms.ToolStrip toolStrip1;
        private System.Windows.Forms.ToolStripButton btn_new;
        private System.Windows.Forms.ToolStripSeparator toolStripSeparator1;
        private System.Windows.Forms.ToolStripButton btn_save;
        private System.Windows.Forms.ToolStripSeparator toolStripButton3;
        private System.Windows.Forms.ToolStripButton btn_del;
        private System.Windows.Forms.ToolStripButton btn_edit;
        private System.Windows.Forms.ToolStripSeparator toolStripSeparator3;
        private System.Windows.Forms.ToolStripSeparator toolStripSeparator4;
        private System.Windows.Forms.ToolStripButton btn_close;
        private System.Windows.Forms.Label label5;
        private System.Windows.Forms.Label label3;
        private System.Windows.Forms.Label label7;
        private System.Windows.Forms.Label label8;
        private System.Windows.Forms.Label label10;
        private System.Windows.Forms.Label label11;
        private System.Windows.Forms.Label label29;
        private System.Windows.Forms.Label label9;
        private System.Windows.Forms.Label label16;
        private System.Windows.Forms.Label label17;
        private System.Windows.Forms.Label label18;
        private System.Windows.Forms.Label label19;
        private System.Windows.Forms.Label label15;
        private System.Windows.Forms.Label label14;
        private System.Windows.Forms.Label label13;
        private System.Windows.Forms.Label label27;
        private System.Windows.Forms.Label label26;
        private System.Windows.Forms.Label label25;
        private System.Windows.Forms.Label label24;
        private System.Windows.Forms.Label label23;
        private System.Windows.Forms.Label label22;
        private System.Windows.Forms.Label label21;
        private System.Windows.Forms.Label label20;
        private System.Windows.Forms.Panel panel3;
        private System.Windows.Forms.Label label28;
        private System.Windows.Forms.Label label31;
        private System.Windows.Forms.Label label30;
        private System.Windows.Forms.Label label34;
        private System.Windows.Forms.Label label33;
        private System.Windows.Forms.Label label32;
        private System.Windows.Forms.Label label37;
        private System.Windows.Forms.Label label36;
        private System.Windows.Forms.Label label35;
        private System.Windows.Forms.Button cal_1_btn;
        private System.Windows.Forms.TextBox txt44;
        private System.Windows.Forms.TextBox txt43;
        private System.Windows.Forms.TextBox txt42;
        private System.Windows.Forms.TextBox txt40;
        private System.Windows.Forms.TextBox txt38;
        private System.Windows.Forms.TextBox txt37;
        private System.Windows.Forms.TextBox txt36;
        private System.Windows.Forms.TextBox txt35;
        private System.Windows.Forms.TextBox txt34;
        private System.Windows.Forms.TextBox txt33;
        private System.Windows.Forms.TextBox txt32;
        private System.Windows.Forms.TextBox txt31;
        private System.Windows.Forms.TextBox txt30;
        private System.Windows.Forms.TextBox txt29;
        private System.Windows.Forms.Label label38;
        private System.Windows.Forms.Label label39;
        private System.Windows.Forms.Label label40;
        private System.Windows.Forms.Label label41;
        private System.Windows.Forms.Label label43;
        private System.Windows.Forms.TextBox txt39;
        private System.Windows.Forms.GroupBox groupBox1;
        private System.Windows.Forms.Button dlbt3;
        private System.Windows.Forms.Button upbt2;
        private System.Windows.Forms.Button adbt1;
        private System.Windows.Forms.DateTimePicker txt3;
        private System.Windows.Forms.Label label6;
        private System.Windows.Forms.TextBox txt10;
        private System.Windows.Forms.TextBox txt9;
        private System.Windows.Forms.TextBox txt41;
        private System.Windows.Forms.Label label42;
        private System.Windows.Forms.Button bt2;
        private System.Windows.Forms.Button bt1;
        private System.Windows.Forms.Button bt4;
        private System.Windows.Forms.Button bt3;
        private System.Windows.Forms.DataGridView dataGridView1;
        private System.Windows.Forms.ComboBox cBox2;
        private System.Windows.Forms.ComboBox cBox1;
        private System.Windows.Forms.Label label2;
        private System.Windows.Forms.Label label4;
        private System.Windows.Forms.TextBox txt27;
        private System.Windows.Forms.ComboBox txt15;
        private System.Windows.Forms.DataGridViewTextBoxColumn C_code;
        private System.Windows.Forms.DataGridViewTextBoxColumn Pro_name;
        private System.Windows.Forms.DataGridViewTextBoxColumn Unt;
        private System.Windows.Forms.DataGridViewTextBoxColumn Qnt;
        private System.Windows.Forms.DataGridViewTextBoxColumn Pro_wgt;
        private System.Windows.Forms.DataGridViewTextBoxColumn Rnd_ct;
        private System.Windows.Forms.DataGridViewTextBoxColumn Brk_ct;
        private System.Windows.Forms.DataGridViewTextBoxColumn mar_ct;
        private System.Windows.Forms.DataGridViewTextBoxColumn Oth_ct;
        private System.Windows.Forms.DataGridViewTextBoxColumn Rt_g;
        private System.Windows.Forms.DataGridViewTextBoxColumn chrg;
        private System.Windows.Forms.DataGridViewTextBoxColumn rd_ct_rt;
        private System.Windows.Forms.DataGridViewTextBoxColumn brk_rt;
        private System.Windows.Forms.DataGridViewTextBoxColumn mr_rt;
        private System.Windows.Forms.DataGridViewTextBoxColumn oth_rt;
        private System.Windows.Forms.DataGridViewTextBoxColumn Amt;
        private System.Windows.Forms.Button cal_2_btn;
    }
}

Code is fine and its working well if i replace the controls with the new one.

check the property for that particular event for example click event of button2

Attachments img.png 87.42 KB

...........may be it call a function which is not written or change due to some mistake.

All the buttons present in the designer are not working. And The click event seems to be perfect.

This article has been dead for over six months. Start a new discussion instead.