private void Btn_New_Click(object sender, EventArgs e) { if (MessageBox.Show("هل انت متأكد من اضافة هذه العملية ؟", "تأكيد", MessageBoxButtons.YesNo, MessageBoxIcon.Question) == DialogResult.Yes) { Cl_Validate Txtclr = new Cl_Validate(); Txtclr.TxtClear(this, panelControl1); AddNew = true; } }
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; } }