Pārlūkot izejas kodu

调试界面修改

样式分支
pry pirms 2 gadiem
vecāks
revīzija
66bb0e9691
2 mainītis faili ar 0 papildinājumiem un 13 dzēšanām
  1. +0
    -7
      BPASmartClient.MorkS/View/Debug.xaml
  2. +0
    -6
      BPASmartClient.MorkS/View/Debug.xaml.cs

+ 0
- 7
BPASmartClient.MorkS/View/Debug.xaml Parādīt failu

@@ -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 Parādīt failu

@@ -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 = "停止模拟";
}
}
}

Notiek ielāde…
Atcelt
Saglabāt