コード例 #1
0
 public ModeItem(SearchBoxBase sb, SearchBoxMode mode)
     : base(sb)
 {
     this.Mode = mode;
     this.Text = Mode.ToString();
     Check();
 }
コード例 #2
0
        protected override bool Supports(SearchBoxMode Mode)
        {
            switch (Mode)
            {
                case SearchBoxMode.Filter:
                    return CanFilter;
                case SearchBoxMode.Lookup:
                    //isvalid &= source.SupportsSearching;
                    break;
            }
            //DataGridView dg;

            return true;
        }
コード例 #3
0
 protected virtual bool Supports(SearchBoxMode Mode)
 {
     return true;
 }
コード例 #4
0
 protected override bool Supports(SearchBoxMode Mode)
 {
     return base.Supports(Mode) && Mode != SearchBoxMode.Filter;
 }
コード例 #5
0
 public StringSearchMatcher(SearchBoxMode Mode, string SearchValue)
     : this(Mode)
 {
     this.SearchText = SearchValue;
 }
コード例 #6
0
 public StringSearchMatcher(SearchBoxMode Mode)
 {
     this.Mode = Mode;
 }