//method to call view customer form

        private void VIEW_BTN_Click(object sender, EventArgs e)
        {
            ViewCustomer co = new ViewCustomer("admin");

            this.Hide();
            co.Show();
        }
Esempio n. 2
0
        //method to call view customer data form
        private void VIEW_BTN_Click(object sender, EventArgs e)
        {
            ViewCustomer u = new ViewCustomer("customer");

            this.Hide();
            u.Show();
        }