static void dlgLotus_LotusCredentialSet(object sender, LotusCredentialSetEventArgs e) { try { var dlgLotus = sender as WndLotusCredentials; if(dlgLotus!=null) dlgLotus.LotusCredentialSet -= dlgLotus_LotusCredentialSet; _contacts = new List<Tuple<string, string>>(); loadContacts(e.ContactsView); loadContacts(e.PeopleView); } catch (Exception ex) { PNStatic.LogException(ex); } }
static void dlgLotus_LotusCredentialSet(object sender, LotusCredentialSetEventArgs e) { try { var dlgLotus = sender as WndLotusCredentials; if (dlgLotus != null) { dlgLotus.LotusCredentialSet -= dlgLotus_LotusCredentialSet; } _contacts = new List <Tuple <string, string> >(); loadContacts(e.ContactsView); loadContacts(e.PeopleView); } catch (Exception ex) { PNStatic.LogException(ex); } }