コード例 #1
0
        private void EditButton_Click(object sender, EventArgs e)
        {
            AddItemDialog dialog = new AddItemDialog(this, SelectedItem());

            dialog.Show();
        }
コード例 #2
0
        private void button1_Click(object sender, EventArgs e)
        {
            AddItemDialog dialog = new AddItemDialog(this);

            dialog.Show();
        }