wenxiangchao
2026-11-02 fe2aa4880d5c9fd88088ad0ed81ebaca05629f5f
1
2
3
4
5
6
7
8
9
10
11
12
13
<UserControl x:Class="HMI.StdControl.StdEnableMes"
             xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
             xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
             xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006" 
             xmlns:d="http://schemas.microsoft.com/expression/blend/2008" 
             xmlns:local="clr-namespace:HMI.StdControl"
             mc:Ignorable="d" 
             d:DesignHeight="450" d:DesignWidth="800">
    <CheckBox x:Name="CbEnableMes" IsChecked="{Binding EnableMes,Mode=TwoWay,UpdateSourceTrigger=PropertyChanged}" 
              VerticalContentAlignment="Center"
              IsEnabled="{Binding CbEnabled}"
              Content="{DynamicResource Ts.EnableMes}" />
</UserControl>