private void ContactListControlDoShowContactsInList(object sender, EventArgs e)
{
if (_contactListControl == null) return;
_contactListControl.DoShowContactsInList -= ContactListControlDoShowContactsInList;
_contactListControl.Parent = null;
_contactListControl = null;
//show the contact API calls control
_contactControl = new ContactControl(this, _credentialsDetails)
{Dock = DockStyle.Fill, Parent = splitContainer.Panel1};
_contactControl.DoBack += (ContactControlDoBack);
}