コード例 #1
0
        /// <summary>
        /// Implementations of this method should initialize
        /// the designer components for the custom hardware device tab page.
        /// </summary>
        protected override void InitializeStatusControls()
        {
            this.theEyeTribeCalibrationResultPanel = new TheEyeTribeCalibrationResultPanel();
            this.wpfContainer        = new ElementHost();
            this.eyeTribeTrackStatus = new TrackBoxStatus();
            this.CalibrationResultPanel.Controls.Add(this.theEyeTribeCalibrationResultPanel);
            this.TrackStatusPanel.Controls.Add(this.wpfContainer);

            // elementHost1
            this.wpfContainer.Dock     = DockStyle.Fill;
            this.wpfContainer.Location = new Point(0, 0);
            this.wpfContainer.Name     = "wpfContainer";
            this.wpfContainer.Size     = new Size(190, 40);
            this.wpfContainer.TabIndex = 0;
            this.wpfContainer.Text     = "wpfContainer";
            this.wpfContainer.Child    = this.eyeTribeTrackStatus;

            // theEyeTribeCalibrationResultPanel
            this.theEyeTribeCalibrationResultPanel.BackColor = Color.WhiteSmoke;
            this.theEyeTribeCalibrationResultPanel.Dock      = DockStyle.Fill;
            this.theEyeTribeCalibrationResultPanel.Location  = new Point(0, 0);
            this.theEyeTribeCalibrationResultPanel.Name      = "theEyeTribeCalibrationResultPanel";
            this.theEyeTribeCalibrationResultPanel.Size      = new Size(190, 42);
            this.theEyeTribeCalibrationResultPanel.TabIndex  = 0;
            this.theEyeTribeCalibrationResultPanel.Text      = "theEyeTribeCalibrationResultPanel1";
        }
コード例 #2
0
ファイル: TheEyeTribeTracker.cs プロジェクト: DeSciL/Ogama
    /// <summary>
    /// Implementations of this method should initialize 
    /// the designer components for the custom hardware device tab page.
    /// </summary>
    protected override void InitializeStatusControls()
    {
      this.theEyeTribeCalibrationResultPanel = new TheEyeTribeCalibrationResultPanel();
      this.wpfContainer = new ElementHost();
      this.eyeTribeTrackStatus = new TrackBoxStatus();
      this.CalibrationResultPanel.Controls.Add(this.theEyeTribeCalibrationResultPanel);
      this.TrackStatusPanel.Controls.Add(this.wpfContainer);

      // elementHost1
      this.wpfContainer.Dock = DockStyle.Fill;
      this.wpfContainer.Location = new Point(0, 0);
      this.wpfContainer.Name = "wpfContainer";
      this.wpfContainer.Size = new Size(190, 40);
      this.wpfContainer.TabIndex = 0;
      this.wpfContainer.Text = "wpfContainer";
      this.wpfContainer.Child = this.eyeTribeTrackStatus;

      // theEyeTribeCalibrationResultPanel
      this.theEyeTribeCalibrationResultPanel.BackColor = Color.WhiteSmoke;
      this.theEyeTribeCalibrationResultPanel.Dock = DockStyle.Fill;
      this.theEyeTribeCalibrationResultPanel.Location = new Point(0, 0);
      this.theEyeTribeCalibrationResultPanel.Name = "theEyeTribeCalibrationResultPanel";
      this.theEyeTribeCalibrationResultPanel.Size = new Size(190, 42);
      this.theEyeTribeCalibrationResultPanel.TabIndex = 0;
      this.theEyeTribeCalibrationResultPanel.Text = "theEyeTribeCalibrationResultPanel1";
    }