Esempio n. 1
0
 public void GenerateDownloadLink(ChangeLogViewer clv = null)
 {
     if (clv == null)
     {
         return;
     }
     if (XtraDialog.Show(clv, "New Update " + apis.Data.SRFVersion, MessageBoxButtons.YesNo)
         ==
         DialogResult.Yes)
     {
         System.Diagnostics.Process.Start(apis.Data.SRFDownloadLink);
     }
 }
Esempio n. 2
0
 // TODO: No Override.
 public void GenerateDownloadLink(ChangeLogViewer clv = null, Root serverData = null)
 {
     if (serverData == null)
     {
         serverData = apis.Data;
     }
     if (clv == null)
     {
         new ChangeLogViewer(serverData.SRFChangelog);
     }
     if (XtraDialog.Show(clv, "New Update " + serverData.SRFVersion, MessageBoxButtons.YesNo)
         ==
         DialogResult.Yes)
     {
         System.Diagnostics.Process.Start(serverData.SRFDownloadLink);
     }
 }