Пример #1
0
        public customerVendorMainFrame(int customerOrVendor)
        {
            InitializeComponent();
            this.customerOrVendor = customerOrVendor;//0:customer, 1:vendor
            if (customerOrVendor == 0)
            {
                this.Text = "View Customers";
                this.toolStripComboBox1.Items.Add("Include Subordinates' Customers");
                this.toolStripComboBox1.Items.Add("Only List My Customers");
            }
            else
            {
                this.Text = "View Vendors";
                this.toolStripComboBox1.Items.Add("Include Subordinates' Vendors");
                this.toolStripComboBox1.Items.Add("Only List My Vendors");
            }

            customerVendorMgr = new CustomerVendorMgr();
        }
Пример #2
0
 public customerVendorOperation()
 {
     InitializeComponent();
     customerVendorMgr = new CustomerVendorMgr();
 }
Пример #3
0
 public FinancesView()
 {
     InitializeComponent();
     accountMgr = new AccountMgr();
     customerVendorMgr = new CustomerVendorMgr();
 }
Пример #4
0
 public BuyerOfferItems()
 {
     customerVendorMgr = new CustomerVendorMgr();
 }