public Account_Details(string firstname)
        {
            InitializeComponent();
            DBWIDGET = new OracleAccessWidget();

            username = firstname;

            //load the users details
            loadDetails(firstname);
        }
示例#2
0
        public User_Window(string firstname)
        {
            InitializeComponent();
            DBWIDGET = new OracleAccessWidget();

            username = firstname;
            //Set the form user to this
            linkLabelEditAccount.Text = username;
            //set the binding list to represent the cart items
            listBoxCartItems.DataSource = items;

            loadProducts();
        }
示例#3
0
        public Checkout(BindingList <IcecreamItem> _items, string firstname)
        {
            InitializeComponent();
            DBWIDGET = new OracleAccessWidget();

            //Load in the list of items in cart
            items = _items;

            //set the binding list to represent the cart items
            listBoxCartItems.DataSource = items;

            //set the users name
            username = firstname;
        }
示例#4
0
        public Admin_Analytics(string firstname)
        {
            InitializeComponent();
            this.username = firstname;

            DBWIDGET = new OracleAccessWidget();

            //set the logout text
            this.linkLabelEditAccount.Text = firstname;

            //load the current factories
            loadFactories();

            //load managers
            loadManagers();
        }
 public Login_Page()
 {
     InitializeComponent();
     DBWIDGET = new OracleAccessWidget();
     textBoxFirstname.Focus();
 }
示例#6
0
 public Add_New_User()
 {
     InitializeComponent();
     DBWIDGET = new OracleAccessWidget();
     textBoxFirstname.Focus();
 }
 public New_Employee()
 {
     InitializeComponent();
     DBWIDGET = new OracleAccessWidget();
     LoadFactories();
 }