修改信息页面MonitorView的显示逻辑,添加步骤表选择和右键的限制

This commit is contained in:
sc committed 2025-04-25 23:44:36 +08:00
1 parent de843f4e90
commit 0345229416
6 files changed
+389 -32

No files matched your search

+27
View File
@@ -0,0 +1,27 @@
using System;
using System.Collections.Generic;
using System.Globalization;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Windows;
using System.Windows.Data;
namespace SunlightCentralizedControlManagement_SCCM_.ConvertMoels
{
internal class BoolToVisidilityConvert : IValueConverter
{
public object Convert(object value, Type targetType, object parameter, System.Globalization.CultureInfo culture)
{
return (value is bool boolvalue && boolvalue) ?
Visibility.Visible:
Visibility.Collapsed;
}
public object ConvertBack(object value, Type targetType, object parameter, System.Globalization.CultureInfo culture)
{
throw new NotImplementedException();
}
}
}