private void button2_Click(object sender, EventArgs e) { AddFridgeForm addFr = new AddFridgeForm(this, (int)FridgeGridView.CurrentRow.Cells[0].Value); addFr.ShowDialog(); }
private void AddFridgeButton_Click(object sender, EventArgs e) { AddFridgeForm addFr = new AddFridgeForm(this); addFr.ShowDialog(); }