private void btnGoBac_Click(object sender, EventArgs e) { UserInterFace userInterFace = new UserInterFace(); userInterFace.UserId = UserId; userInterFace.Show(); this.Hide(); }
private void CustomerRentForm_Load(object sender, EventArgs e) { userInterFace = new UserInterFace(); helper = new FormsHelper(); car = new CarInformation(); carController = new CarController(); customer = new CustomerInformation(); customerController = new CustomerController(); rentedDetail = new RentedDetail(); rentedContoller = new RentedContoller(); }
public LoginPage() { helper = new FormsHelper(); ulc = new UserContoller(); ul = new UserInformation(); userInterface = new UserInterFace(); adminInterFace = new AdminInterFace(); car = new CarInformation(); carController = new CarController(); rentedContoller = new RentedContoller(); //txtMailAdress.Text = "*****@*****.**"; //txtPassword.Text = "12345678"; InitializeComponent(); }