Beispiel #1
0
 private void btnAggiungiComponente_Click(object sender, EventArgs e)
 {
     if (grdOggetti.SelectedRows.Count == 1)
     {
         long progressivoOggetto    = (long)grdOggetti.SelectedRows[0].Cells["Progressivo"].Value;
         AggiungiComponente newForm = new AggiungiComponente(progressivoOggetto);
         newForm.ShowDialog();
         LoadComponentsGrid();
     }
 }
Beispiel #2
0
 private void btnAggiungiComponente_Click(object sender, EventArgs e)
 {
     if (grdOggetti.SelectedRows.Count == 1)
     {
         long progressivoOggetto = (long)grdOggetti.SelectedRows[0].Cells["Progressivo"].Value;
         AggiungiComponente newForm = new AggiungiComponente(progressivoOggetto);
         newForm.ShowDialog();
         LoadComponentsGrid();
     }
 }