Пример #1
0
        private void BuildDynCtls()
        {
            frmDynamicQuestions frm;
            RecordDisplayStyles style = RecordDisplayStyles.ListBox;

            switch (_cboView.Text)
            {
            case "ListView":
                style = RecordDisplayStyles.ListView;
                break;

            case "ListBox":
                style = RecordDisplayStyles.ListBox;
                break;

            case "NavButtons":
                style = RecordDisplayStyles.NavButtons;
                break;
            }

            frm = new frmDynamicQuestions(_questions, _chkGroup.Checked, Convert.ToInt32(_cboColumns.Text), _chkAllowSmallResize.Checked, style);

            frm.ShowDialog();
        }
Пример #2
0
 public RecordArea(int Columns, ContainerControl Container, Point origin, RecordDisplayStyles display)
     : base(Columns, Container, origin)
 {
     _style = display;
 }
Пример #3
0
 public RecordArea(int Columns, ContainerControl Container, Point origin, RecordDisplayStyles display, Control questionParent)
     : base(Columns, Container, origin, questionParent)
 {
     _style = display;
 }
Пример #4
0
 public RecordArea(int columns, ContainerControl container)
     : base(columns, container)
 {
     _style = RecordDisplayStyles.ListView;
 }