Esempio n. 1
0
        private void button2_Click(object sender, EventArgs e)
        {
            HacerServicioCOMPRA fmservicios = new HacerServicioCOMPRA(principal);

            fmservicios.Show();
            this.Close();
        }
Esempio n. 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();
        }