private void frm_main_Load(object sender, EventArgs e) { VG.Variables.mdiForm = this; this.MinimumSize = new System.Drawing.Size(Screen.PrimaryScreen.Bounds.Size.Width, Screen.PrimaryScreen.Bounds.Size.Height); this.MaximumSize = new System.Drawing.Size(Screen.PrimaryScreen.Bounds.Size.Width, Screen.PrimaryScreen.Bounds.Size.Height); MenuStrip menu = objMenu.crearMenu(il_menu); this.Controls.Add(menu); this.tssl_usuario.Text = tssl_usuario + " " + VG.Variables.usuario_bd; this.tssl_servidor.Text = tssl_servidor + " " + VG.Variables.serverIpAddressDSS; this.tssl_database.Text = tssl_database + " " + VG.Variables.serverDataBaseDSS; this.tssl_fecha.Text = "Fecha actual: " + System.DateTime.Now.ToString("dd-MM-yyyy"); this.tssl_hora.Text = "Hora actual: " + System.DateTime.Now.ToString("hh:mm:ss tt"); this.tssl_version.Text = " Versión: " + Application.ProductVersion.ToString(); t_main.Start(); }