public void AgregarHuesped() { this.Controls.Clear(); UserControlHuesped = new UserControl_Huesped(this); this.Controls.Add(UserControlHuesped); UserControlHuesped.Location = new Point(0, 10); UserControlHuesped.Name = "UserControlHuesped"; //UserControlHuesped.flag_NOTABM = true; }
public void Modificar_Huesped(Huesped unHuesped) { this.Controls.Clear(); this.Controls.Add(this.menuStrip1); UserControlHuesped = new UserControl_Huesped(this); this.Controls.Add(UserControlHuesped); UserControlHuesped.Location = new System.Drawing.Point(0, 20); UserControlHuesped.Name = "UserControlHuesped"; UserControlHuesped.Cargar_Huesped(unHuesped); }