private void UnloadProjectHandler() { if (ProjectSelectorHandler != null) { LeftDatabasePanel.Controls.Remove((Control)LeftDatabaseSelector); RightDatabasePanel.Controls.Remove((Control)RightDatabaseSelector); ProjectSelectorHandler.Unload(); ProjectSelectorHandler = null; } }