private void BtnAddRule_Click(object sender, EventArgs e)
        {
            if (this.txtOriText.Text.Trim() == "")
            {
                System.Windows.Forms.MessageBox.Show("Original Character is not allowed none", "Infomation");
                return;
            }
            else
            {
                string key = this.txtOriText.Text.Trim();
                if (CharacterDictionary.Keys.Contains <string>(key))
                {
                    System.Windows.Forms.MessageBox.Show("Original Character[" + key + "] has been added,please add another one!", "Infomation");
                    return;
                }
            }
            if (this.txtReplacement.Text.Trim() == "")
            {
                System.Windows.Forms.MessageBox.Show("Replacement Character is not allowed none", "Infomation");
                return;
            }
            CharacterDictionary.Add(this.txtOriText.Text.Trim(), this.txtReplacement.Text.Trim());
            ListViewItem item = new ListViewItem();

            item.Text = (lstvReplacement.Items.Count + 1).ToString();
            item.SubItems.Add(this.txtOriText.Text.Trim());
            item.SubItems.Add("->");
            item.SubItems.Add(this.txtReplacement.Text.Trim());
            this.lstvReplacement.Items.Add(item);
        }
        /// <summary>
        /// Initial form objects
        /// </summary>
        public void Initial()
        {
            //Initial Global System Configuration
            SystemConfiguration.Initial(System.Windows.Forms.Application.ExecutablePath);
            //Inital Global LogClass
            LoggerHelper.Initial(this.rtxtLog, SystemConfiguration.LoggerClassName);
            LoggerHelper.Clear();
            //
            LoadConfigurations();
            //
            RegexRegularClass.Initial(SystemConfiguration.GetValue("RegexRegular_Invalid"));

            //Clear TextBox.Text
            this.txtOriginalDir.Clear();
            //this.txtOriginalDir.Text = @"c:\test";
            this.textBox1.Visible = false;
            this.textBox2.Visible = false;
            //this.button1.Visible = false;

            //rtn.SetFileNameRegexRegular(SystemConfiguration.GetValue("NavigationSourceFileNameRegex"));
            //rtn.SetFileNameRegexReplacement(SystemConfiguration.GetValue("NavigationReplacementFileNameRegex"));
            this.txtFileNameSearchReg.Text      = SystemConfiguration.GetValue("NavigationSourceFileNameRegex");
            this.txtFileNameReplacementReg.Text = SystemConfiguration.GetValue("NavigationReplacementFileNameRegex");

            this.txtHTMSearchReg.Text       = SystemConfiguration.GetValue("NavigationSourceHTMLRegex");
            this.txtHTMLReplacementReg.Text = SystemConfiguration.GetValue("NavigationReplacementHTMLRegex");



            //Initial CharacterDictionay
            CharacterDictionary.Initial(lstvReplacement.Items[0].SubItems[3].Text.Trim());
            foreach (ListViewItem item in lstvReplacement.Items)
            {
                if (item.Text == "1")
                {
                    continue;
                }
                CharacterDictionary.Add(item.SubItems[1].Text, item.SubItems[3].Text);
            }

            foreach (var item in CharacterDictionary.Keys)
            {
                LoggerHelper.Debug("key=" + item + ";value=" + CharacterDictionary.GetValue(item).ToString() + "\r\n");
            }
        }