public aparienciaFormulario(ref DataGridView grillaParam, ArchivoIni configParam, ref Administrador frmMainParam)
 {
     frmMain = frmMainParam;
     dataGridView1 = grillaParam;
     dataGridView1.Font = new Font("Tahoma", 11F, GraphicsUnit.Pixel);
     HC = new Dictionary<string, string>();
     DM = new Dictionary<string, string>();
     HT = new Dictionary<string, string>();
     HTipoMetros = new Dictionary<string, string>();
     Hmaquinista = new Dictionary<string, string>();
     HCSuper = new Dictionary<string, List<string>>();
     config = configParam;
     this.inicializarVariablesFiltro();
     this.inicializarVariablesFiltro2();
     dataGridView1.ReadOnly = false;
 }
        public Administrador(ref ConectorBaseDeDatos hacedor, ref Form panelInicial, privilegio privParam, ArchivoIni configParam)
        {
            InitializeComponent();

            Administrador panel = this;
            apariencia = new aparienciaFormulario(ref dataGridView1, configParam, ref panel);
            apariencia.setVariablesControlesMain(ref mskGramaje, ref mskPeso, ref lblEstado, ref txtEspesor, ref txtObservacion, ref cmbTipo, ref cmbCliente, ref informeTotalToolStripMenuItem, ref parteDiarioMaquinistaToolStripMenuItem, ref remitoToolStripMenuItem1, ref remitoToolStripMenuItem, ref cmbEstado);
            consultador = hacedor;
            contador_hoja = 0;
            refPanelInicial = panelInicial;
            priv = privParam;
            mskPeso.ValidatingType = typeof(double);
            mskGramaje.ValidatingType = typeof(double);
            this.ajustarResolucion();
            rotuloBobina = new administradorRotuloBobina();
            remito = new administradorRemito();
        }