public VistaReservasCliente(AgenciaManager userLogged) { InitializeComponent(); this.reservas = userLogged; int dni = userLogged.GetUsuarioLogeado().GetDni(); num1 = dni; }
public VistaDashboardCliente(AgenciaManager agenciaManager) { InitializeComponent(); this.leftBorderBtn = new Panel(); this.leftBorderBtn.Size = new Size(7, 60); this.agencia = agenciaManager; panelMenu.Controls.Add(leftBorderBtn); lblRoleUser.Text = agenciaManager.GetUsuarioLogeado().GetNombre(); //FORM this.Text = string.Empty; this.ControlBox = false; this.DoubleBuffered = true; this.MaximizedBounds = Screen.FromHandle(this.Handle).WorkingArea; this.OpenChildForm(new VistaHome()); }
public VistaDashboardAdmin(AgenciaManager userLogged) { InitializeComponent(); this.leftBorderBtn = new Panel(); this.leftBorderBtn.Size = new Size(7, 60); this.agencia = userLogged; panelMenu.Controls.Add(leftBorderBtn); panelAlojamientoSubmenu.Visible = false; lblRoleUser.Text = userLogged.GetUsuarioLogeado().GetNombre(); //FORM this.Text = string.Empty; this.ControlBox = false; this.DoubleBuffered = true; this.MaximizedBounds = Screen.FromHandle(this.Handle).WorkingArea; OpenChildForm(new VistaHome()); hideSubMenu(); }