예제 #1
0
        //Add Subdivision button
        private void button1_Click(object sender, EventArgs e)
        {
            SubDivForm addNewSubDiv = new SubDivForm();

            addNewSubDiv.ShowDialog();
            PreviosDataLoad();
        }
예제 #2
0
 private void SubDivEditBtn_Click(object sender, EventArgs e)
 {
     if (SelectedSubDiv == null)
     {
         MessageBox.Show("Нужно выбрать подразделение");
     }
     else
     {
         SubDivForm addNewSubDiv = new SubDivForm(SelectedSubDiv);
         addNewSubDiv.ShowDialog();
         PreviosDataLoad();
     }
 }