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); } }
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); }
private void Viewfor_all_bills_Click(object sender, EventArgs e) { manager man = new manager(); man.getBills(this); }
private void Save_for_add_del_boy_button_Click(object sender, EventArgs e) { manager man = new manager(); man.addDelivayBoy(this); }
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); }