Ejemplo n.º 1
0
        private void btnNewOrderIn_Click(object sender, EventArgs e)
        {
            var form = new OrderInWizardForm();

            form.CustomerPID = CustomerPID;
            if (DialogResult.Yes == form.ShowDialog())
            {
                tcMain.SelectedTab = tabOrder;
            }
        }
Ejemplo n.º 2
0
        private void btnBuy_Click(object sender, EventArgs e)
        {
            var form   = new OrderInWizardForm();
            var result = form.ShowDialog();

            this.initSearch();

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