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

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

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

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

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