Ejemplo n.º 1
0
        private void format_controls()
        {
            CControlFormat.setFormStyle(this, new CAppContext_201(), IPFormStyle.DialogForm);
            CControlFormat.setC1FlexFormat(m_fg);
            CGridUtils.AddSearch_Handlers(m_fg);
            CGridUtils.AddSave_Excel_Handlers(m_fg);

            m_lbl_header.Font      = new Font("Arial", 16);
            m_lbl_header.ForeColor = Color.DarkRed;
            m_lbl_header.TextAlign = ContentAlignment.MiddleCenter;

            this.MaximizeBox = true;
            this.MinimizeBox = true;

            m_cmd_view.Visible   = false;
            m_cmd_delete.Visible = false;
            m_cmd_insert.Focus();
            set_define_events();
            this.KeyPreview = true;
        }