Ejemplo n.º 1
0
        private void button4_Click(object sender, EventArgs e)
        {
            loginPage login = new loginPage();

            login.Show();
            Close();
        }
Ejemplo n.º 2
0
        private void logOutBtn_Click(object sender, EventArgs e)
        {
            loginPage login = new loginPage();

            login.Show();
            Hide();
        }
Ejemplo n.º 3
0
        private void PlaceOrderUsrCtrl_Load(object sender, EventArgs e)
        {
            loginPage loginPageRef = new loginPage();

            username = loginPageRef.username;
            mobileNo = loginPageRef.mobileNo;
            EmailId  = loginPageRef.EmailId;


            CategoryDAO     categoryDAORef = new CategoryDAOImpl();
            List <Category> categoryRef    = categoryDAORef.getcategoryList(null);

            foreach (Category c in categoryRef)
            {
                categorynameCmb.Items.Add(c.categoryName);
            }

            //OrderCredentials orderCredentialsRef = new OrderCredentials(billNo++, dateTime);
            //OrderCredentialsDAO orderCrDAORef = new OrderCredentialsDAOImpl();
            //orderCrDAORef.insertOrderCredentials(orderCredentialsRef);
        }