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
        {