Alsing.Windows.Forms.CoreLib.IntelliMouseControl.Activate C# (CSharp) Метод

Activate() публичный Метод

public Activate ( int x, int y ) : void
x int
y int
Результат void
        public void Activate(int x, int y)
        {
            if (IsDirty)
                CreateRegion();

            Size = new Size(Image.Width, Image.Height);
            Location = new Point(x - Image.Width/2, y - Image.Height/2);
            ActivationPoint.X = x;
            ActivationPoint.Y = y;
            BringToFront();
            Visible = true;
            Focus();
            Active = false;
            Application.DoEvents();
            SetCursor(0, 0);
            tmrFeedback.Enabled = true;
            onBeginScroll(new EventArgs());
            NativeMethods.SendMessage(Handle, WM_MBUTTONDOWN, 0, 0);
            Active = true;
        }