Browse Source

调试界面修改

样式分支
pry 2 years ago
parent
commit
66bb0e9691
2 changed files with 0 additions and 13 deletions
  1. +0
    -7
      BPASmartClient.MorkS/View/Debug.xaml
  2. +0
    -6
      BPASmartClient.MorkS/View/Debug.xaml.cs

+ 0
- 7
BPASmartClient.MorkS/View/Debug.xaml View File

@@ -97,13 +97,6 @@
Command="{Binding InitCommand}"
Content="初始化设备"
Style="{StaticResource ButtonStyle}" />
<Button
Name="AA"
Width="120"
Click="Button_Click"
Command="{Binding InitCommand}"
Content="停止模拟"
Style="{StaticResource ButtonStyle}" />
</StackPanel>
</StackPanel>



+ 0
- 6
BPASmartClient.MorkS/View/Debug.xaml.cs View File

@@ -26,11 +26,5 @@ namespace BPASmartClient.MorkS.View
InitializeComponent();
}

private void Button_Click(object sender, RoutedEventArgs e)
{
Global.EnableLocalSimOrder = !Global.EnableLocalSimOrder;
if (Global.EnableLocalSimOrder) AA.Content = "模拟中";
if (!Global.EnableLocalSimOrder) AA.Content = "停止模拟";
}
}
}

Loading…
Cancel
Save