Ejemplo n.º 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());
     }
 }
Ejemplo n.º 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());
     }
 }