Beispiel #1
0
        private void btnImpPais_Click(object sender, EventArgs e)
        {
            Frm_Pais aa = new Frm_Pais();

            aa.c_codigo_usu      = c_codigo_usu;
            aa.FrmReportePrecios = this;
            aa.Width             = 1000;
            aa.MaximizeBox       = true;
            aa.MinimizeBox       = false;
            aa.Height            = 650;
            aa.Top         = (Screen.PrimaryScreen.WorkingArea.Height - aa.Height) / 2;
            aa.Left        = (Screen.PrimaryScreen.WorkingArea.Width - aa.Width) / 2;
            aa.WindowState = System.Windows.Forms.FormWindowState.Normal;
            aa.ShowDialog();
        }
Beispiel #2
0
        private void btnImpPais_Click(object sender, EventArgs e)
        {
            Frm_Pais aa = new Frm_Pais();

            aa.c_codigo_usu   = c_codigo_usu;
            aa.FrmPreciosPais = this;
            aa.Width          = 1000;
            aa.MaximizeBox    = true;
            aa.MinimizeBox    = false;
            aa.Height         = 650;
            aa.Top            = (Screen.PrimaryScreen.WorkingArea.Height - aa.Height) / 2;
            aa.Left           = (Screen.PrimaryScreen.WorkingArea.Width - aa.Width) / 2;
            aa.WindowState    = System.Windows.Forms.FormWindowState.Normal;
            aa.ShowDialog();
            if (txtNombrePai.Text != string.Empty)
            {
                CargarCalibres(txtCodigoPai.Text);
            }
        }