public MainForm() { InitializeComponent(); this.MouseWheel += new MouseEventHandler(MainForm_MouseWheel); persistState = new PersistWindowState(registryPath, this); }