Пример #1
0
 public UpdateAnimalForm(AnimalsForm form, int numberOfColumns, DataGridViewRow selectedRow, List <string> listOfNames, List <string> listOfFood)
 {
     InitializeComponent();
     this.numberOfColumns = numberOfColumns;
     this.selectedRow     = selectedRow;
     this.listOfCellNames = listOfNames;
     this.listOfFood      = listOfFood;
     this.animalsForm     = form;
 }
Пример #2
0
 public FoodForm(AnimalsForm form)
 {
     InitializeComponent();
     this.animalsForm = form;
 }
Пример #3
0
 private void btnShowAnimals_Click(object sender, EventArgs e)
 {
     animalsForm           = new AnimalsForm();
     animalsForm.MdiParent = this.MdiParent;
     animalsForm.Show();
 }