Esempio n. 1
0
 private void btnAdd_Click(object sender, EventArgs e)
 {
     frmGroupItem f = new frmGroupItem();
     if (f.ShowDialog() == DialogResult.OK)
     {
         Fill();
     }
 }
Esempio n. 2
0
 private void btnEdit_Click(object sender, EventArgs e)
 {
     if (IsSelectedRow())
     {
         int groupID = GetSelectedGroup().GroupID;
         frmGroupItem f = new frmGroupItem(groupID );
         //f.TblGroup = GetSelectedGroup();
         if (f.ShowDialog() == DialogResult.OK)
         {
             Fill();
         }
     }
 }