private void frmUsuarioPruebaEstilo_Load(object sender, EventArgs e) { tipoPais = frmRegristroUsuario.tipoPais; Thread.CurrentThread.CurrentUICulture = new CultureInfo(tipoPais); AplicarIdioma(); // this.txtDescripcion.au; //Ypos = Location.Y; //Xpos = Location.X; ventUsuarioPerso = new frmTbUsuarioPersonalizada(); // ventUsuarioPerso.MdiParent = this; //ventPrincipal = new frmPrincipal("",""); this.Location = new System.Drawing.Point(0, 0); cargar_statuscbox(); FuncionInicio(); }
//protected void DoEvents() //{ // Dispatcher.CurrentDispatcher.Invoke(DispatcherPriority.Background, new EmptyDelegate(delegate { })); //} private void btnPuntos_Click(object sender, EventArgs e) { //this.Location = new System.Drawing.Point(0, 175); // this.Hide(); if (ventana == 0) { ventUsuarioPerso = new frmTbUsuarioPersonalizada(); ventUsuarioPerso.pasado += new frmTbUsuarioPersonalizada.pasar(ejecutar); //ventUsuarioPerso.Show(); ventUsuarioPerso.ShowDialog(); ventana++; } else { ventUsuarioPerso.pasado += new frmTbUsuarioPersonalizada.pasar(ejecutar); ventUsuarioPerso.ShowDialog(); //ventUsuarioPerso.Show(); } }