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(); }
public RecordArea(int Columns, ContainerControl Container, Point origin, RecordDisplayStyles display) : base(Columns, Container, origin) { _style = display; }
public RecordArea(int Columns, ContainerControl Container, Point origin, RecordDisplayStyles display, Control questionParent) : base(Columns, Container, origin, questionParent) { _style = display; }
public RecordArea(int columns, ContainerControl container) : base(columns, container) { _style = RecordDisplayStyles.ListView; }