Interaction logic for DeviceStatusUserControl.xaml
상속: 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);
        }