コード例 #1
0
        private void button2_Click(object sender, EventArgs e)
        {
            AddFridgeForm addFr = new AddFridgeForm(this, (int)FridgeGridView.CurrentRow.Cells[0].Value);

            addFr.ShowDialog();
        }
コード例 #2
0
        private void AddFridgeButton_Click(object sender, EventArgs e)
        {
            AddFridgeForm addFr = new AddFridgeForm(this);

            addFr.ShowDialog();
        }