public AddFridgeForm(FridgeForm owner, int index = -1) { _owner = owner; InitializeComponent(); fridgeID = index; }
private void button3_Click(object sender, EventArgs e) { FridgeForm fridgeForm = new FridgeForm(); fridgeForm.ShowDialog(); }