alielie
2026-03-02 12e606635c42ea20f4b7c2bdda5204237a4b4c96
HMI.StdControl/StdEnableMes.xaml.cs
@@ -2,6 +2,7 @@
using System;
using System.ComponentModel;
using System.Runtime.CompilerServices;
using System.Windows;
using System.Windows.Controls;
namespace HMI.StdControl
@@ -44,6 +45,21 @@
            }
        }
        public static DependencyProperty CbEnabledProperty = DependencyProperty.Register(
                            "CbEnabled",
                            typeof(bool),
                            typeof(StdEnableMes),
                            new FrameworkPropertyMetadata(true));
        public bool CbEnabled
        {
            get => (bool)GetValue(CbEnabledProperty);
            set
            {
                SetValue(CbEnabledProperty, value);
            }
        }
        private bool enableMes;
        public bool EnableMes
        {