Ejemplo n.º 1
0
 public static DialogResult ShowUpdateView(GUI owner, string url, string desc,
     UpdateFileURL[] versions, bool backup)
 {
     if (LyraUpdateView.update == null)
     {
         LyraUpdateView.update = new LyraUpdateView(url, desc, versions, backup);
     }
     return LyraUpdateView.update.ShowDialog(owner);
 }
Ejemplo n.º 2
0
 /// <summary>
 /// Clean up any resources being used.
 /// </summary>
 protected override void Dispose(bool disposing)
 {
     if (disposing)
     {
         if (components != null)
         {
             components.Dispose();
         }
     }
     base.Dispose(disposing);
     LyraUpdateView.update = null;
 }