public ApplicationForm() { this._mouseMoverEngine = new MouseMoverEngine(); InitializeComponent(); this._animationEventHandler = new System.EventHandler(this.AnimationEventHandler); this._mouseMoveEventHandler = new System.EventHandler(this.MouseMoveEventHandler); this.cbxAnimate.CheckedChanged += this._animationEventHandler; this.mnuTrayAnimate.Click += this._animationEventHandler; this.cbxMouseMove.CheckedChanged += this._mouseMoveEventHandler; this.mnuTrayMouseMove.Click += this._mouseMoveEventHandler; SystemEvents.SessionEnding += new SessionEndingEventHandler(SystemEvents_SessionEnding); this.chkWindowsStartup.Checked = this.IsRunOnWindowsStartupEnabled(); }