/***********************************************
         * Common
         ***********************************************/
        public ExtractForm()
        {
            InitializeComponent();
            // default to main tab
            tabGenerateTableData.SelectedTab = tabPage2;

            this.txtOwnerName.Text = this.txtUserId.Text;

            // Panel Configuration load the configuration
            SerializeUtil serUtil = new SerializeUtil();
            ConfigurationObject conf = new ConfigurationObject();
            conf = (ConfigurationObject)serUtil.DeSerialize(conf);
            setConf(conf);

            // Panel Preload Table
            for (int i = 0; i < this.preloadTablsList.Items.Count; i++)
            {
                this.genPreloadTableList.Items.Add(preloadTablsList.Items[i]);
            }
        }
        // save configuration to file
        private void btnSaveConf_Click(object sender, EventArgs e)
        {
            ConfigurationObject saveConfObj = new ConfigurationObject();
            saveConfObj.DataSource = this.txtDataSource.Text;
            saveConfObj.UserID = this.txtUserId.Text;
            saveConfObj.Password = this.txtPassword.Text;
            saveConfObj.ExportFilePath = this.txtExportPath.Text;

            saveConfObj.PreloadTableNameList = new List<string>();
            foreach (var item in this.preloadTablsList.Items)
            {
                saveConfObj.PreloadTableNameList.Add(item.ToString());
            }

            SerializeUtil serUtil = new SerializeUtil();
            serUtil.Serialize(saveConfObj);
        }