Пример #1
0
        public styleengine()
        {
            myPrefWindow = new Options();
            hwndOfPrferencesWindows = (int)myPrefWindow.Handle;
            myPrefWindow.FormClosed += new System.Windows.Forms.FormClosedEventHandler(Options_FormClosed);

            Winkle.VersionCheck myUpdateChecker = new Winkle.VersionCheck("Run me", "http://tlhan-ghun.de/files/runMe.xml");
            Winkle.UpdateInfo myUpdateResponse = myUpdateChecker.checkForUpdate(System.Reflection.Assembly.GetExecutingAssembly(), false);
        }
Пример #2
0
 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);
 }