| 12345678910111213141516171819202122232425262728293031323334353637383940 | 
							- using System;
 
- using System.Collections.Generic;
 
- using System.Linq;
 
- using System.Text;
 
- using System.Threading.Tasks;
 
- using System.Windows.Data;
 
- using Venus_Core;
 
- namespace Venus_Themes.Converters
 
- {
 
-     public class ToBoolMultiValueConverter6 : IMultiValueConverter
 
-     {
 
-         public object Convert(object[] values, Type targetType, object parameter, System.Globalization.CultureInfo culture)
 
-         {
 
-             if (values == null) return false;
 
-             if (((bool)values[0] == false))
 
-             {
 
-                 return false;
 
-             }
 
-             if ((bool)values[1] == true && (bool)values[2] == true)
 
-             {
 
-                 return true;
 
-             }
 
-             for (int i = 3; i < values.Length; i++)
 
-             {
 
-                 if ((bool)values[i] == true)
 
-                 {
 
-                     return true;
 
-                 }
 
-             }
 
-             return false;
 
-         }
 
-         public object[] ConvertBack(object value, Type[] targetTypes, object parameter, System.Globalization.CultureInfo culture)
 
-         {
 
-             throw new NotImplementedException();
 
-         }
 
-     }
 
- }
 
 
  |