MainForm.cs

(开头部分) 3KB

这里只显示每个文件的开头 60 行。登录后可以解锁完整代码。

#region header

// MouseJiggle - MainForm.cs
// 
// Alistair J. R. Young
// Arkane Systems
// 
// Copyright Arkane Systems 2012-2013.
// 
// Created: 2013-08-24 12:41 PM

#endregion

using System;
using System.Windows.Forms;

using Microsoft.Win32;
//www.51aspx.com
namespace ArkaneSystems.MouseJiggle
{
    public partial class MainForm : Form
    {
        private const int MOUSEMOVE = 8;

        protected bool zig = true;

        public MainForm ()
        {
            this.InitializeComponent ();
        }

        private void jiggleTimer_Tick (object sender, EventArgs e)
        {
            // jiggle
            if (this.cbZenJiggle.Checked)
                Jiggler.Jiggle (0, 0);
            else
            {
                if (this.zig)
                    Jiggler.Jiggle (4, 4);
                else // zag
                {
                    // I really don't know why this needs to be less to stay in the same
                    // place; if I was likely to use it again, then I'd worry.
                    Jiggler.Jiggle (-4, -4);
                }
            }

            this.zig = !this.zig;
        }

        private void cbEnabled_CheckedChanged (object sender, EventArgs e)
        {
            this.jiggleTimer.Enabled = this.cbEnabled.Checked;
        }

        private void cmdAbout_Click (object sender, EventArgs e)
        {
            using (var a = new AboutBox ())
                a.ShowDialog ();
后面还有 72 行代码,解锁后查看完整代码

24 小时内免费解锁 3 个项目,之后 1 算力/个。 规则说明

AI 解读 AI

登录后可用,每次 10 算力,解读结果公开显示在下面。

还没有人解读过这个文件。