예제 #1
0
        private void addButton_Click(object sender, EventArgs e)
        {
            Form f1 = new AddModifyForm(people, null);

            this.Hide();
            f1.Show();
        }
예제 #2
0
        private void editButton_Click(object sender, EventArgs e)
        {
            this.Hide();
            AddModifyForm edit = new AddModifyForm(people, person);

            edit.ShowDialog();
            this.Close();
        }