示例#1
0
        private static void DeviceChannelChange(DependencyObject obj, DependencyPropertyChangedEventArgs r)
        {
            OnvifDeviceInfo onVifDeviceInfo   = (OnvifDeviceInfo)obj;
            Label           deviceRtspAddress = onVifDeviceInfo.DeviceChannel;

            deviceRtspAddress.Content = r.NewValue;
        }
示例#2
0
        private static void DeviceNameChange(DependencyObject obj, DependencyPropertyChangedEventArgs r)
        {
            OnvifDeviceInfo onVifDeviceInfo = (OnvifDeviceInfo)obj;
            Label           deviceName      = onVifDeviceInfo.DeviceName;

            deviceName.Content = r.NewValue;
        }