Exemplo n.º 1
0
 private void RemoveSizeCondition(SizeFilterCondition Condition)
 {
     if (SizeCondition != SizeFilterCondition.None)
     {
         SizeCondition ^= Condition;
     }
 }
Exemplo n.º 2
0
        private void ResetAllSettings()
        {
            nameFilterCheckBox1 = false;
            nameFilterCheckBox2 = false;
            nameFilterCheckBox3 = false;
            nameFilterCheckBox4 = false;
            nameFilterCheckBox5 = false;
            nameFilterCheckBox6 = false;
            regexExpression     = string.Empty;

            modFilterCheckBox1 = false;
            modFilterCheckBox2 = false;
            modFilterCheckBox3 = false;
            modFilterCheckBox4 = false;

            sizeFilterCheckBox1 = false;
            sizeFilterCheckBox2 = false;
            sizeFilterCheckBox3 = false;
            sizeFilterCheckBox4 = false;

            TypeFilter.Clear();
            NameCondition    = NameFilterCondition.None;
            ModTimeCondition = ModTimeFilterCondition.None;
            SizeCondition    = SizeFilterCondition.None;
            fromDate         = null;
            toDate           = null;

            PropertyChanged?.Invoke(this, new PropertyChangedEventArgs(nameof(NameFilterCheckBox1)));
            PropertyChanged?.Invoke(this, new PropertyChangedEventArgs(nameof(NameFilterCheckBox2)));
            PropertyChanged?.Invoke(this, new PropertyChangedEventArgs(nameof(NameFilterCheckBox3)));
            PropertyChanged?.Invoke(this, new PropertyChangedEventArgs(nameof(NameFilterCheckBox4)));
            PropertyChanged?.Invoke(this, new PropertyChangedEventArgs(nameof(NameFilterCheckBox5)));
            PropertyChanged?.Invoke(this, new PropertyChangedEventArgs(nameof(NameFilterCheckBox6)));
            PropertyChanged?.Invoke(this, new PropertyChangedEventArgs(nameof(RegexExpression)));
            PropertyChanged?.Invoke(this, new PropertyChangedEventArgs(nameof(ModTimeFilterCheckBox1)));
            PropertyChanged?.Invoke(this, new PropertyChangedEventArgs(nameof(ModTimeFilterCheckBox2)));
            PropertyChanged?.Invoke(this, new PropertyChangedEventArgs(nameof(ModTimeFilterCheckBox3)));
            PropertyChanged?.Invoke(this, new PropertyChangedEventArgs(nameof(ModTimeFilterCheckBox4)));
            PropertyChanged?.Invoke(this, new PropertyChangedEventArgs(nameof(FromDate)));
            PropertyChanged?.Invoke(this, new PropertyChangedEventArgs(nameof(ToDate)));
            PropertyChanged?.Invoke(this, new PropertyChangedEventArgs(nameof(SizeFilterCheckBox1)));
            PropertyChanged?.Invoke(this, new PropertyChangedEventArgs(nameof(SizeFilterCheckBox2)));
            PropertyChanged?.Invoke(this, new PropertyChangedEventArgs(nameof(SizeFilterCheckBox3)));
            PropertyChanged?.Invoke(this, new PropertyChangedEventArgs(nameof(SizeFilterCheckBox4)));
            PropertyChanged?.Invoke(this, new PropertyChangedEventArgs(nameof(TypeCheckBoxPanel)));
        }
Exemplo n.º 3
0
 private void AddSizeCondition(SizeFilterCondition Condition)
 {
     SizeCondition |= Condition;
 }