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..

Recommended Answers

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

Jump to Post

Post the designer code for the controls you're talking about.

Jump to Post

Whoa. I meant post the designer code for the controls that aren't working.

Jump to Post

All 10 Replies

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?

And new buttons and other controls are working well..

Post the designer code for the controls you're talking about.

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(3

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

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

Whoa. I meant post the designer code for the controls that aren't working.

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

Hmmm maybe post your project if its not too big.

Be a part of the DaniWeb community

We're a friendly, industry-focused community of 1.21 million developers, IT pros, digital marketers, and technology enthusiasts learning and sharing knowledge.