Exemple #1
0
        private void btnNewOrderOut_Click(object sender, EventArgs e)
        {
            var form = new OrderOutWizardForm();

            form.CustomerPID = CustomerPID;
            if (DialogResult.Yes == form.ShowDialog())
            {
                tcMain.SelectedTab = tabOrder;
            }
        }
Exemple #2
0
        private void btnSell_Click(object sender, EventArgs e)
        {
            var form   = new OrderOutWizardForm();
            var result = form.ShowDialog();

            this.initSearch();

            this.orderInStaticTableAdapter.Fill(this.farmManageDataSet.OrderInStatic);
            this.orderOutStaticTableAdapter.Fill(this.farmManageDataSet.OrderOutStatic);
            this.cowStaticTableAdapter.Fill(this.farmManageDataSet.CowStatic);
        }