Exemplo n.º 1
0
 private void InitEvent()
 {
     client = new SmtOADocumentAdminClient();
     //client.GetArchivesCanBorrowCompleted += new EventHandler<GetArchivesCanBorrowCompletedEventArgs>(client_GetArchivesCanBorrowCompleted);
     client.GetArchivesCanBorrowByConditionCompleted += new EventHandler <GetArchivesCanBorrowByConditionCompletedEventArgs>(client_GetArchivesCanBorrowByConditionCompleted);
     //client.GetArchivesCanBorrowAsync();
     client.GetArchivesCanBorrowByConditionAsync("", "");
 }
Exemplo n.º 2
0
 private void InitEvent()
 {
     client = new SmtOADocumentAdminClient();
     //client.GetArchivesCanBorrowCompleted += new EventHandler<GetArchivesCanBorrowCompletedEventArgs>(client_GetArchivesCanBorrowCompleted);
     client.GetArchivesCanBorrowByConditionCompleted += new EventHandler<GetArchivesCanBorrowByConditionCompletedEventArgs>(client_GetArchivesCanBorrowByConditionCompleted);
     //client.GetArchivesCanBorrowAsync();
     client.GetArchivesCanBorrowByConditionAsync("", "");
 }
Exemplo n.º 3
0
 private void SearchBtn_Click(object sender, RoutedEventArgs e)
 {
     //if (!string.IsNullOrEmpty(txtSearchType.Text.Trim()) || !string.IsNullOrEmpty(txtSearchTitle.Text.Trim()))
     //{
     //    client.GetArchivesCanBorrowByConditionAsync(txtSearchTitle.Text.Trim(),txtSearchType.Text.Trim());
     //}
     //else
     //{
     //    client.GetArchivesCanBorrowByConditionAsync("", "");
     //}
     client.GetArchivesCanBorrowByConditionAsync(txtSearchTitle.Text.Trim(), txtSearchType.Text.Trim());
 }