void frmContactEditor::AddBusinessNickname( wxCommandEvent& event )
{
- int intResult = 0;
-
+ // Bring up the window for adding a nickname.
+
frmContactEditorNickname *frameCENickname = new frmContactEditorNickname ( this );
frameCENickname->SetEditorMode(FALSE, CE_WORK);
- intResult = GetLastInt(&ContactEditorData.BusinessNicknamesList);
frameCENickname->SetupPointers(&ContactEditorData.BusinessNicknamesList,
&ContactEditorData.BusinessNicknamesListAltID,
&ContactEditorData.BusinessNicknamesListPID,
void frmContactEditor::ModifyBusinessNickname( wxCommandEvent& event )
{
+ // Bring up the window for modifying a nickname.
+
long longSelected = -1;
int intSelectedData = 0;
void frmContactEditor::DeleteBusinessNickname( wxCommandEvent& event )
{
+ // Bring up the window to delete the nickname.
+
long longSelected = -1;
int intSelectedData = 0;
void frmContactEditor::AddBusinessAddress( wxCommandEvent& event )
{
- int intResult = 0;
+ // Bring up the window for adding an address.
frmContactEditorAddress *frameCEAddress = new frmContactEditorAddress ( this );
frameCEAddress->SetEditorMode(FALSE, CE_WORK);
- intResult = GetLastInt(&ContactEditorData.BusinessAddressList);
frameCEAddress->SetupPointers(&ContactEditorData.BusinessAddressList,
&ContactEditorData.BusinessAddressListTown,
&ContactEditorData.BusinessAddressListCounty,
void frmContactEditor::ModifyBusinessAddress( wxCommandEvent& event )
{
+ // Bring up a window for editing an address.
+
long longSelected = -1;
int intSelectedData = 0;
void frmContactEditor::DeleteBusinessAddress( wxCommandEvent& event )
{
+ // Bring up the window for deleting the address.
+
long longSelected = -1;
int intSelectedData = 0;
void frmContactEditor::AddBusinessEmail( wxCommandEvent& event )
{
- int intResult = 0;
+ // Bring up the window for adding an email address.
frmContactEditorEmail *frameCEEmail = new frmContactEditorEmail ( this );
frameCEEmail->SetEditorMode(FALSE, CE_WORK);
- intResult = GetLastInt(&ContactEditorData.BusinessAddressList);
frameCEEmail->SetupPointers(&ContactEditorData.BusinessEmailList,
&ContactEditorData.BusinessEmailListAltID,
&ContactEditorData.BusinessEmailListPID,
void frmContactEditor::ModifyBusinessEmail( wxCommandEvent& event )
{
+ // Bring up the window for modifying the email address.
+
long longSelected = -1;
int intSelectedData = 0;
void frmContactEditor::DeleteBusinessEmail( wxCommandEvent& event )
{
+ // Bring up the window to delete the email address.
+
long longSelected = -1;
int intSelectedData = 0;
void frmContactEditor::AddBusinessIM( wxCommandEvent& event )
{
- int intResult = 0;
+ // Bring up the window for adding an IM address.
frmContactEditorIM *frameCEIM = new frmContactEditorIM ( this );
frameCEIM->SetEditorMode(FALSE, CE_WORK);
- intResult = GetLastInt(&ContactEditorData.BusinessIMList);
frameCEIM->SetupPointers(&ContactEditorData.BusinessIMList,
&ContactEditorData.BusinessIMListAltID,
&ContactEditorData.BusinessIMListPID,
void frmContactEditor::ModifyBusinessIM( wxCommandEvent& event )
{
+ // Bring up the window for editing an IM address.
+
long longSelected = -1;
int intSelectedData = 0;
void frmContactEditor::DeleteBusinessIM( wxCommandEvent& event )
{
+ // Bring up the window for deleting an IM address.
+
long longSelected = -1;
int intSelectedData = 0;
void frmContactEditor::AddBusinessTelephone( wxCommandEvent& event )
{
- int intResult = 0;
+ // Bring up the window for adding a telephone number.
frmContactEditorTelephone *frameCETel = new frmContactEditorTelephone ( this );
frameCETel->SetEditorMode(FALSE, CE_WORK);
- intResult = GetLastInt(&ContactEditorData.BusinessTelephoneList);
frameCETel->SetupPointers(&ContactEditorData.BusinessTelephoneList,
&ContactEditorData.BusinessTelephoneListAltID,
&ContactEditorData.BusinessTelephoneListPID,
void frmContactEditor::ModifyBusinessTelephone( wxCommandEvent& event )
{
+ // Bring up the address for editing a telephone number.
+
long longSelected = -1;
int intSelectedData = 0;
void frmContactEditor::DeleteBusinessTelephone( wxCommandEvent& event )
{
+ // Bring up the window for deleting a telephone number.
+
long longSelected = -1;
int intSelectedData = 0;
void frmContactEditor::AddBusinessLanguage( wxCommandEvent& event )
{
- int intResult = 0;
+ // Bring up the window for adding a language.
frmContactEditorLanguages *frameCELang = new frmContactEditorLanguages ( this );
frameCELang->SetEditorMode(FALSE, CE_WORK);
- intResult = GetLastInt(&ContactEditorData.BusinessLanguageList);
frameCELang->SetupPointers(&ContactEditorData.BusinessLanguageList,
&ContactEditorData.BusinessLanguageListAltID,
&ContactEditorData.BusinessLanguageListPID,
void frmContactEditor::ModifyBusinessLanguage( wxCommandEvent& event )
{
+ // Bring up the window for editing a language.
+
long longSelected = -1;
int intSelectedData = 0;
void frmContactEditor::DeleteBusinessLanguage( wxCommandEvent& event )
{
+ // Bring up the window for deleting a language.
+
long longSelected = -1;
int intSelectedData = 0;
void frmContactEditor::AddBusinessTimezone( wxCommandEvent& event )
{
- int intResult = 0;
+ // Bring up the window for adding a timezone.
frmContactEditorTimezones *frameCETZ = new frmContactEditorTimezones ( this );
frameCETZ->SetEditorMode(FALSE, CE_WORK);
- intResult = GetLastInt(&ContactEditorData.BusinessTZList);
frameCETZ->SetupPointers(&ContactEditorData.BusinessTZList,
&ContactEditorData.BusinessTZListAltID,
&ContactEditorData.BusinessTZListPID,
void frmContactEditor::ModifyBusinessTimezone( wxCommandEvent& event )
{
+ // Bring up the window for modifying a timezone.
+
long longSelected = -1;
int intSelectedData = 0;
void frmContactEditor::DeleteBusinessTimezone( wxCommandEvent& event )
{
+ // Bring up the window for deleting a timezone.
+
long longSelected = -1;
int intSelectedData = 0;
void frmContactEditor::AddBusinessGeoposition( wxCommandEvent& event )
{
- int intResult = 0;
+ // Bring up the window for adding a geoposition location.
frmContactEditorGeoposition *frameCEGeo = new frmContactEditorGeoposition ( this );
frameCEGeo->SetEditorMode(FALSE, CE_WORK);
- intResult = GetLastInt(&ContactEditorData.BusinessGeographyList);
frameCEGeo->SetupPointers(&ContactEditorData.BusinessGeographyList,
&ContactEditorData.BusinessGeographyListAltID,
&ContactEditorData.BusinessGeographyListPID,
void frmContactEditor::ModifyBusinessGeoposition( wxCommandEvent& event )
{
+ // Bring up the window for editing a geoposition location.
+
long longSelected = -1;
int intSelectedData = 0;
void frmContactEditor::DeleteBusinessGeoposition( wxCommandEvent& event )
{
+ // Bring up the window for deleting a geoposition location.
+
long longSelected = -1;
int intSelectedData = 0;
void frmContactEditor::AddBusinessWebsite( wxCommandEvent& event )
{
- int intResult = 0;
+ // Bring up the window for adding a website.
frmContactEditorWebsites *frameCEWeb = new frmContactEditorWebsites ( this );
frameCEWeb->SetEditorMode(FALSE, CE_WORK);
- intResult = GetLastInt(&ContactEditorData.BusinessWebsiteList);
frameCEWeb->SetupPointers(&ContactEditorData.BusinessWebsiteList,
&ContactEditorData.BusinessWebsiteListAltID,
&ContactEditorData.BusinessWebsiteListPID,
void frmContactEditor::ModifyBusinessWebsite( wxCommandEvent& event )
{
+ // Bring up a window for editing a website.
+
long longSelected = -1;
int intSelectedData = 0;
void frmContactEditor::DeleteBusinessWebsite( wxCommandEvent& event )
{
+ // Bring up the window for deleting a website.
+
long longSelected = -1;
int intSelectedData = 0;
void frmContactEditor::AddBusinessTitle( wxCommandEvent& event )
{
- int intResult = 0;
+ // Bring up the window for adding a title.
frmContactEditorTitles *frameCETitle = new frmContactEditorTitles ( this );
frameCETitle->SetEditorMode(FALSE, CE_WORK);
- intResult = GetLastInt(&ContactEditorData.BusinessTitleList);
frameCETitle->SetupPointers(&ContactEditorData.BusinessTitleList,
&ContactEditorData.BusinessTitleListLanguage,
&ContactEditorData.BusinessTitleListAltID,
void frmContactEditor::ModifyBusinessTitle( wxCommandEvent& event )
{
+ // Bring up the window for editing a title.
+
long longSelected = -1;
int intSelectedData = 0;
void frmContactEditor::DeleteBusinessTitle( wxCommandEvent& event )
{
+ // Bring up the window to delete the title.
+
long longSelected = -1;
int intSelectedData = 0;
void frmContactEditor::AddBusinessRole( wxCommandEvent& event )
{
- int intResult = 0;
+ // Bring up the window to add a role.
frmContactEditorRoles *frameCERole = new frmContactEditorRoles ( this );
frameCERole->SetEditorMode(FALSE, CE_WORK);
- intResult = GetLastInt(&ContactEditorData.BusinessRoleList);
frameCERole->SetupPointers(&ContactEditorData.BusinessRoleList,
&ContactEditorData.BusinessRoleListLanguage,
&ContactEditorData.BusinessRoleListAltID,
void frmContactEditor::ModifyBusinessRole( wxCommandEvent& event )
{
+ // Bring up the window for editing a role.
+
long longSelected = -1;
int intSelectedData = 0;
void frmContactEditor::DeleteBusinessRole( wxCommandEvent& event )
{
+ // Bring up the window to delete a role.
+
long longSelected = -1;
int intSelectedData = 0;
void frmContactEditor::AddBusinessOrganisation( wxCommandEvent& event )
{
- int intResult = 0;
-
+ // Bring up the window to add an organisation.
+
frmContactEditorOrganisations *frameCEOrg = new frmContactEditorOrganisations ( this );
frameCEOrg->SetEditorMode(FALSE, CE_WORK);
- intResult = GetLastInt(&ContactEditorData.BusinessOrganisationsList);
frameCEOrg->SetupPointers(&ContactEditorData.BusinessOrganisationsList,
&ContactEditorData.BusinessOrganisationsListLanguage,
&ContactEditorData.BusinessOrganisationsListSortAs,
void frmContactEditor::ModifyBusinessOrganisation( wxCommandEvent& event )
{
+ // Bring up the window to edit an organisation.
+
long longSelected = -1;
int intSelectedData = 0;
void frmContactEditor::DeleteBusinessOrganisation( wxCommandEvent& event )
{
+ // Bring up the window to delete a organisation.
+
long longSelected = -1;
int intSelectedData = 0;
void frmContactEditor::AddBusinessNote( wxCommandEvent& event )
{
- int intResult = 0;
+ // Bring up the window to add a note.
frmContactEditorNotes *frameCENote = new frmContactEditorNotes ( this );
frameCENote->SetEditorMode(FALSE, CE_WORK);
- intResult = GetLastInt(&ContactEditorData.BusinessNoteList);
frameCENote->SetupPointers(&ContactEditorData.BusinessNoteList,
&ContactEditorData.BusinessNoteListLanguage,
&ContactEditorData.BusinessNoteListAltID,
void frmContactEditor::ModifyBusinessNote( wxCommandEvent& event )
{
+ // Bring up the window to edit a note.
+
long longSelected = -1;
int intSelectedData = 0;
void frmContactEditor::DeleteBusinessNote( wxCommandEvent& event )
{
+ // Bring up the window to delete a note.
+
long longSelected = -1;
int intSelectedData = 0;