Пример #1
0
 private void button6_Click(object sender, EventArgs e)
 {
     txt_value.Enabled           = true;
     txt_value.Text              = txt_Check_remaining.Text = textBox10.Text = textBox11.Text = "";
     txt_Check_remaining.Enabled = true;
     Combo__tax_Discount.Enabled = true;
     Combo__tax_Discount.ResetText();
 }
Пример #2
0
 private void Add_Checks_Click(object sender, EventArgs e)
 {
     dataGridView3.Visible = false;
     total = 0;
     i     = 0;
     dt3.Clear();
     dt.Clear();
     dt2.Clear();
     //dtstatic.Clear();
     //dataGridView1.DataSource = dt2;
     //dataGridView1.Rows.Clear();
     txt_Check_remaining.Text = "";
     txt_receipt_Date.Enabled = false;
     LBL_Packu_Price.Text     = "";
     //txt_receipt_Num.Enabled = false;
     Lbl_TBl_Number.Enabled       = false;
     checkBox1.Enabled            = false;
     Combo_Casheir_Place.Enabled  = false;
     Combo_Payment_method.Enabled = false;
     //Combo_Casheir_Place.Enabled = false;
     dateTimePicker1.Enabled   = false;
     Btn_Show_tables.Enabled   = true;
     Btn_Stock.Text            = "ترصيد";
     Btn_Move_Accounting.Text  = "ترحيل للحسابات";
     Btn_Addition_Confirm.Text = "تأكيد";
     Combo__tax_Discount.ResetText();
     Combo_Casheir_Place.ResetText();
     Lbl_Hall_Name.Text = "";
     Combo_Payment_method.ResetText();
     //txt_receipt_Num.Text = "";
     //txt_receipt_Date.Text = "";
     Lbl_TBl_Number.Text   = "";
     txt_Add_Item.Text     = "";
     txt_Add_Quantity.Text = "";
     // label10.Text = "";
     //Txt_Price.Text = "";
     Lbl_Total_Cost_Result.Text = "";
     //  label2.Text = "";
     txt_value.Text = "";
     Combo__tax_Discount.ResetText();
     txt_receipt_Date.Text = System.DateTime.Now.ToShortDateString();
     MessageBox.Show("Choose Table Number immediately\n إختر رقم الترابيزة أولا");
 }
Пример #3
0
        private void Query_Checks_Click(object sender, EventArgs e)
        {
            Lbl_Hall_Name.Text = "";
            //MessageBox.Show("إختر التاريخ المناسب");
            Btn_Stock.Text            = "ترصيد";
            Btn_Move_Accounting.Text  = "ترحيل للحسابات";
            Btn_Addition_Confirm.Text = "تأكيد";
            Combo__tax_Discount.ResetText();
            Combo_Casheir_Place.ResetText();
            txt_receipt_Date.Enabled     = true;
            dateTimePicker1.Visible      = true;
            checkBox1.Visible            = true;
            LBL_Packu_Price.Text         = "";
            txt_receipt_Num.Enabled      = true;
            Lbl_TBl_Number.Enabled       = true;
            checkBox1.Enabled            = true;
            Combo_Casheir_Place.Enabled  = true;
            Combo_Payment_method.Enabled = true;
            //Combo_Casheir_Place.Enabled = false;
            dateTimePicker1.Enabled = true;
            Btn_Show_tables.Enabled = true;
            Combo_Payment_method.ResetText();
            txt_receipt_Num.Text  = "";
            txt_receipt_Date.Text = "";
            Lbl_TBl_Number.Text   = "";
            txt_Add_Item.Text     = "";
            txt_Add_Quantity.Text = "";
            //label10.Text = "";

            dt.Clear();
            dt2.Clear();
            dt3.Clear();
            Lbl_Total_Cost_Result.Text = "";
            // label2.Text = "";
            txt_value.Text = "";
            Combo__tax_Discount.ResetText();
            LBL_Packu_Price.Text = "";
        }