Commit 7594f49a by 鲁志-悦动

加上算法红绿状态灯 And 空格设置成快捷键

parent 213d03ee
using System; using System;
using System.Collections.Generic;
using System.Globalization; using System.Globalization;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Windows.Data; using System.Windows.Data;
using VIZ.FGOUT.Domain; using VIZ.FGOUT.Domain;
using VIZ.FGOUT.Storage; using VIZ.FGOUT.Storage;
......
...@@ -10,11 +10,11 @@ none ...@@ -10,11 +10,11 @@ none
false false
DEBUG;TRACE DEBUG;TRACE
20-1486193684 201334349489
1470602451 1-1441241311
11-350624472 11-1602666439
24-1321085892 23-2035776870
Style\Button\Button_NdiView.xaml;Style\Button\Button_Setting.xaml;Style\Button\Button_WindowTop.xaml;Style\CheckBox\CheckBox_NdiView.xaml;Style\CheckBox\CheckBox_RaidoButtonStyle.xaml;Style\CheckBox\CheckBox_Setting.xaml;Style\CheckBox\CheckBox_WindowTop.xaml;Style\ComboBox\ComboBox_Setting.xaml;Style\HotkeyBox\HotkeyBox_Setting.xaml;Style\MessageBox\MessageBoxEx.xaml;Style\RadioButton\RadioButton_FootballSide.xaml;Style\RadioButton\RadioButton_NdiMainViewBlue.xaml;Style\RadioButton\RadioButton_NdiView.xaml;Style\RadioButton\RadioButton_Setting.xaml;Style\Slider\Slider_Setting.xaml;Style\TextBlock\TextBlock_Setting.xaml;Style\TextBox\TextBox_Setting.xaml;Style\ToogleButton\ToogleButton_Setting.xaml;Themes\Generic.xaml;Toolkit\NumericUpDown\NumericUpDown.xaml; Style\Button\Button_NdiView.xaml;Style\Button\Button_Setting.xaml;Style\Button\Button_WindowTop.xaml;Style\CheckBox\CheckBox_NdiView.xaml;Style\CheckBox\CheckBox_RaidoButtonStyle.xaml;Style\CheckBox\CheckBox_Setting.xaml;Style\CheckBox\CheckBox_WindowTop.xaml;Style\ComboBox\ComboBox_Setting.xaml;Style\HotkeyBox\HotkeyBox_Setting.xaml;Style\MessageBox\MessageBoxEx.xaml;Style\RadioButton\RadioButton_FootballSide.xaml;Style\RadioButton\RadioButton_NdiMainViewBlue.xaml;Style\RadioButton\RadioButton_NdiView.xaml;Style\RadioButton\RadioButton_Setting.xaml;Style\Slider\Slider_Setting.xaml;Style\TextBlock\TextBlock_Setting.xaml;Style\TextBox\TextBox_Setting.xaml;Style\ToogleButton\ToogleButton_Setting.xaml;Themes\Generic.xaml;Toolkit\NumericUpDown\NumericUpDown.xaml;
False True
using System; namespace VIZ.FGOUT.Module
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace VIZ.FGOUT.Module
{ {
/// <summary> /// <summary>
/// 循环支持 /// 循环支持
......
...@@ -6,6 +6,7 @@ using System.Threading.Tasks; ...@@ -6,6 +6,7 @@ using System.Threading.Tasks;
using VIZ.FGOUT.Domain; using VIZ.FGOUT.Domain;
using VIZ.FGOUT.Storage; using VIZ.FGOUT.Storage;
using VIZ.Framework.Core; using VIZ.Framework.Core;
using VIZ.Framework.Domain;
namespace VIZ.FGOUT.Module namespace VIZ.FGOUT.Module
...@@ -74,8 +75,9 @@ namespace VIZ.FGOUT.Module ...@@ -74,8 +75,9 @@ namespace VIZ.FGOUT.Module
{ {
try try
{ {
//20240410注释
// 检测3D鼠标值 // 检测3D鼠标值
this.Check3DNavigation(); //this.Check3DNavigation();
// 更新算法目标框连续丢失次数 // 更新算法目标框连续丢失次数
this.UpdateAlgorithmTargetBoxLostFrame(); this.UpdateAlgorithmTargetBoxLostFrame();
...@@ -149,6 +151,14 @@ namespace VIZ.FGOUT.Module ...@@ -149,6 +151,14 @@ namespace VIZ.FGOUT.Module
services.ForEach(p => p.UpdateAlgorithmTargetBoxLostFrame()); services.ForEach(p => p.UpdateAlgorithmTargetBoxLostFrame());
} }
//private void UpdateAlgorithmTargetBoxLostFrame()
//{
// var service = ApplicationDomain.ServiceManager.GetService<INDIMainViewService>(NDIMainViewKeys.MainView);
// if (service == null) return;
// service.UpdateAlgorithmTargetBoxLostFrame();
//}
/// <summary> /// <summary>
/// 销毁 /// 销毁
/// </summary> /// </summary>
......
...@@ -25,5 +25,10 @@ namespace VIZ.FGOUT.Module ...@@ -25,5 +25,10 @@ namespace VIZ.FGOUT.Module
/// </summary> /// </summary>
/// <param name="context"></param> /// <param name="context"></param>
void NDIMainViewHotkeyMode(NDIMainViewHotkeyContext context); void NDIMainViewHotkeyMode(NDIMainViewHotkeyContext context);
/// <summary>
/// 更新算法是否拥有目标框
/// </summary>
//void UpdateAlgorithmTargetBoxLostFrame();
} }
} }
...@@ -38,6 +38,8 @@ ...@@ -38,6 +38,8 @@
NormalVisibility="Collapsed" NormalVisibility="Collapsed"
WarningThreshold="20" WarningThreshold="20"
WarningVisibility="Visible" /> WarningVisibility="Visible" />
<!-- 目标框丢失指示灯 -->
<resource:AlgorithmTargetBoxLostFrameConverter x:Key="AlgorithmTargetBoxLostFrameConverter" />
</ResourceDictionary> </ResourceDictionary>
</UserControl.Resources> </UserControl.Resources>
<behaviors:Interaction.Triggers> <behaviors:Interaction.Triggers>
...@@ -1303,8 +1305,21 @@ ...@@ -1303,8 +1305,21 @@
BorderBrush="Gray" BorderBrush="Gray"
BorderThickness="1"> BorderThickness="1">
<StackPanel Orientation="Horizontal"> <StackPanel Orientation="Horizontal">
<!-- 算法目标丢失指示灯, 不可点击 -->
<!--<CheckBox
Margin="20,0,0,0"
HorizontalAlignment="Left"
VerticalAlignment="Center"
Style="{StaticResource CheckBox_IsAlgorithmTargetBoxExists}">
<CheckBox.IsChecked>
<MultiBinding Converter="{StaticResource AlgorithmTargetBoxLostFrameConverter}">
<Binding Path="AlgorithmTargetBoxLostFrame" />
<Binding Path="ViewStatus" />
</MultiBinding>
</CheckBox.IsChecked>
</CheckBox>-->
<TextBlock <TextBlock
Margin="35,0,0,0" Margin="25,0,0,0"
HorizontalAlignment="Center" HorizontalAlignment="Center"
VerticalAlignment="Center" VerticalAlignment="Center"
FontSize="14" FontSize="14"
......
...@@ -258,6 +258,58 @@ namespace VIZ.FGOUT.Module ...@@ -258,6 +258,58 @@ namespace VIZ.FGOUT.Module
}); });
} }
/// <summary>
/// 更新算法是否拥有目标框
/// </summary>
//public void UpdateAlgorithmTargetBoxLostFrame()
//{
// if (this.AlgorithmTargetBoxLostFrame == this.algorithmTargetBoxLostFrame_cache)
// return;
// this.AlgorithmTargetBoxLostFrame = this.algorithmTargetBoxLostFrame_cache;
//}
#region AlgorithmTargetBoxLostFrame -- 算法目标框连续丢失帧数
///// <summary>
///// 算法目标框连续丢失帧数 缓存
///// </summary>
///// <remarks>
///// 算法目标框连续丢失帧数 值首先记录在cache中
///// 真实值更新则在 NDIMainViewModel 的 LoopController 中
///// </remarks>
//private int algorithmTargetBoxLostFrame_cache;
//private int algorithmTargetBoxLostFrame;
///// <summary>
///// 算法目标框连续丢失帧数
///// </summary>
//public int AlgorithmTargetBoxLostFrame
//{
// get { return algorithmTargetBoxLostFrame; }
// set { algorithmTargetBoxLostFrame = value; this.RaisePropertyChanged(nameof(AlgorithmTargetBoxLostFrame)); }
//}
#endregion
#region ViewStatus -- NDI视图状态
//private NDIViewStatus viewStatus = NDIViewStatus.Stop;
///// <summary>
///// NDI视图状态
///// </summary>
//public NDIViewStatus ViewStatus
//{
// get { return viewStatus; }
// set
// {
// viewStatus = value;
// this.RaisePropertySaveChanged(nameof(ViewStatus));
// }
//}
#endregion
#region 自动发送倒计时器 #region 自动发送倒计时器
//private System.Timers.Timer _autoSend_Timer = new System.Timers.Timer(); //private System.Timers.Timer _autoSend_Timer = new System.Timers.Timer();
......
...@@ -77,11 +77,13 @@ ...@@ -77,11 +77,13 @@
</behaviors:EventTrigger> </behaviors:EventTrigger>
</behaviors:Interaction.Triggers> </behaviors:Interaction.Triggers>
<Grid> <Grid>
<Grid.RowDefinitions> <!--<Grid.RowDefinitions>
-->
<!--<RowDefinition Height="70" />--> <!--<RowDefinition Height="70" />-->
<!--
<RowDefinition Height="0" /> <RowDefinition Height="0" />
<RowDefinition Height="*" /> <RowDefinition Height="*" />
</Grid.RowDefinitions> </Grid.RowDefinitions>-->
<Grid.ColumnDefinitions> <Grid.ColumnDefinitions>
<ColumnDefinition Width="72" /> <ColumnDefinition Width="72" />
<!--<ColumnDefinition Width="120" />--> <!--<ColumnDefinition Width="120" />-->
...@@ -210,19 +212,19 @@ ...@@ -210,19 +212,19 @@
</Grid.RowDefinitions> </Grid.RowDefinitions>
--> -->
<!-- 算法目标丢失指示灯, 不可点击 --> <!-- 算法目标丢失指示灯, 不可点击 -->
<!--<CheckBox Style="{StaticResource CheckBox_IsAlgorithmTargetBoxExists}" <CheckBox
IsHitTestVisible="False" x:Name="_CheckBoxIsAlgorithmTargetBoxExists_"
HorizontalAlignment="Left" VerticalAlignment="Center" Margin="25,0,0,0" Grid.ColumnSpan="2"> Margin="25,0,0,0"
HorizontalAlignment="Left"
VerticalAlignment="Top"
Style="{StaticResource CheckBox_IsAlgorithmTargetBoxExists}">
<CheckBox.IsChecked> <CheckBox.IsChecked>
<MultiBinding Converter="{StaticResource AlgorithmTargetBoxLostFrameConverter}"> <MultiBinding Converter="{StaticResource AlgorithmTargetBoxLostFrameConverter}">
<Binding Path="AlgorithmTargetBoxLostFrame"></Binding> <Binding Path="AlgorithmTargetBoxLostFrame" />
<Binding Path="ViewStatus"></Binding> <Binding Path="ViewStatus" />
</MultiBinding> </MultiBinding>
</CheckBox.IsChecked> </CheckBox.IsChecked>
</CheckBox>--> </CheckBox>
<!-- 算法模式 --> <!-- 算法模式 -->
<!-- <!--
......
...@@ -162,7 +162,7 @@ namespace VIZ.FGOUT.Module ...@@ -162,7 +162,7 @@ namespace VIZ.FGOUT.Module
if ((bool)e.NewValue) if ((bool)e.NewValue)
{ {
//_DetectBtn_.Visibility = //_DetectBtn_.Visibility =
_RestartBtn_.Visibility = _StopBtn_.Visibility = Visibility.Collapsed; _CheckBoxIsAlgorithmTargetBoxExists_.Visibility = _RestartBtn_.Visibility = _StopBtn_.Visibility = Visibility.Collapsed;
_NewWindowBtn_.Visibility = Visibility.Visible; _NewWindowBtn_.Visibility = Visibility.Visible;
} }
} }
...@@ -189,7 +189,7 @@ namespace VIZ.FGOUT.Module ...@@ -189,7 +189,7 @@ namespace VIZ.FGOUT.Module
{ {
if ((bool)e.NewValue) if ((bool)e.NewValue)
{ {
_RestartBtn_.Visibility = _StopBtn_.Visibility = Visibility.Collapsed; _CheckBoxIsAlgorithmTargetBoxExists_.Visibility = _RestartBtn_.Visibility = _StopBtn_.Visibility = Visibility.Collapsed;
} }
} }
...@@ -215,7 +215,7 @@ namespace VIZ.FGOUT.Module ...@@ -215,7 +215,7 @@ namespace VIZ.FGOUT.Module
{ {
if ((bool)e.NewValue) if ((bool)e.NewValue)
{ {
_Setting_.Visibility = _RestartBtn_.Visibility = _StopBtn_.Visibility = Visibility.Collapsed; _CheckBoxIsAlgorithmTargetBoxExists_.Visibility = _Setting_.Visibility = _RestartBtn_.Visibility = _StopBtn_.Visibility = Visibility.Collapsed;
} }
} }
......
using System; using System.Windows.Controls;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Windows;
using System.Windows.Controls;
using System.Windows.Data;
using System.Windows.Documents;
using System.Windows.Input;
using System.Windows.Media;
using System.Windows.Media.Imaging;
using System.Windows.Navigation;
using System.Windows.Shapes;
using VIZ.Framework.Core; using VIZ.Framework.Core;
namespace VIZ.FGOUT.Module namespace VIZ.FGOUT.Module
......
#pragma checksum "..\..\..\..\..\NDIMainView\View\NDIMainView.xaml" "{8829d00f-11b8-4213-878b-770e8597ac16}" "3AE56A5E80B0D3376E90D3FCCC96344D84255D7E5D7899D93FAD020FE782E930" #pragma checksum "..\..\..\..\..\NDIMainView\View\NDIMainView.xaml" "{8829d00f-11b8-4213-878b-770e8597ac16}" "DA4AE3596DB2F347F4E62727DC1BB54BBBEED395B8899988D5C697E43E17977F"
//------------------------------------------------------------------------------ //------------------------------------------------------------------------------
// <auto-generated> // <auto-generated>
// 此代码由工具生成。 // 此代码由工具生成。
...@@ -50,7 +50,7 @@ namespace VIZ.FGOUT.Module { ...@@ -50,7 +50,7 @@ namespace VIZ.FGOUT.Module {
public partial class NDIMainView : System.Windows.Controls.UserControl, System.Windows.Markup.IComponentConnector { public partial class NDIMainView : System.Windows.Controls.UserControl, System.Windows.Markup.IComponentConnector {
#line 55 "..\..\..\..\..\NDIMainView\View\NDIMainView.xaml" #line 57 "..\..\..\..\..\NDIMainView\View\NDIMainView.xaml"
[System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")] [System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")]
internal System.Windows.Controls.TextBox tbFocus; internal System.Windows.Controls.TextBox tbFocus;
...@@ -58,7 +58,7 @@ namespace VIZ.FGOUT.Module { ...@@ -58,7 +58,7 @@ namespace VIZ.FGOUT.Module {
#line hidden #line hidden
#line 256 "..\..\..\..\..\NDIMainView\View\NDIMainView.xaml" #line 258 "..\..\..\..\..\NDIMainView\View\NDIMainView.xaml"
[System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")] [System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")]
internal System.Windows.Controls.RadioButton _AutoMode_; internal System.Windows.Controls.RadioButton _AutoMode_;
...@@ -66,7 +66,7 @@ namespace VIZ.FGOUT.Module { ...@@ -66,7 +66,7 @@ namespace VIZ.FGOUT.Module {
#line hidden #line hidden
#line 321 "..\..\..\..\..\NDIMainView\View\NDIMainView.xaml" #line 323 "..\..\..\..\..\NDIMainView\View\NDIMainView.xaml"
[System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")] [System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")]
internal System.Windows.Controls.RadioButton _ManualMode_; internal System.Windows.Controls.RadioButton _ManualMode_;
...@@ -74,7 +74,7 @@ namespace VIZ.FGOUT.Module { ...@@ -74,7 +74,7 @@ namespace VIZ.FGOUT.Module {
#line hidden #line hidden
#line 1261 "..\..\..\..\..\NDIMainView\View\NDIMainView.xaml" #line 1263 "..\..\..\..\..\NDIMainView\View\NDIMainView.xaml"
[System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")] [System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")]
internal VIZ.FGOUT.Module.NDIView cam1; internal VIZ.FGOUT.Module.NDIView cam1;
...@@ -82,7 +82,7 @@ namespace VIZ.FGOUT.Module { ...@@ -82,7 +82,7 @@ namespace VIZ.FGOUT.Module {
#line hidden #line hidden
#line 1390 "..\..\..\..\..\NDIMainView\View\NDIMainView.xaml" #line 1405 "..\..\..\..\..\NDIMainView\View\NDIMainView.xaml"
[System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")] [System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")]
internal VIZ.FGOUT.Module.NDIView cam2; internal VIZ.FGOUT.Module.NDIView cam2;
...@@ -90,7 +90,7 @@ namespace VIZ.FGOUT.Module { ...@@ -90,7 +90,7 @@ namespace VIZ.FGOUT.Module {
#line hidden #line hidden
#line 1405 "..\..\..\..\..\NDIMainView\View\NDIMainView.xaml" #line 1420 "..\..\..\..\..\NDIMainView\View\NDIMainView.xaml"
[System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")] [System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")]
internal VIZ.FGOUT.Module.NDIView cam3; internal VIZ.FGOUT.Module.NDIView cam3;
...@@ -140,7 +140,7 @@ namespace VIZ.FGOUT.Module { ...@@ -140,7 +140,7 @@ namespace VIZ.FGOUT.Module {
case 2: case 2:
this._AutoMode_ = ((System.Windows.Controls.RadioButton)(target)); this._AutoMode_ = ((System.Windows.Controls.RadioButton)(target));
#line 261 "..\..\..\..\..\NDIMainView\View\NDIMainView.xaml" #line 263 "..\..\..\..\..\NDIMainView\View\NDIMainView.xaml"
this._AutoMode_.Click += new System.Windows.RoutedEventHandler(this.AutoMode_OnClick); this._AutoMode_.Click += new System.Windows.RoutedEventHandler(this.AutoMode_OnClick);
#line default #line default
...@@ -149,7 +149,7 @@ namespace VIZ.FGOUT.Module { ...@@ -149,7 +149,7 @@ namespace VIZ.FGOUT.Module {
case 3: case 3:
this._ManualMode_ = ((System.Windows.Controls.RadioButton)(target)); this._ManualMode_ = ((System.Windows.Controls.RadioButton)(target));
#line 325 "..\..\..\..\..\NDIMainView\View\NDIMainView.xaml" #line 327 "..\..\..\..\..\NDIMainView\View\NDIMainView.xaml"
this._ManualMode_.Click += new System.Windows.RoutedEventHandler(this.ManualMode_OnClick); this._ManualMode_.Click += new System.Windows.RoutedEventHandler(this.ManualMode_OnClick);
#line default #line default
......
#pragma checksum "..\..\..\..\..\NDIMainView\View\NDIMainView.xaml" "{8829d00f-11b8-4213-878b-770e8597ac16}" "3AE56A5E80B0D3376E90D3FCCC96344D84255D7E5D7899D93FAD020FE782E930" #pragma checksum "..\..\..\..\..\NDIMainView\View\NDIMainView.xaml" "{8829d00f-11b8-4213-878b-770e8597ac16}" "DA4AE3596DB2F347F4E62727DC1BB54BBBEED395B8899988D5C697E43E17977F"
//------------------------------------------------------------------------------ //------------------------------------------------------------------------------
// <auto-generated> // <auto-generated>
// 此代码由工具生成。 // 此代码由工具生成。
...@@ -50,7 +50,7 @@ namespace VIZ.FGOUT.Module { ...@@ -50,7 +50,7 @@ namespace VIZ.FGOUT.Module {
public partial class NDIMainView : System.Windows.Controls.UserControl, System.Windows.Markup.IComponentConnector { public partial class NDIMainView : System.Windows.Controls.UserControl, System.Windows.Markup.IComponentConnector {
#line 55 "..\..\..\..\..\NDIMainView\View\NDIMainView.xaml" #line 57 "..\..\..\..\..\NDIMainView\View\NDIMainView.xaml"
[System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")] [System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")]
internal System.Windows.Controls.TextBox tbFocus; internal System.Windows.Controls.TextBox tbFocus;
...@@ -58,7 +58,7 @@ namespace VIZ.FGOUT.Module { ...@@ -58,7 +58,7 @@ namespace VIZ.FGOUT.Module {
#line hidden #line hidden
#line 256 "..\..\..\..\..\NDIMainView\View\NDIMainView.xaml" #line 258 "..\..\..\..\..\NDIMainView\View\NDIMainView.xaml"
[System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")] [System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")]
internal System.Windows.Controls.RadioButton _AutoMode_; internal System.Windows.Controls.RadioButton _AutoMode_;
...@@ -66,7 +66,7 @@ namespace VIZ.FGOUT.Module { ...@@ -66,7 +66,7 @@ namespace VIZ.FGOUT.Module {
#line hidden #line hidden
#line 321 "..\..\..\..\..\NDIMainView\View\NDIMainView.xaml" #line 323 "..\..\..\..\..\NDIMainView\View\NDIMainView.xaml"
[System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")] [System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")]
internal System.Windows.Controls.RadioButton _ManualMode_; internal System.Windows.Controls.RadioButton _ManualMode_;
...@@ -74,7 +74,7 @@ namespace VIZ.FGOUT.Module { ...@@ -74,7 +74,7 @@ namespace VIZ.FGOUT.Module {
#line hidden #line hidden
#line 1261 "..\..\..\..\..\NDIMainView\View\NDIMainView.xaml" #line 1263 "..\..\..\..\..\NDIMainView\View\NDIMainView.xaml"
[System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")] [System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")]
internal VIZ.FGOUT.Module.NDIView cam1; internal VIZ.FGOUT.Module.NDIView cam1;
...@@ -82,7 +82,7 @@ namespace VIZ.FGOUT.Module { ...@@ -82,7 +82,7 @@ namespace VIZ.FGOUT.Module {
#line hidden #line hidden
#line 1390 "..\..\..\..\..\NDIMainView\View\NDIMainView.xaml" #line 1405 "..\..\..\..\..\NDIMainView\View\NDIMainView.xaml"
[System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")] [System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")]
internal VIZ.FGOUT.Module.NDIView cam2; internal VIZ.FGOUT.Module.NDIView cam2;
...@@ -90,7 +90,7 @@ namespace VIZ.FGOUT.Module { ...@@ -90,7 +90,7 @@ namespace VIZ.FGOUT.Module {
#line hidden #line hidden
#line 1405 "..\..\..\..\..\NDIMainView\View\NDIMainView.xaml" #line 1420 "..\..\..\..\..\NDIMainView\View\NDIMainView.xaml"
[System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")] [System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")]
internal VIZ.FGOUT.Module.NDIView cam3; internal VIZ.FGOUT.Module.NDIView cam3;
...@@ -140,7 +140,7 @@ namespace VIZ.FGOUT.Module { ...@@ -140,7 +140,7 @@ namespace VIZ.FGOUT.Module {
case 2: case 2:
this._AutoMode_ = ((System.Windows.Controls.RadioButton)(target)); this._AutoMode_ = ((System.Windows.Controls.RadioButton)(target));
#line 261 "..\..\..\..\..\NDIMainView\View\NDIMainView.xaml" #line 263 "..\..\..\..\..\NDIMainView\View\NDIMainView.xaml"
this._AutoMode_.Click += new System.Windows.RoutedEventHandler(this.AutoMode_OnClick); this._AutoMode_.Click += new System.Windows.RoutedEventHandler(this.AutoMode_OnClick);
#line default #line default
...@@ -149,7 +149,7 @@ namespace VIZ.FGOUT.Module { ...@@ -149,7 +149,7 @@ namespace VIZ.FGOUT.Module {
case 3: case 3:
this._ManualMode_ = ((System.Windows.Controls.RadioButton)(target)); this._ManualMode_ = ((System.Windows.Controls.RadioButton)(target));
#line 325 "..\..\..\..\..\NDIMainView\View\NDIMainView.xaml" #line 327 "..\..\..\..\..\NDIMainView\View\NDIMainView.xaml"
this._ManualMode_.Click += new System.Windows.RoutedEventHandler(this.ManualMode_OnClick); this._ManualMode_.Click += new System.Windows.RoutedEventHandler(this.ManualMode_OnClick);
#line default #line default
......
#pragma checksum "..\..\..\..\..\NDIView\View\NDIView.xaml" "{8829d00f-11b8-4213-878b-770e8597ac16}" "18EC0AAB488F408F99345878E03BD10BC03FB9C42B926B3C11A07DBCD9CB00C5" #pragma checksum "..\..\..\..\..\NDIView\View\NDIView.xaml" "{8829d00f-11b8-4213-878b-770e8597ac16}" "C450EE29EC525622F0D2E6CA98B38DAB038375C2C8A4508EB8689748A7FF81A8"
//------------------------------------------------------------------------------ //------------------------------------------------------------------------------
// <auto-generated> // <auto-generated>
// 此代码由工具生成。 // 此代码由工具生成。
...@@ -60,7 +60,15 @@ namespace VIZ.FGOUT.Module { ...@@ -60,7 +60,15 @@ namespace VIZ.FGOUT.Module {
#line hidden #line hidden
#line 302 "..\..\..\..\..\NDIView\View\NDIView.xaml" #line 216 "..\..\..\..\..\NDIView\View\NDIView.xaml"
[System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")]
internal System.Windows.Controls.CheckBox _CheckBoxIsAlgorithmTargetBoxExists_;
#line default
#line hidden
#line 304 "..\..\..\..\..\NDIView\View\NDIView.xaml"
[System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")] [System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")]
internal System.Windows.Controls.Border Border; internal System.Windows.Controls.Border Border;
...@@ -68,7 +76,7 @@ namespace VIZ.FGOUT.Module { ...@@ -68,7 +76,7 @@ namespace VIZ.FGOUT.Module {
#line hidden #line hidden
#line 322 "..\..\..\..\..\NDIView\View\NDIView.xaml" #line 324 "..\..\..\..\..\NDIView\View\NDIView.xaml"
[System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")] [System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")]
internal VIZ.Framework.Common.VideoControl video; internal VIZ.Framework.Common.VideoControl video;
...@@ -76,7 +84,7 @@ namespace VIZ.FGOUT.Module { ...@@ -76,7 +84,7 @@ namespace VIZ.FGOUT.Module {
#line hidden #line hidden
#line 330 "..\..\..\..\..\NDIView\View\NDIView.xaml" #line 332 "..\..\..\..\..\NDIView\View\NDIView.xaml"
[System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")] [System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")]
internal System.Windows.Controls.Canvas canvas1; internal System.Windows.Controls.Canvas canvas1;
...@@ -84,7 +92,7 @@ namespace VIZ.FGOUT.Module { ...@@ -84,7 +92,7 @@ namespace VIZ.FGOUT.Module {
#line hidden #line hidden
#line 417 "..\..\..\..\..\NDIView\View\NDIView.xaml" #line 419 "..\..\..\..\..\NDIView\View\NDIView.xaml"
[System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")] [System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")]
internal System.Windows.Controls.Button _Setting_; internal System.Windows.Controls.Button _Setting_;
...@@ -92,7 +100,7 @@ namespace VIZ.FGOUT.Module { ...@@ -92,7 +100,7 @@ namespace VIZ.FGOUT.Module {
#line hidden #line hidden
#line 438 "..\..\..\..\..\NDIView\View\NDIView.xaml" #line 440 "..\..\..\..\..\NDIView\View\NDIView.xaml"
[System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")] [System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")]
internal System.Windows.Controls.Button _NewWindowBtn_; internal System.Windows.Controls.Button _NewWindowBtn_;
...@@ -100,7 +108,7 @@ namespace VIZ.FGOUT.Module { ...@@ -100,7 +108,7 @@ namespace VIZ.FGOUT.Module {
#line hidden #line hidden
#line 453 "..\..\..\..\..\NDIView\View\NDIView.xaml" #line 455 "..\..\..\..\..\NDIView\View\NDIView.xaml"
[System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")] [System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")]
internal System.Windows.Controls.Button _RestartBtn_; internal System.Windows.Controls.Button _RestartBtn_;
...@@ -108,7 +116,7 @@ namespace VIZ.FGOUT.Module { ...@@ -108,7 +116,7 @@ namespace VIZ.FGOUT.Module {
#line hidden #line hidden
#line 467 "..\..\..\..\..\NDIView\View\NDIView.xaml" #line 469 "..\..\..\..\..\NDIView\View\NDIView.xaml"
[System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")] [System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")]
internal System.Windows.Controls.Button _StopBtn_; internal System.Windows.Controls.Button _StopBtn_;
...@@ -149,48 +157,51 @@ namespace VIZ.FGOUT.Module { ...@@ -149,48 +157,51 @@ namespace VIZ.FGOUT.Module {
this.uc = ((VIZ.FGOUT.Module.NDIView)(target)); this.uc = ((VIZ.FGOUT.Module.NDIView)(target));
return; return;
case 2: case 2:
this._CheckBoxIsAlgorithmTargetBoxExists_ = ((System.Windows.Controls.CheckBox)(target));
return;
case 3:
this.Border = ((System.Windows.Controls.Border)(target)); this.Border = ((System.Windows.Controls.Border)(target));
#line 304 "..\..\..\..\..\NDIView\View\NDIView.xaml" #line 306 "..\..\..\..\..\NDIView\View\NDIView.xaml"
this.Border.PreviewMouseLeftButtonDown += new System.Windows.Input.MouseButtonEventHandler(this.Border_MouseLeftButtonDown); this.Border.PreviewMouseLeftButtonDown += new System.Windows.Input.MouseButtonEventHandler(this.Border_MouseLeftButtonDown);
#line default #line default
#line hidden #line hidden
#line 305 "..\..\..\..\..\NDIView\View\NDIView.xaml" #line 307 "..\..\..\..\..\NDIView\View\NDIView.xaml"
this.Border.PreviewMouseLeftButtonUp += new System.Windows.Input.MouseButtonEventHandler(this.Border_MouseLeftButtonUp); this.Border.PreviewMouseLeftButtonUp += new System.Windows.Input.MouseButtonEventHandler(this.Border_MouseLeftButtonUp);
#line default #line default
#line hidden #line hidden
#line 306 "..\..\..\..\..\NDIView\View\NDIView.xaml" #line 308 "..\..\..\..\..\NDIView\View\NDIView.xaml"
this.Border.PreviewMouseMove += new System.Windows.Input.MouseEventHandler(this.Border_MouseMove); this.Border.PreviewMouseMove += new System.Windows.Input.MouseEventHandler(this.Border_MouseMove);
#line default #line default
#line hidden #line hidden
#line 307 "..\..\..\..\..\NDIView\View\NDIView.xaml" #line 309 "..\..\..\..\..\NDIView\View\NDIView.xaml"
this.Border.PreviewMouseRightButtonDown += new System.Windows.Input.MouseButtonEventHandler(this.Border_OnPreviewMouseRightButtonDown); this.Border.PreviewMouseRightButtonDown += new System.Windows.Input.MouseButtonEventHandler(this.Border_OnPreviewMouseRightButtonDown);
#line default #line default
#line hidden #line hidden
return; return;
case 3: case 4:
this.video = ((VIZ.Framework.Common.VideoControl)(target)); this.video = ((VIZ.Framework.Common.VideoControl)(target));
return; return;
case 4: case 5:
this.canvas1 = ((System.Windows.Controls.Canvas)(target)); this.canvas1 = ((System.Windows.Controls.Canvas)(target));
return; return;
case 5: case 6:
this._Setting_ = ((System.Windows.Controls.Button)(target)); this._Setting_ = ((System.Windows.Controls.Button)(target));
return; return;
case 6: case 7:
this._NewWindowBtn_ = ((System.Windows.Controls.Button)(target)); this._NewWindowBtn_ = ((System.Windows.Controls.Button)(target));
return; return;
case 7: case 8:
this._RestartBtn_ = ((System.Windows.Controls.Button)(target)); this._RestartBtn_ = ((System.Windows.Controls.Button)(target));
return; return;
case 8: case 9:
this._StopBtn_ = ((System.Windows.Controls.Button)(target)); this._StopBtn_ = ((System.Windows.Controls.Button)(target));
return; return;
} }
......
#pragma checksum "..\..\..\..\..\NDIView\View\NDIView.xaml" "{8829d00f-11b8-4213-878b-770e8597ac16}" "18EC0AAB488F408F99345878E03BD10BC03FB9C42B926B3C11A07DBCD9CB00C5" #pragma checksum "..\..\..\..\..\NDIView\View\NDIView.xaml" "{8829d00f-11b8-4213-878b-770e8597ac16}" "C450EE29EC525622F0D2E6CA98B38DAB038375C2C8A4508EB8689748A7FF81A8"
//------------------------------------------------------------------------------ //------------------------------------------------------------------------------
// <auto-generated> // <auto-generated>
// 此代码由工具生成。 // 此代码由工具生成。
...@@ -60,7 +60,15 @@ namespace VIZ.FGOUT.Module { ...@@ -60,7 +60,15 @@ namespace VIZ.FGOUT.Module {
#line hidden #line hidden
#line 302 "..\..\..\..\..\NDIView\View\NDIView.xaml" #line 216 "..\..\..\..\..\NDIView\View\NDIView.xaml"
[System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")]
internal System.Windows.Controls.CheckBox _CheckBoxIsAlgorithmTargetBoxExists_;
#line default
#line hidden
#line 304 "..\..\..\..\..\NDIView\View\NDIView.xaml"
[System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")] [System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")]
internal System.Windows.Controls.Border Border; internal System.Windows.Controls.Border Border;
...@@ -68,7 +76,7 @@ namespace VIZ.FGOUT.Module { ...@@ -68,7 +76,7 @@ namespace VIZ.FGOUT.Module {
#line hidden #line hidden
#line 322 "..\..\..\..\..\NDIView\View\NDIView.xaml" #line 324 "..\..\..\..\..\NDIView\View\NDIView.xaml"
[System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")] [System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")]
internal VIZ.Framework.Common.VideoControl video; internal VIZ.Framework.Common.VideoControl video;
...@@ -76,7 +84,7 @@ namespace VIZ.FGOUT.Module { ...@@ -76,7 +84,7 @@ namespace VIZ.FGOUT.Module {
#line hidden #line hidden
#line 330 "..\..\..\..\..\NDIView\View\NDIView.xaml" #line 332 "..\..\..\..\..\NDIView\View\NDIView.xaml"
[System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")] [System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")]
internal System.Windows.Controls.Canvas canvas1; internal System.Windows.Controls.Canvas canvas1;
...@@ -84,7 +92,7 @@ namespace VIZ.FGOUT.Module { ...@@ -84,7 +92,7 @@ namespace VIZ.FGOUT.Module {
#line hidden #line hidden
#line 417 "..\..\..\..\..\NDIView\View\NDIView.xaml" #line 419 "..\..\..\..\..\NDIView\View\NDIView.xaml"
[System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")] [System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")]
internal System.Windows.Controls.Button _Setting_; internal System.Windows.Controls.Button _Setting_;
...@@ -92,7 +100,7 @@ namespace VIZ.FGOUT.Module { ...@@ -92,7 +100,7 @@ namespace VIZ.FGOUT.Module {
#line hidden #line hidden
#line 438 "..\..\..\..\..\NDIView\View\NDIView.xaml" #line 440 "..\..\..\..\..\NDIView\View\NDIView.xaml"
[System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")] [System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")]
internal System.Windows.Controls.Button _NewWindowBtn_; internal System.Windows.Controls.Button _NewWindowBtn_;
...@@ -100,7 +108,7 @@ namespace VIZ.FGOUT.Module { ...@@ -100,7 +108,7 @@ namespace VIZ.FGOUT.Module {
#line hidden #line hidden
#line 453 "..\..\..\..\..\NDIView\View\NDIView.xaml" #line 455 "..\..\..\..\..\NDIView\View\NDIView.xaml"
[System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")] [System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")]
internal System.Windows.Controls.Button _RestartBtn_; internal System.Windows.Controls.Button _RestartBtn_;
...@@ -108,7 +116,7 @@ namespace VIZ.FGOUT.Module { ...@@ -108,7 +116,7 @@ namespace VIZ.FGOUT.Module {
#line hidden #line hidden
#line 467 "..\..\..\..\..\NDIView\View\NDIView.xaml" #line 469 "..\..\..\..\..\NDIView\View\NDIView.xaml"
[System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")] [System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")]
internal System.Windows.Controls.Button _StopBtn_; internal System.Windows.Controls.Button _StopBtn_;
...@@ -149,48 +157,51 @@ namespace VIZ.FGOUT.Module { ...@@ -149,48 +157,51 @@ namespace VIZ.FGOUT.Module {
this.uc = ((VIZ.FGOUT.Module.NDIView)(target)); this.uc = ((VIZ.FGOUT.Module.NDIView)(target));
return; return;
case 2: case 2:
this._CheckBoxIsAlgorithmTargetBoxExists_ = ((System.Windows.Controls.CheckBox)(target));
return;
case 3:
this.Border = ((System.Windows.Controls.Border)(target)); this.Border = ((System.Windows.Controls.Border)(target));
#line 304 "..\..\..\..\..\NDIView\View\NDIView.xaml" #line 306 "..\..\..\..\..\NDIView\View\NDIView.xaml"
this.Border.PreviewMouseLeftButtonDown += new System.Windows.Input.MouseButtonEventHandler(this.Border_MouseLeftButtonDown); this.Border.PreviewMouseLeftButtonDown += new System.Windows.Input.MouseButtonEventHandler(this.Border_MouseLeftButtonDown);
#line default #line default
#line hidden #line hidden
#line 305 "..\..\..\..\..\NDIView\View\NDIView.xaml" #line 307 "..\..\..\..\..\NDIView\View\NDIView.xaml"
this.Border.PreviewMouseLeftButtonUp += new System.Windows.Input.MouseButtonEventHandler(this.Border_MouseLeftButtonUp); this.Border.PreviewMouseLeftButtonUp += new System.Windows.Input.MouseButtonEventHandler(this.Border_MouseLeftButtonUp);
#line default #line default
#line hidden #line hidden
#line 306 "..\..\..\..\..\NDIView\View\NDIView.xaml" #line 308 "..\..\..\..\..\NDIView\View\NDIView.xaml"
this.Border.PreviewMouseMove += new System.Windows.Input.MouseEventHandler(this.Border_MouseMove); this.Border.PreviewMouseMove += new System.Windows.Input.MouseEventHandler(this.Border_MouseMove);
#line default #line default
#line hidden #line hidden
#line 307 "..\..\..\..\..\NDIView\View\NDIView.xaml" #line 309 "..\..\..\..\..\NDIView\View\NDIView.xaml"
this.Border.PreviewMouseRightButtonDown += new System.Windows.Input.MouseButtonEventHandler(this.Border_OnPreviewMouseRightButtonDown); this.Border.PreviewMouseRightButtonDown += new System.Windows.Input.MouseButtonEventHandler(this.Border_OnPreviewMouseRightButtonDown);
#line default #line default
#line hidden #line hidden
return; return;
case 3: case 4:
this.video = ((VIZ.Framework.Common.VideoControl)(target)); this.video = ((VIZ.Framework.Common.VideoControl)(target));
return; return;
case 4: case 5:
this.canvas1 = ((System.Windows.Controls.Canvas)(target)); this.canvas1 = ((System.Windows.Controls.Canvas)(target));
return; return;
case 5: case 6:
this._Setting_ = ((System.Windows.Controls.Button)(target)); this._Setting_ = ((System.Windows.Controls.Button)(target));
return; return;
case 6: case 7:
this._NewWindowBtn_ = ((System.Windows.Controls.Button)(target)); this._NewWindowBtn_ = ((System.Windows.Controls.Button)(target));
return; return;
case 7: case 8:
this._RestartBtn_ = ((System.Windows.Controls.Button)(target)); this._RestartBtn_ = ((System.Windows.Controls.Button)(target));
return; return;
case 8: case 9:
this._StopBtn_ = ((System.Windows.Controls.Button)(target)); this._StopBtn_ = ((System.Windows.Controls.Button)(target));
return; return;
} }
......
 C:\Projects\FGOUT\VIZ.FGOUT\VIZ.FGOUT.Module\obj\x64\Debug\GeneratedInternalTypeHelper.g.cs
FC:\Projects\FGOUT\VIZ.FGOUT\VIZ.FGOUT.Module\NDIMainView\View\NDIMainView.xaml;; FC:\Projects\FGOUT\VIZ.FGOUT\VIZ.FGOUT.Module\NDIMainView\View\NDIMainView.xaml;;
FC:\Projects\FGOUT\VIZ.FGOUT\VIZ.FGOUT.Module\NDIPreviewView\View\NDIPreviewView.xaml;; FC:\Projects\FGOUT\VIZ.FGOUT\VIZ.FGOUT.Module\NDIPreviewView\View\NDIPreviewView.xaml;;
......
...@@ -61,6 +61,36 @@ namespace VIZ.Framework.Common ...@@ -61,6 +61,36 @@ namespace VIZ.Framework.Common
sb.Append($"{e.Key}"); sb.Append($"{e.Key}");
} }
// Space空格
if (e.SystemKey == Key.Space)
{
sb.Append($"{e.SystemKey}");
}
if (e.Key == Key.Space)
{
sb.Append($"{e.Key}");
}
// Return回车
if (e.SystemKey == Key.Return)
{
sb.Append($"{e.SystemKey}");
}
if (e.Key == Key.Return)
{
sb.Append($"{e.Key}");
}
// Esc
if (e.SystemKey == Key.Escape)
{
sb.Append($"{e.SystemKey}");
}
if (e.Key == Key.Escape)
{
sb.Append($"{e.Key}");
}
// Up // Up
if (e.SystemKey == Key.Up) if (e.SystemKey == Key.Up)
{ {
......
//------------------------------------------------------------------------------ 
// <auto-generated>
// 此代码由工具生成。
// 运行时版本:4.0.30319.42000
//
// 对此文件的更改可能会导致不正确的行为,并且如果
// 重新生成代码,这些更改将会丢失。
// </auto-generated>
//------------------------------------------------------------------------------
namespace XamlGeneratedNamespace {
/// <summary>
/// GeneratedInternalTypeHelper
/// </summary>
[System.Diagnostics.DebuggerNonUserCodeAttribute()]
[System.CodeDom.Compiler.GeneratedCodeAttribute("PresentationBuildTasks", "4.0.0.0")]
[System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Never)]
public sealed class GeneratedInternalTypeHelper : System.Windows.Markup.InternalTypeHelper {
/// <summary>
/// CreateInstance
/// </summary>
protected override object CreateInstance(System.Type type, System.Globalization.CultureInfo culture) {
return System.Activator.CreateInstance(type, ((System.Reflection.BindingFlags.Public | System.Reflection.BindingFlags.NonPublic)
| (System.Reflection.BindingFlags.Instance | System.Reflection.BindingFlags.CreateInstance)), null, null, culture);
}
/// <summary>
/// GetPropertyValue
/// </summary>
protected override object GetPropertyValue(System.Reflection.PropertyInfo propertyInfo, object target, System.Globalization.CultureInfo culture) {
return propertyInfo.GetValue(target, System.Reflection.BindingFlags.Default, null, null, culture);
}
/// <summary>
/// SetPropertyValue
/// </summary>
protected override void SetPropertyValue(System.Reflection.PropertyInfo propertyInfo, object target, object value, System.Globalization.CultureInfo culture) {
propertyInfo.SetValue(target, value, System.Reflection.BindingFlags.Default, null, null, culture);
}
/// <summary>
/// CreateDelegate
/// </summary>
protected override System.Delegate CreateDelegate(System.Type delegateType, object target, string handler) {
return ((System.Delegate)(target.GetType().InvokeMember("_CreateDelegate", (System.Reflection.BindingFlags.InvokeMethod
| (System.Reflection.BindingFlags.NonPublic | System.Reflection.BindingFlags.Instance)), null, target, new object[] {
delegateType,
handler}, null)));
}
/// <summary>
/// AddEventHandler
/// </summary>
protected override void AddEventHandler(System.Reflection.EventInfo eventInfo, object target, System.Delegate handler) {
eventInfo.AddEventHandler(target, handler);
}
}
}
 C:\Projects\FGOUT\VIZ.Framework\VIZ.Framework.Common\obj\x64\Debug\GeneratedInternalTypeHelper.g.cs
FC:\Projects\FGOUT\VIZ.Framework\VIZ.Framework.Common\MessageBox\MessageBoxEx.xaml;; FC:\Projects\FGOUT\VIZ.Framework\VIZ.Framework.Common\MessageBox\MessageBoxEx.xaml;;
FC:\Projects\FGOUT\VIZ.Framework\VIZ.Framework.Common\MessageBox\MessageBoxExWindow.xaml;; FC:\Projects\FGOUT\VIZ.Framework\VIZ.Framework.Common\MessageBox\MessageBoxExWindow.xaml;;
......
fdc742c74c78e8cedbc468852e1373ddd0f9d9017d1562d22ed1ae78b714181f b3d9ab6bd9d828906c905c88d597346e8821250eb12ca55b8d29c191d33bf901
...@@ -12,7 +12,7 @@ TRACE ...@@ -12,7 +12,7 @@ TRACE
15-721109437 15-721109437
120150095399 121-1133520871
44928538216 44928538216
MessageBox\MessageBoxEx.xaml;MessageBox\MessageBoxExWindow.xaml;Themes\Generic.xaml;VideoControl\Control\VideoControl.xaml;Widgets\ColorPickButton\ColorPickButton.xaml;Widgets\ColorPickButton\ColorPickWindow.xaml;Widgets\GPIOPinTestControl\GPIOPinTestControl.xaml;Widgets\HotkeyBox\HotkeyBox.xaml;Widgets\IconButton\IconButton.xaml;Widgets\LabelValue\LabelValue.xaml;Widgets\NavigationControl\NavigationControl.xaml;Widgets\ResizeImageControl\ResizeImageControl.xaml;Widgets\ShowMessageControl\ShowMessageControl.xaml;Widgets\VideoTimeBar\VideoTimeBar.xaml;Widgets\ViewLoader\ViewLoader.xaml; MessageBox\MessageBoxEx.xaml;MessageBox\MessageBoxExWindow.xaml;Themes\Generic.xaml;VideoControl\Control\VideoControl.xaml;Widgets\ColorPickButton\ColorPickButton.xaml;Widgets\ColorPickButton\ColorPickWindow.xaml;Widgets\GPIOPinTestControl\GPIOPinTestControl.xaml;Widgets\HotkeyBox\HotkeyBox.xaml;Widgets\IconButton\IconButton.xaml;Widgets\LabelValue\LabelValue.xaml;Widgets\NavigationControl\NavigationControl.xaml;Widgets\ResizeImageControl\ResizeImageControl.xaml;Widgets\ShowMessageControl\ShowMessageControl.xaml;Widgets\VideoTimeBar\VideoTimeBar.xaml;Widgets\ViewLoader\ViewLoader.xaml;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment