/// <summary>
        /// Sets the connector of the search and table type control
        /// </summary>
        /// <param name="connector">The instance of the connector</param>
        private void SetConnector(Connector connector)
        {
            SearchControl.SetConnector(connector);
            TableTypeControl.SetConnector(connector);
            ClassGeneratorControl.SetConnector(connector);

            LoadData(TabControl.SelectedIndex);
        }
        /// <summary>
        /// Loads the data of the desired control
        /// </summary>
        /// <param name="tabIndex">The tab index</param>
        private void LoadData(int tabIndex)
        {
            switch (tabIndex)
            {
            case 1:
                TableTypeControl.LoadData();
                break;

            case 2:
                ClassGeneratorControl.LoadData();
                break;
            }
        }
 /// <summary>
 /// Clears the content of the controls
 /// </summary>
 private void ClearControl()
 {
     SearchControl.Clear();
     TableTypeControl.Clear();
     ClassGeneratorControl.Clear();
 }