コード例 #1
0
        public BrowserModel(BackupBrowser browser)
        {
            browser.SelectedFiles  += new EventHandler <IPhoneFileSelectedArgs>(browser_SelectedApp);
            browser.SelectedBackup += new EventHandler <IPhoneBackupSelectedArgs>(browser_SelectedBackup);
            browser.SelectedApps   += new EventHandler <IPhoneAppSelectedArgs>(browser_SelectedApps);

            _browser = browser;
        }
コード例 #2
0
 static void Main()
 {
     Application.EnableVisualStyles();
     Application.SetCompatibleTextRenderingDefault(false);
     try
     {
         FileManager.Current.Init();
         BackupBrowser browser = new BackupBrowser();
         Application.Run(browser);
     }
     catch (Exception e)
     {
         Logger.ErrorException(e.Message, e);
         MessageBox.Show(e.Message + "\n" + e.StackTrace);
     }
     finally
     {
         FileManager.Current.Clean();
     }
 }
コード例 #3
0
 static void Main()
 {
     Application.EnableVisualStyles();
     Application.SetCompatibleTextRenderingDefault(false);
     try
     {
         FileManager.Current.Init();
         BackupBrowser browser = new BackupBrowser();
         Application.Run(browser);
     }
     catch (Exception e)
     {
         Logger.ErrorException(e.Message, e);
         MessageBox.Show(e.Message + "\n" + e.StackTrace);
     }
     finally
     {
         FileManager.Current.Clean();
     }
 }