private void btnNuovoDisco_Click(object sender, EventArgs e) { CreaDatapad newForm = new CreaDatapad(); newForm.ShowDialog(); LoadData(); }
private void btnEdit_Click(object sender, EventArgs e) { if (grdDischi.SelectedRows.Count == 1) { long progressivo = (long)grdDischi.SelectedRows[0].Cells["Progressivo"].Value; CreaDatapad newForm = new CreaDatapad(progressivo); newForm.ShowDialog(); LoadData(); } }