Exemple #1
0
 private void button1_Click_1(object sender, EventArgs e)
 {
     if (Customer_rdo_Button.Checked == true)
     {
         customer custmer = new customer();
         custmer.register(this);
     }
     else
     {
         manager manger = new manager();
         manger.register(this);
     }
 }
Exemple #2
0
        private void Signin_Click(object sender, EventArgs e)
        {
            customer custmer = new customer();
            manager  manger  = new manager();

            if (Customer_rdo_Button.Checked == true)
            {
                custmer.Login(this);
            }

            else
            {
                manger.Login(this);
            }
        }
        private void Select_Customer_Id_for_view_his_bills_SelectedIndexChanged(object sender, EventArgs e)
        {
            manager man = new manager();

            man.get_Bills_for_one_Customer(this);
        }
Exemple #4
0
        private void Viewfor_all_bills_Click(object sender, EventArgs e)
        {
            manager man = new manager();

            man.getBills(this);
        }
Exemple #5
0
        private void Save_for_add_del_boy_button_Click(object sender, EventArgs e)
        {
            manager man = new manager();

            man.addDelivayBoy(this);
        }
Exemple #6
0
        private void Delete_for_add_del_boy_button_Click(object sender, EventArgs e)
        {
            manager man = new manager();

            man.RemoveDelivaryBoy(this);
        }
        private void Select_Customer_Id_for_view_his_bills_SelectedIndexChanged(object sender, EventArgs e)
        {
            manager man = new manager();

            man.View_bills_for_specific_Date(this);
        }