private void tsbSimulador_Click(object sender, EventArgs e) { Simulador formulario = new Simulador(); formulario.MdiParent = this; formulario.StartPosition = FormStartPosition.Manual; formulario.Location = new Point((this.Width / 2) - (formulario.Width / 2), tbcMenuppal.Location.Y + altura); formulario.comitente = comitente; formulario.Show(); }
private void button1_Click(object sender, EventArgs e) { Simulador Form = new Simulador(); Form.Show(); }