Пример #1
0
 private void cmdEdit_Click(object sender, EventArgs e)
 {
     if (dgvKaryawan.SelectedCells.Count != 0)
     {
         Master.Karyawan.frmKaryawanUpdate ifrm = new Master.Karyawan.frmKaryawanUpdate(this, _karyawanRowID);
         Program.MainForm.RegisterChild(ifrm);
         ifrm.ShowDialog();
     }
 }
Пример #2
0
 private void cmdAdd_Click(object sender, EventArgs e)
 {
     Master.Karyawan.frmKaryawanUpdate ifrm = new Master.Karyawan.frmKaryawanUpdate(this);
     Program.MainForm.RegisterChild(ifrm);
     ifrm.ShowDialog();
 }