Example #1
0
 internal static List<Tuple<string, string>> GetLotusContacts(Window owner)
 {
     try
     {
         var dlgLotus = new WndLotusCredentials { Owner = owner };
         dlgLotus.LotusCredentialSet += dlgLotus_LotusCredentialSet;
         var showDialog = dlgLotus.ShowDialog();
         if (showDialog == null || !showDialog.Value)
         {
             dlgLotus.LotusCredentialSet -= dlgLotus_LotusCredentialSet;
         }
         return _contacts;
     }
     catch (Exception ex)
     {
         PNStatic.LogException(ex);
         return null;
     }
 }