public override void Clean()
        {
            if (clickingThresholdForm != null && clickingThresholdForm.Created)
            {
                clickingThresholdForm.Close();
                clickingThresholdForm = null;
            }

            Quit          = true;
            ClickEvent    = false;
            movingAverage = null;
        }
        public override void Init(System.Drawing.Size[] imageSizes)
        {
            prevMousePoint = PointF.Empty;

            clickingThresholdForm = trackingSuiteAdapter.CreateForm(typeof(ClickingThresholdForm)) as ClickingThresholdForm;
            clickingThresholdForm.SetThresholdValue(threshold);
            clickingThresholdForm.SetThreshold  += new SetThreshold(extraStateInfoForm_SetThreshold);
            clickingThresholdForm.PastThreshold += new PastThreshold(extraStateInfoForm_PastThreshold);


            movingAverage = new AHMovingAverage();
            movingAverage.Init(20, 20);

            Thread t = new Thread(new ThreadStart(ClickThread));

            t.Start();
        }