Example #1
0
        /// <summary>
        /// The constructor for the main TextTest form.
        /// </summary>
        public MainForm()
        {
            InitializeComponent();
            SetControlHeights(this.Font);
            SetMinFormHeight();

            _o       = new OptionsForm.Options(); // default options
            _phrases = new Phrases();

            _fileNoExt     = String.Empty;
            _bkspSelLength = 0;
        }
Example #2
0
        /// <summary>
        /// The constructor for the main TextTest form.
        /// </summary>
        public MainForm()
        {
            InitializeComponent();
            SetControlHeights(this.Font);
            SetMinFormHeight();

            _o       = new OptionsForm.Options(); // default options
            _phrases = new Phrases();

            //_fileNoExt = String.Empty;
            _bkspSelLength = 0;

            // read participant numbering
            using (ParticipantNumbering participantNumbering = new ParticipantNumbering())
            {
                _fileNoExt = (participantNumbering.ParticipantNumber).ToString();
            }
        }