Пример #1
0
        /// <summary>
        /// Constructor del format general.
        /// </summary>
        /// <param name="owner"></param>
        /// <param name="model"></param>
        public pnlGeneral(Form owner, ReportModel model) : base(owner)
        {
            InitializeComponent();
            pe_ReportModel = model;
            vComercialRpts = (frmComercialRpts)owner;

            mlblTituloListadoGeneral.Text = model.pe_rptChrTitulo;

            pv_CargaInicial();
        }
Пример #2
0
 private void mlnkReportes_Click(object sender, EventArgs e)
 {
     try
     {
         frmComercialRpts vFrmComercialRpts = new frmComercialRpts();
         vFrmComercialRpts.Show();
     }
     catch (Exception ex)
     {
         throw ex;
     }
 }
Пример #3
0
        /// <summary>
        /// Constructor de la pagina
        /// </summary>
        /// <param name="owner"></param>
        ///
        public pnlListadoClientes(Form owner, ReportModel model) : base(owner)
        {
            pe_ReportModel = model;
            vComercialRpts = (frmComercialRpts)owner;
            InitializeComponent();

            #region {Carga de combo box}
            var listadoComboBoxs = new List <ComboBox>
            {
                mcmbDespliegue,
                mcmbEstado
            };

            foreach (var combo in listadoComboBoxs)
            {
                MetroComboBox mcomBox = (MetroComboBox)combo;
                vMiscelaneosModel.pb_CargaComboBox(ref mcomBox);
            }

            #endregion
        }