private void toolStripMenuItemFilterConfig_Click(object sender, EventArgs e)
        {
            var form = new FilterConfigForm();


            if (form.ShowDialog() == DialogResult.OK)
            {
                filterConfig = form.FilterConfig;
            }
        }
Exemple #2
0
        private void toolStripMenuItemFilterConfig_Click(object sender, EventArgs e)
        {
            FilterConfigForm form=new FilterConfigForm();
         

            if (form.ShowDialog() == DialogResult.OK)
            {
                this.filterConfig = form.FilterConfig;
            }
        }
Exemple #3
0
        private void toolStripMenuItemFilterConfig_Click(object sender, EventArgs e)
        {
            FilterConfigForm form=new FilterConfigForm();
            form.WordLengthFrom = minLength;
            form.WordLengthTo = maxLength;
            form.WordRankFrom = minRank;
            form.WordRankTo = maxRank;
            form.IgnoreEnglish = filterEnglish;
            form.IgnoreSpace = filterSpaceWord;

            if (form.ShowDialog() == DialogResult.OK)
            {
                minLength =       form.WordLengthFrom;
                maxLength =       form.WordLengthTo;
                minRank =         form.WordRankFrom;
                maxRank =         form.WordRankTo;
                filterEnglish =   form.IgnoreEnglish;
                filterSpaceWord = form.IgnoreSpace;
            }
        }