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

            username = firstname;

            //load the users details
            loadDetails(firstname);
        }
Exemplo n.º 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();
        }
Exemplo n.º 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;
        }
Exemplo n.º 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();
 }
Exemplo n.º 6
0
 public Add_New_User()
 {
     InitializeComponent();
     DBWIDGET = new OracleAccessWidget();
     textBoxFirstname.Focus();
 }
 public New_Employee()
 {
     InitializeComponent();
     DBWIDGET = new OracleAccessWidget();
     LoadFactories();
 }