Пример #1
0
 private void munitDataGridView_CellDoubleClick(object sender, DataGridViewCellEventArgs e)
 {
     try
     {
         NewMunitAddForm newMunitAddForm = new NewMunitAddForm(munitList[e.RowIndex], this);
         newMunitAddForm.Show();
     }
     catch (Exception exc)
     {
         MessageBox.Show(exc.Message);
     }
 }
Пример #2
0
 private void addNewMunitButton_Click(object sender, EventArgs e)
 {
     try
     {
         ProductManagement.NewMunitAddForm newMunitAddForm = new ProductManagement.NewMunitAddForm();
         newMunitAddForm.Show();
     }
     catch (Exception ex)
     {
         MessageBox.Show(ex.Message);
     }
 }
Пример #3
0
        private void addMunitButton_Click(object sender, EventArgs e)
        {
            NewMunitAddForm newMunitAddForm = new NewMunitAddForm(this);

            newMunitAddForm.Show();
        }