Exemplo n.º 1
0
 //when the user clicks orders from,
 //View -> Orders
 private void menu_strip_orders_Click(object sender, EventArgs e)
 {
     if (order.IsDisposed)
         order = new Order();
     order.Show();
 }
Exemplo n.º 2
0
        private void form_login_Load(object sender, EventArgs e)
        {
            //initialize the oracle database controller
            odbc = new OracleDatabaseController();

            //inittialize all the other forms to be used from this form
            otlf = new OneTimeLoginForm();
            suppliers = new Suppliers();
            products = new Products();
            productCatagories = new ProductCatagories();
            order = new Order();
            bill = new Bill();
            StaffBuffer.loggedIn = false;
            renderForm();
        }