public styleengine() { myPrefWindow = new Options(); hwndOfPrferencesWindows = (int)myPrefWindow.Handle; myPrefWindow.FormClosed += new System.Windows.Forms.FormClosedEventHandler(Options_FormClosed); Winkle.VersionCheck myUpdateChecker = new Winkle.VersionCheck("Mail me", "http://tlhan-ghun.de/files/mailMe.xml"); Winkle.UpdateInfo myUpdateResponse = myUpdateChecker.checkForUpdate(System.Reflection.Assembly.GetExecutingAssembly(), false); }
private void Options_FormClosed(Object sender, System.Windows.Forms.FormClosedEventArgs e) { myPrefWindow = new Options(); hwndOfPrferencesWindows = (int)myPrefWindow.Handle; myPrefWindow.FormClosed += new System.Windows.Forms.FormClosedEventHandler(Options_FormClosed); }