示例#1
0
        private void btnAdd_Click(object sender, EventArgs e)
        {
            FormEdit formEdit = new FormEdit(new Order(), false, orderService);

            ShowEditForm(formEdit);
        }
示例#2
0
        private void btnModify_Click(object sender, EventArgs e)
        {
            FormEdit form2 = new FormEdit((Order)orderBindingSource.Current);

            form2.ShowDialog();
        }