コード例 #1
0
ファイル: frmDaysSales.cs プロジェクト: radtek/Tradelink
        public frmDaysSales()
        {
            InitializeComponent();

            repo = new Repository();
            this.cmboStyles.CheckStateChanged  += new System.EventHandler(this.cmboStyles_CheckStateChanged);
            this.cmboColours.CheckStateChanged += new System.EventHandler(this.cmboColours_CheckStateChanged);
        }
コード例 #2
0
ファイル: frmPastelRecon.cs プロジェクト: radtek/Tradelink
        public frmPastelRecon()
        {
            InitializeComponent();
            Repo = new Repository();
            core = new Util();

            this.cmboStyles.CheckStateChanged += new System.EventHandler(this.cmboStyles_CheckStateChanged);
        }
コード例 #3
0
        public frmRepackCenterStatus()
        {
            InitializeComponent();

            this.cmboRepackConfig.CheckStateChanged += new System.EventHandler(this.cmboRepackConfig_CheckStateChanged);
            this.Repo = new CustomerServices.Repository();

            core = new Util();
        }
コード例 #4
0
        public frmWareHouseTransfers()
        {
            InitializeComponent();

            repo = new Repository();

            //--------------------------------------------------------------------------------------------------------
            this.cmboStyles.CheckStateChanged  += new System.EventHandler(this.cmboStyles_CheckStateChanged);
            this.cmboColours.CheckStateChanged += new System.EventHandler(this.cmboColours_CheckStateChanged);
            this.cmboSizes.CheckStateChanged   += new System.EventHandler(this.cmboSizes_CheckStateChanged);
        }
コード例 #5
0
        public frmPurchaseOrderConfig(int PurchaseOrder)
        {
            InitializeComponent();

            _PurchaseKey = PurchaseOrder;

            dt         = new DataTable();
            core       = new Util();
            repo       = new Repository();
            QueryParms = new CustomerServicesParameters();

            txtPONumber.KeyPress += core.txtWin_KeyPress;
            txtPONumber.KeyDown  += core.txtWin_KeyDownJI;
        }
コード例 #6
0
ファイル: frmCrossBorderDoc.cs プロジェクト: radtek/Tradelink
        public frmCrossBorderDoc()
        {
            InitializeComponent();

            oTxtA           = new DataGridViewTextBoxColumn();
            oTxtA.Visible   = false;
            oTxtA.ReadOnly  = true;
            oTxtA.ValueType = typeof(int);
            dataGridView1.Columns.Add(oTxtA);

            oChkA            = new DataGridViewCheckBoxColumn();
            oChkA.Visible    = true;
            oChkA.HeaderText = "Select";
            oChkA.ValueType  = typeof(bool);
            dataGridView1.Columns.Add(oChkA);

            oTxtB            = new DataGridViewTextBoxColumn();
            oTxtB.ReadOnly   = true;
            oTxtB.Visible    = true;
            oTxtB.ValueType  = typeof(string);
            oTxtB.HeaderText = "Purchase Number";
            dataGridView1.Columns.Add(oTxtB);

            oTxtC            = new DataGridViewTextBoxColumn();
            oTxtC.ReadOnly   = true;
            oTxtC.Visible    = true;
            oTxtC.ValueType  = typeof(string);
            oTxtC.HeaderText = "PL Number";
            dataGridView1.Columns.Add(oTxtC);


            oTxtD            = new DataGridViewTextBoxColumn();
            oTxtD.ReadOnly   = true;
            oTxtD.Visible    = true;
            oTxtD.ValueType  = typeof(DateTime);
            oTxtD.HeaderText = "Transaction Date";
            dataGridView1.Columns.Add(oTxtD);

            /* oTxtE = new DataGridViewTextBoxColumn();
             * oTxtE.ReadOnly = true;
             * oTxtE.Visible = true;
             * oTxtE.ValueType = typeof(int);
             * dataGridView1.Columns.Add(oTxtE);*/

            dataGridView1.AllowUserToAddRows  = false;
            dataGridView1.AutoGenerateColumns = false;

            Repo = new Repository();
        }
コード例 #7
0
        public frmCustomerTransHistory(bool Transact)
        {
            InitializeComponent();
            repo = new Repository();

            Transactional = Transact;

            if (Transactional)
            {
                this.Text = "Tranactional Customer History";
            }
            else
            {
                this.Text = "Customer Audit History";
            }


            this.cmboPurchaseOrders.CheckStateChanged += new System.EventHandler(this.cmboPurchaseOrders_CheckStateChanged);
        }
コード例 #8
0
        public frmSelSalesByPeriod(bool SBP)
        {
            InitializeComponent();
            repo = new Repository();

            SalesByPeriod = SBP;

            this.cmboStyles.CheckStateChanged    += new System.EventHandler(this.cmboStyles_CheckStateChanged);
            this.cmboCustomers.CheckStateChanged += new System.EventHandler(this.cmboCustomers_CheckStateChanged);

            if (SalesByPeriod)
            {
                this.Text = "Sales By Style By Period";
            }
            else
            {
                this.label4.Visible        = false;
                this.cmboCustomers.Visible = false;
                this.Text = "Sales By Style By Customer";
            }
        }
コード例 #9
0
 public frmBoxesDespatchedNoReceipted()
 {
     InitializeComponent();
     repo = new CustomerServices.Repository();
     this.cmboWarehouses.CheckStateChanged += new System.EventHandler(this.cmboWhses_CheckStateChanged);
 }