예제 #1
0
        private Winform.SimpleSearchCondition FetchFromUI()
        {
            SimpleSearchCondition con = new SimpleSearchCondition()
            {
                IsFuzzyMathching = this.radioButton_fuzzy.Checked,
                IsIncludingOrNot = this.radioButton_include.Checked,
                Word             = this.textBox_word.Text.Trim()
            };

            return(con);
        }
예제 #2
0
 private void button_ok_Click(object sender, EventArgs e)
 {
     this.con          = FetchFromUI();
     this.DialogResult = System.Windows.Forms.DialogResult.OK;
 }
예제 #3
0
 public SimpleSearchForm(SimpleSearchCondition SimpleSearchCondition)
 {
     InitializeComponent();
     this.SimpleSearchCondition = SimpleSearchCondition;
 }