private void onLoad(object sender, EventArgs e)
        {
            _welcomeControl = WelcomeControl.Instance;
            _qaControl      = QAControl.Instance;

            if (!this.Controls.Contains(_welcomeControl))
            {
                this.Controls.Add(_welcomeControl);
                _welcomeControl.Dock = DockStyle.Fill;
                _welcomeControl.BringToFront();
            }
            else
            {
                _welcomeControl.BringToFront();
            }
            LoadControlToView(_qaControl, 0);
        }
        private void onLoad(object sender, EventArgs e)
        {
            _welcomeControl = WelcomeControl.Instance;
            _qaControl = QAControl.Instance;

            if (!this.Controls.Contains(_welcomeControl))
            {
                this.Controls.Add(_welcomeControl);
                _welcomeControl.Dock = DockStyle.Fill;
                _welcomeControl.BringToFront();
            }
            else
            {
                _welcomeControl.BringToFront();
            }
            LoadControlToView(_qaControl, 0);
        }
 public RetakeState(Control userControl)
 {
     _currentControl = (userControl as QAControl);
 }
 public NormalState(Control userControl)
 {
     _currentControl = (userControl as QAControl);
 }
 public NormalState(Control userControl)
 {
     _currentControl = (userControl as QAControl);
 }
Example #6
0
 public RetakeState(Control userControl)
 {
     _currentControl = (userControl as QAControl);
 }