Exemplo n.º 1
0
        private void btnAdd_Click(object sender, EventArgs e)
        {
            FormEdit formEdit = new FormEdit(new Order(), false, orderService);

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

            form2.ShowDialog();
        }