Example #1
0
        private void ultraButtonEditBed_Click(object sender, EventArgs e)
        {
            frmBedRegister objfrmBedRegister = new frmBedRegister();

            objfrmBedRegister.id         = id.ToString();
            objfrmBedRegister.frmStrMode = "Edit";

            objfrmBedRegister.ShowDialog();
        }
 private void ultraButtonEdit_Click(object sender, EventArgs e)
 {
     try
     {
         objfrmBedRegister            = new frmBedRegister();
         objfrmBedRegister.id         = id.ToString();
         objfrmBedRegister.frmStrMode = "Edit";
         objfrmBedRegister.ShowDialog();
     }catch (Exception ex)
     {
         MessageBox.Show(ex.Message);
     }
 }