private void BtnEditarClick(object sender, EventArgs e) { if (grid.CurrentRow == null) return; int idnota = Converte.SeeInt(grid.CurrentRow.Cells["ID_Nota"].Value.ToString()); FrmLancarNotas f = new FrmLancarNotas { Idnota = idnota }; f.ShowDialog(); Close(); }
private void LançarNotasToolStripMenuItemClick(object sender, EventArgs e) { FrmLancarNotas f = new FrmLancarNotas(); f.ShowDialog(); }