示例#1
0
        private void AddButton_Click(object sender, EventArgs e)
        {
            AddForm f = new AddForm(depId);

            f.ShowDialog();
        }
示例#2
0
        private void button1_Click(object sender, EventArgs e)
        {
            AddForm form = new AddForm();

            form.Show();
        }