Interaction logic for DeviceStatusUserControl.xaml
Inheritance: System.Windows.Controls.UserControl
示例#1
0
        private static void KinectStatusPropertyChanged(DependencyObject d, DependencyPropertyChangedEventArgs e)
        {
            DeviceStatusUserControl deviceStatusUserControl = (DeviceStatusUserControl)d;
            KinectStatus            kinectStatus            = (KinectStatus)e.NewValue;

            deviceStatusUserControl.UpdateKinectStatus(kinectStatus);
        }
示例#2
0
        private static void CarControllerStatusPropertyChanged(DependencyObject d, DependencyPropertyChangedEventArgs e)
        {
            DeviceStatusUserControl deviceStatusUserControl = (DeviceStatusUserControl)d;
            CarControllerStatus     carControllerStatus     = (CarControllerStatus)e.NewValue;

            deviceStatusUserControl.UpdateCarControllerStatus(carControllerStatus);
        }