Example #1
0
        private void ChangeOrder_Click(object sender, EventArgs e)
        {
            DetailForm form2 = new DetailForm(currentOrder);

            form2.forForm = this;
            form2.ShowDialog();
        }
Example #2
0
        private void AddOrder_Click(object sender, EventArgs e)
        {
            DetailForm form2 = new DetailForm(currentOrder);

            form2.forForm = this;
            form2.ShowDialog();
            orderBindingSource.ResetBindings(false);
        }