Exemple #1
0
 private void تعديلToolStripMenuItem_Click(object sender, EventArgs e)
 {
     if (MessageBox.Show("هل انت متاكد من تعديل معلومات المقبوضات من العميل؟", "عملية التعديل", MessageBoxButtons.YesNo, MessageBoxIcon.Exclamation) == DialogResult.Yes)
     {
         FRM_ADD_payedmoney_Customer frm = new FRM_ADD_payedmoney_Customer();
         frm.TB_ID.Text                 = this.dataGridView1.CurrentRow.Cells[0].Value.ToString();
         frm.tbCustomername.Text        = this.dataGridView1.CurrentRow.Cells[1].Value.ToString();
         frm.tbCustomerpayed_money.Text = this.dataGridView1.CurrentRow.Cells[2].Value.ToString();
         frm.dateTimePicker1.Text       = this.dataGridView1.CurrentRow.Cells[3].Value.ToString();
         frm.Text = "تعديل معلومات المقبوضات من العميل " + this.dataGridView1.CurrentRow.Cells[1].Value.ToString();
         frm.btn_ADD_payedmoneyCustomer.Text = "تعديل";
         frm.kind  = "customer";
         frm.state = "update";
         frm.ShowDialog();
         load_all_PAYEDmoney_Customer();
     }
     else
     {
         MessageBox.Show("تم الغاء عملية التعديل", "عملية التعديل", MessageBoxButtons.OK, MessageBoxIcon.Exclamation);
     }
 }
Exemple #2
0
 private void مدفوعاتالعملاءToolStripMenuItem1_Click(object sender, EventArgs e)
 {
     PL.FRM_ADD_payedmoney_Customer frm = new FRM_ADD_payedmoney_Customer();
     frm.ShowDialog();
 }