Пример #1
0
 private void btnEdit_Click(object sender, EventArgs e)
 {
     if (dgDetails.Rows.Count > 0)
     {
         Forms.frmBookEntry oForm = new frmBookEntry(this, oMTransaction);
         oForm.ShowDialog();
     }
 }
Пример #2
0
 private void dgDetails_CellDoubleClick(object sender, DataGridViewCellEventArgs e)
 {
     if (dgDetails.Rows.Count > 0)
     {
         Forms.frmBookEntry oForm = new frmBookEntry(this, oMTransaction);
         oForm.ShowDialog();
     }
 }
Пример #3
0
 private void btnAdd_Click(object sender, EventArgs e)
 {
     Forms.frmBookEntry oFrm = new frmBookEntry(this);
     oFrm.ShowDialog();
 }