예제 #1
0
 private void LoadFiles() {
     try {
         if (!FileUtils.HasQuota(131072)) {
             IncreaseQuota iq = new IncreaseQuota(131072);
             iq.Closed += new EventHandler(iq_Closed);
             iq.Show();
         } else iq_Closed(this, EventArgs.Empty);
     } catch (IsolatedStorageException) {
         new Base.ErrorBox("Issue Checking Storage Quota",
             "Rawr does not have permission to create a Storage Cache which is necessary to run the program.",
             "Please check your Silverlight Settings on the Permissions Tab and remove the Deny for Rawr. This will make the webpage prompt you to allow Rawr again on Refresh.").Show();
     }
 }
예제 #2
0
 private void LoadFiles()
 {
     if (!FileUtils.HasQuota(20480))
     {
         IncreaseQuota iq = new IncreaseQuota(20480);
         iq.Closed += new EventHandler(iq_Closed);
         iq.Show();
     }
     else
     {
         iq_Closed(this, EventArgs.Empty);
     }
 }
예제 #3
0
 private void LoadFiles()
 {
     try {
         if (!FileUtils.HasQuota(131072))
         {
             IncreaseQuota iq = new IncreaseQuota(131072);
             iq.Closed += new EventHandler(iq_Closed);
             iq.Show();
         }
         else
         {
             iq_Closed(this, EventArgs.Empty);
         }
     } catch (IsolatedStorageException) {
         new Base.ErrorBox("Issue Checking Storage Quota",
                           "Rawr does not have permission to create a Storage Cache which is necessary to run the program.",
                           "Please check your Silverlight Settings on the Permissions Tab and remove the Deny for Rawr. This will make the webpage prompt you to allow Rawr again on Refresh.").Show();
     }
 }