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

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

            dialog.Show();
        }