Esempio n. 1
0
        private void btn_addOrder_Click(object sender, EventArgs e)
        {
            this.WindowState = FormWindowState.Minimized;
            DisplayAddOrder newForm = new DisplayAddOrder();

            newForm.ShowDialog();
            this.WindowState = FormWindowState.Normal;
        }
Esempio n. 2
0
        private void btn_ModOrder_Click(object sender, EventArgs e)
        {
            SetCode          = txt_Code.Text;
            this.WindowState = FormWindowState.Minimized;
            DisplayAddOrder newForm = new DisplayAddOrder();

            newForm.ShowDialog();
            txt_Code.Text = null;
            dataGridView_mod.DataSource = null;
            dataGridView_mod.Rows.Clear();
            dataGridView_mod.DataSource = DaoOrder.OrderFiller();
            this.WindowState            = FormWindowState.Normal;
        }