Esempio n. 1
0
 private void mnuInsert_Click(object sender, EventArgs e)
 {
     try
     {
         frmTransfer_BedBes f = new frmTransfer_BedBes();
         f.op = "Add";
         f.Form_Load();
         f.ShowDialog();
     }
     catch
     {
     }
 }
Esempio n. 2
0
 private void mnuEdit_Click(object sender, EventArgs e)
 {
     try
     {
         frmTransfer_BedBes f = new frmTransfer_BedBes();
         f.op = "Edit";
         f.Fill_Data(Guid.Parse(dgvProduct.CurrentRow.Cells["Guid1"].Value.ToString()));
         f.ShowDialog();
     }
     catch
     {
         frmMessage f = new frmMessage();
         f.flag            = 0;
         f.lblMessage.Text = " انتقال انتخابی معتبر نمی باشد";
         f.ShowDialog();
     }
 }
Esempio n. 3
0
 private void mnuView_Click(object sender, EventArgs e)
 {
     try
     {
         frmTransfer_BedBes f = new frmTransfer_BedBes();
         f.Fill_Data(Guid.Parse(dgvProduct.CurrentRow.Cells["Guid1"].Value.ToString()));
         f.grpAccount.Enabled = false;
         f.btnFinish.Enabled  = false;
         f.ShowDialog();
     }
     catch
     {
         frmMessage f = new frmMessage();
         f.flag            = 0;
         f.lblMessage.Text = " انتقال انتخابی معتبر نمی باشد";
         f.ShowDialog();
     }
 }