示例#1
0
 public ActionMatch(ActionMatchData actionMatchData)
 {
     actionData           = actionMatchData;
     actionData.Name      = actionMatchData.Name;
     actionRes            = ActionResponse.NonExecution;
     formAction           = (FormActionMatch)(new FormActionMatch(actionMatchData, this));
     this.actionMatchData = actionMatchData;
     Init();
 }
示例#2
0
        public FormActionMatch(ActionMatchData data, ActionMatch _actionMatch)
        {
            InitializeComponent();
            _actionMatchData      = data;
            this._actionMatch     = _actionMatch;
            this.tbOffsetX.Text   = Convert.ToString(_actionMatchData.fOffsetX);
            this.tbOffsetY.Text   = Convert.ToString(_actionMatchData.fOffsetY);
            this.tbAngle.Text     = Convert.ToString(_actionMatchData.fOffsetAngle);
            this.tbThreshold.Text = Convert.ToString(_actionMatchData.fThreshlod);
            this.tbKeyPoint.Text  = Convert.ToString(_actionMatchData.iKeyPointNumber);
            this.tbTime.Text      = Convert.ToString(_actionMatchData.time);
            bMouseDownIm3         = false;
            bMouseDown            = false;

            FormVision.eventRun += new FormVision.formRefresh(init);
        }