Beispiel #1
0
 private void FrmShippingVendor_Load(object sender, EventArgs e)
 {
     //Populates the active combo box.
     this.PopulateActiveCombo();
     PopulateVendorListView(this.lvShippingVendors, _myVendorManager.GetVendors());
     SetDefaults();
 }//End FrmShippingVendor_Load(..)
Beispiel #2
0
        }//End FrmShipping(.)

        private void FrmShipping_Load(object sender, EventArgs e)
        {
            Text += "                         " + _myAccessToken.FirstName + " " + _myAccessToken.LastName + " logged in as a " + _myAccessToken.Role.Name;

            //Populates the active combo box.
            this.PopulateActiveCombo();
            RefreshOrderViews();
            //Populate the vendor list view.
            PopulateVendorListView(this.lvShippingVendors, _myVendorManager.GetVendors());
        }//End FrmShipping_Load(..)
        public FrmAddShippingTerm(AccessToken _myAccessToken)
        {
            InitializeComponent();
            var RoleAccess = new RoleAccess(_myAccessToken, this);

            _myShippingTermManager   = new ShippingTermManager();
            _myShippingVendorManager = new ShippingVendorManager();
            vendors = _myShippingVendorManager.GetVendors();
            PopulateVendorCombo();
        }//End of FrmAddShippingTerm()
Beispiel #4
0
        public FrmShippingVendor(AccessToken acctoken)
        {
            InitializeComponent();
            var RoleAccess = new RoleAccess(acctoken, this);

            _myAccessToken   = acctoken;
            _myVendorManager = new ShippingVendorManager();
            PopulateActiveCombo();
            PopulateVendorListView(this.lvShippingVendors, _myVendorManager.GetVendors());
            Instance = this;
        }
Beispiel #5
0
        public FrmUpdateShippingTerm(ShippingTerm term, AccessToken _myAccessToken)
        {
            InitializeComponent();
            var RoleAccess = new RoleAccess(_myAccessToken, this);

            _myShippingTermManager   = new ShippingTermManager();
            _myShippingVendorManager = new ShippingVendorManager();
            vendors       = _myShippingVendorManager.GetVendors();
            _originalTerm = term;
            PopulateVendorCombo();
            txtDesc.Text = term.Description;
            this.Text    = "Shipping Term: " + term.Id;
        }//End of FrmUpdateShippingTerm(.)