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