Beispiel #1
0
 private void updateToolStripMenuItem_Click(object sender, EventArgs e)
 {
     try
     {
         int sageId = Convert.ToInt32(dataGridViewSage.SelectedRows[0].Cells["Id"].Value);
         SageForms.InsertAndUpdate update = new SageForms.InsertAndUpdate(sageId);
         update.ShowDialog();
         InitializeDataGridViewSage();
     }
     catch { MessageBox.Show("Selected row == null"); }
 }
Beispiel #2
0
 private void insertToolStripMenuItem_Click(object sender, EventArgs e)
 {
     SageForms.InsertAndUpdate insert = new SageForms.InsertAndUpdate();
     insert.ShowDialog();
     InitializeDataGridViewSage();
 }