예제 #1
0
        private void listBoxUsers_MouseDoubleClick(object sender, MouseEventArgs e)
        {
            AddingForm form = new AddingForm();
            User       user = users[listBoxUsers.SelectedIndex];

            form.EditingMethod(user);
            form.ShowDialog();
        }
예제 #2
0
        private void buttonAdd_Click(object sender, EventArgs e)
        {
            AddingForm form = new AddingForm();

            form.ShowDialog();
        }