Beispiel #1
0
        static void Main()
        {
            Updater updater = new Updater("http://www.myupdateurl.com/update.xml");
              updater.CheckForNewVersion();

              Application.Run(new Form1());
        }
Beispiel #2
0
 public Notification(String name, String message, String version, Assembly callingAssem, Updater updater)
 {
     InitializeComponent();
       this.appname_label.Text = name;
       this.version_label.Text = version;
       this.message_textbox.Text = message;
       this.callingAssembly = callingAssem;
       trans = new TransferManager.TransferProgress(UpdateProgressBar);
       updater.UpdateDoneEvent +=new Updater.UpdateDone(updater_UpdateDoneEvent);
       if (NotificationFormReady != null)
     NotificationFormReady();
 }