コード例 #1
0
        /*
         * public BlinkLinkStandardTrackingModule BinkLinkStandardTrackingModule
         * {
         *  get
         *  {
         *      return this.trackingModule as BlinkLinkStandardTrackingModule;
         *  }
         *  set
         *  {
         *      trackingModule = value;
         *  }
         * }
         */

        public CMSBlinkLinkStandardTrackingSuite()
            : base()
        {
            BlinkLinkAHMTrackingModule  = new BlinkLinkAHMTrackingModule();
            BlinkLinkMouseControlModule = new BlinkLinkMouseControlModule();
            BlinkLinkClickControlModule = new BlinkLinkClickControlModule();
            this.name         = SuiteName;
            this.informalName = SuiteInformalName;
            this.description  = SuiteDescription;
        }
コード例 #2
0
        public override void Update(CMSModule module)
        {
            blinkLinkEyeClickData.LockEyeClickData();
            try
            {
                BlinkLinkClickControlModule clickModule = module as BlinkLinkClickControlModule;

                blinkLinkEyeClickData.SetData(clickModule.blinkLinkEyeClickData);
            }
            finally
            {
                blinkLinkEyeClickData.UnlockEyeClickData();
            }
        }
コード例 #3
0
        public BlinkLinkClickControlPanel()
        {
            InitializeComponent();
            blinkLinkClickControlModule = null;
            loadingControls             = false;

            shortLeftWinkActionComboBox.Items.Add(GetEnumDescription(ClickAction.None));
            shortLeftWinkActionComboBox.Items.Add(GetEnumDescription(ClickAction.LeftClick));
            shortLeftWinkActionComboBox.Items.Add(GetEnumDescription(ClickAction.RightClick));
            shortLeftWinkActionComboBox.Items.Add(GetEnumDescription(ClickAction.DoubleClick));

            shortRightWinkActionComboBox.Items.Add(GetEnumDescription(ClickAction.None));
            shortRightWinkActionComboBox.Items.Add(GetEnumDescription(ClickAction.LeftClick));
            shortRightWinkActionComboBox.Items.Add(GetEnumDescription(ClickAction.RightClick));
            shortRightWinkActionComboBox.Items.Add(GetEnumDescription(ClickAction.DoubleClick));

            longLeftWinkActionComboBox.Items.Add(GetEnumDescription(ClickAction.None));
            longLeftWinkActionComboBox.Items.Add(GetEnumDescription(ClickAction.LeftClick));
            longLeftWinkActionComboBox.Items.Add(GetEnumDescription(ClickAction.RightClick));
            longLeftWinkActionComboBox.Items.Add(GetEnumDescription(ClickAction.LeftDrag));
            longLeftWinkActionComboBox.Items.Add(GetEnumDescription(ClickAction.DoubleClick));

            longRightWinkActionComboBox.Items.Add(GetEnumDescription(ClickAction.None));
            longRightWinkActionComboBox.Items.Add(GetEnumDescription(ClickAction.LeftClick));
            longRightWinkActionComboBox.Items.Add(GetEnumDescription(ClickAction.RightClick));
            longRightWinkActionComboBox.Items.Add(GetEnumDescription(ClickAction.LeftDrag));
            longRightWinkActionComboBox.Items.Add(GetEnumDescription(ClickAction.DoubleClick));

            blinkActionComboBox.Items.Add(GetEnumDescription(ClickAction.None));
            blinkActionComboBox.Items.Add(GetEnumDescription(ClickAction.LeftClick));
            blinkActionComboBox.Items.Add(GetEnumDescription(ClickAction.RightClick));
            blinkActionComboBox.Items.Add(GetEnumDescription(ClickAction.DoubleClick));

            statusWindowComboBox.Items.Add(GetEnumDescription(EyeStatusWindowOption.NoWindow));
            statusWindowComboBox.Items.Add(GetEnumDescription(EyeStatusWindowOption.FollowMouse));
            statusWindowComboBox.Items.Add(GetEnumDescription(EyeStatusWindowOption.Stationary));

            soundComboBox.Items.Add(GetEnumDescription(SoundOption.NoSound));
            soundComboBox.Items.Add(GetEnumDescription(SoundOption.BlinkClicksOnly));
            soundComboBox.Items.Add(GetEnumDescription(SoundOption.AllClicks));
        }
コード例 #4
0
 public void SetClickControl(BlinkLinkClickControlModule module)
 {
     this.blinkLinkClickControlModule = module;
     LoadFromControls();
 }