Exemple #1
0
 internal frmQuestionBox(frmControls controls, Question question)
 {
     InitializeComponent();
     this.controls = controls;
     this.question = question;
     Settings.Display.Project(this);
 }
 internal dlgPassOrPlay(frmControls controls, Question question)
 {
     InitializeComponent();
     this.controls  = controls;
     this.question  = question;
     passorplayForm = new frmPassOrPlay(question);
 }
 internal frmGroupAnswersBoard(frmControls controls, long questionID)
 {
     InitializeComponent();
     this.controls   = controls;
     this.questionID = questionID;
     Settings.Display.Project(this);
 }
Exemple #4
0
 internal frmScoreBoard(frmControls controls, long gameID)
 {
     InitializeComponent();
     this.gameID   = gameID;
     this.controls = controls;
     Settings.Display.Project(this);
 }
Exemple #5
0
 private void btnPlay_Click(object sender, EventArgs e)
 {
     if (!Builder.Connected)
     {
         return;
     }
     Dialogs.SelectGame selectgame = new Dialogs.SelectGame(Game.Filter.Unfinished);
     if (selectgame.ShowDialog() == DialogResult.OK)
     {
         playgame = new Play.frmControls(selectgame.SelectedGame, this);
         playgame.Show();
         this.Hide();
     }
 }