Пример #1
0
        static void Main()
        {
            Options myPrefWnd = new Options();
                myPrefWnd.Show();

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