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