Beispiel #1
0
 private void client_IsArchivesCanBrowserCompleted(object sender, IsArchivesCanBrowserCompletedEventArgs e)
 {
     try
     {
         if (e.Result)
         {
             CFrmArchivesBrowser BrowserFrm = new CFrmArchivesBrowser(lendingDelID[0]);
             BrowserFrm.Title = "查看档案";
             BrowserFrm.Show();
         }
         else
         {
             HtmlPage.Window.Alert("此档案不能被查看!");
         }
     }
     catch (Exception ex)
     {
         HtmlPage.Window.Alert(ex.ToString());
     }
 }
Beispiel #2
0
 private void client_IsArchivesCanBrowserCompleted(object sender, IsArchivesCanBrowserCompletedEventArgs e)
 {
     try
     {
         if (e.Result)
         {
             CFrmArchivesBrowser BrowserFrm = new CFrmArchivesBrowser(lendingDelID[0]);
             BrowserFrm.Title = "查看档案";
             BrowserFrm.Show();
         }
         else
         {
             HtmlPage.Window.Alert("此档案不能被查看!");
         }
     }
     catch (Exception ex)
     {
         HtmlPage.Window.Alert(ex.ToString());
     }
 }