Example #1
0
 private void btnUpdate_Click(object sender, EventArgs e)
 {
     if (dgvCateView.SelectedRows.Count > 0)
     {
         Screens.monewcat Update = new monewcat("Update", getRowID());
         Update.ShowDialog();
     }
     Populatedgv();
 }
Example #2
0
 private void btnNewCate_Click(object sender, EventArgs e)
 {
     Screens.monewcat newCate = new monewcat("New", 0);
     newCate.ShowDialog();
     Populatedgv();
 }