private void Btn_New_Click(object sender, EventArgs e)
        {
            if (MessageBox.Show("هل انت متاكد من اضافة صنف جديد", "تأكيد", MessageBoxButtons.YesNo, MessageBoxIcon.Question) == DialogResult.Yes)
            {
                AddNew = true;

                TxtClr.TxtClear(this, panelControl3);
            }
        }
 private void Btn_New_Click(object sender, EventArgs e)
 {
     if (MessageBox.Show("هل انت متأكد من اضافة عملية الشراء ؟", "تأكيد", MessageBoxButtons.YesNo, MessageBoxIcon.Question) == DialogResult.Yes)
     {
         Cl_Validate Clr = new Cl_Validate();
         Clr.TxtClear(this, panelControl1);
         Clr.TxtClear(this, panelControl2);
         AddNew = true;
     }
 }
Exemple #3
0
 private void Btn_New_Click(object sender, EventArgs e)
 {
     if (MessageBox.Show("هل انت متأكد من اضافة عملية التحويل ؟", "تأكيد", MessageBoxButtons.YesNo, MessageBoxIcon.Question) == DialogResult.Yes)
     {
         Cl_Validate Clr = new Cl_Validate();
         Clr.TxtClear(this, panelControl1);
         Cmb_CategoryID.Text = "";
         Cmb_Item_Name.Text  = "";
         Cmb_StoreFrom.Text  = "";
         Cmb_StoreTo.Text    = "";
         AddNew = true;
     }
 }