コード例 #1
0
ファイル: Formulario.cs プロジェクト: sarai1025/cupos
        private void btRecomendaciones_Click(object sender, EventArgs e)
        {
            RecomendacionUsu fmrecomendar = new RecomendacionUsu(principal);

            fmrecomendar.Show();
            this.Close();
        }
コード例 #2
0
        private void comprarVenderToolStripMenuItem_Click(object sender, EventArgs e)
        {
            RecomendacionUsu recomendaciones = new RecomendacionUsu(principal);
            Size             desk            = System.Windows.Forms.SystemInformation.PrimaryMonitorSize;

            recomendaciones.Width  = (this.Width / 2) + 170;
            recomendaciones.Height = this.Height - 68;

            Int32 ancho = (this.Width / 2) - 190;

            recomendaciones.Location  = new Point(ancho, 0);
            recomendaciones.MdiParent = this;
            recomendaciones.Show();
        }