Example #1
0
        private void btnNewUnit_Click(object sender, EventArgs e)
        {
            monewuni NewUnit = new monewuni("New");

            NewUnit.ShowDialog();

            Populatedgv();
        }
Example #2
0
 private void btnUpdate_Click(object sender, EventArgs e)
 {
     if (dgvUnitView.SelectedRows.Count > 0)
     {
         Screens.monewuni Update = new monewuni("Update", getRowID());
         Update.ShowDialog();
     }
     Populatedgv();
 }