Exemplo n.º 1
0
 void btn_open_document_Click(Microsoft.Office.Core.CommandBarButton Ctrl, ref bool CancelDefault)
 {
     try
     {
         Connect.isLoggedIn();
         this.CheckMailCount();
         if (countMail() == 1)
         {
             frm_choose_document_opt frm_doc = new frm_choose_document_opt();
         }
     }
     catch (Exception e)
     {
         Connect.handleException(e);
     }
 }
Exemplo n.º 2
0
 void btn_open_document_Click(Microsoft.Office.Core.CommandBarButton Ctrl, ref bool CancelDefault)
 {
     try
     {
         Connect.isLoggedIn();
         this.CheckMailCount();
         if (countMail() == 1)
         {
             frm_choose_document_opt frm_doc = new frm_choose_document_opt();
         }
     }
     catch (Exception e)
     {
         Connect.handleException(e);
     }
 }