private void btnNew_Click(object sender, EventArgs e) { ModuloPensum frm = new ModuloPensum(); frm.Show(); this.Hide(); }
private void dgvPensum_CellClick_1(object sender, DataGridViewCellEventArgs e) { try { int index = e.RowIndex; if (index >= 0) { ModuloPensum frm = new ModuloPensum(plans[index]); frm.Show(); this.Hide(); } } catch (Exception ex) { FormUtils.defaultErrorMessage(ex); } }