コード例 #1
0
 public SensorForm(QuestionForm parentForm)
     : this()
 {
     this.parent               = parentForm;
     this.controller           = parentForm.controller;
     this.controller.HeadMove += controller_HeadMove;
 }
コード例 #2
0
 public VisionForm(QuestionForm mainForm)
     : this()
 {
     this.parent               = mainForm;
     this.controller           = mainForm.controller;
     this.controller.HeadMove += controller_HeadMove;
     this.controller.NewFrame += controller_NewFrame;
 }
コード例 #3
0
ファイル: MainForm.cs プロジェクト: usamasubhani/20questions
 private void newToolStripMenuItem_Click(object sender, EventArgs e)
 {
     if (questionForm == null || questionForm.IsDisposed)
     {
         questionForm           = new QuestionForm();
         questionForm.MdiParent = this;
     }
     questionForm.Show();
 }