diff --git a/GeothermalResearchInstitute/GeothermalResearchInstitute.Wpf/App.xaml b/GeothermalResearchInstitute/GeothermalResearchInstitute.Wpf/App.xaml index 4187753f..2bd6ab31 100644 --- a/GeothermalResearchInstitute/GeothermalResearchInstitute.Wpf/App.xaml +++ b/GeothermalResearchInstitute/GeothermalResearchInstitute.Wpf/App.xaml @@ -1,48 +1,48 @@ - - - - 匿名用户 - 无权限 - 浅层地温能测试仪远程监控系统 - - - - - - + + + + 匿名用户 + 无权限 + 浅层地温能测试仪远程监控系统 + + + + + + - - - - - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + + + + + diff --git a/GeothermalResearchInstitute/GeothermalResearchInstitute.Wpf/GeothermalResearchInstitute.Wpf.csproj b/GeothermalResearchInstitute/GeothermalResearchInstitute.Wpf/GeothermalResearchInstitute.Wpf.csproj index 75a1404c..e24a6007 100644 --- a/GeothermalResearchInstitute/GeothermalResearchInstitute.Wpf/GeothermalResearchInstitute.Wpf.csproj +++ b/GeothermalResearchInstitute/GeothermalResearchInstitute.Wpf/GeothermalResearchInstitute.Wpf.csproj @@ -1,4 +1,4 @@ - + WinExe diff --git a/GeothermalResearchInstitute/GeothermalResearchInstitute.Wpf/MainWindow.xaml.cs b/GeothermalResearchInstitute/GeothermalResearchInstitute.Wpf/MainWindow.xaml.cs index 625f84f5..da22b382 100644 --- a/GeothermalResearchInstitute/GeothermalResearchInstitute.Wpf/MainWindow.xaml.cs +++ b/GeothermalResearchInstitute/GeothermalResearchInstitute.Wpf/MainWindow.xaml.cs @@ -57,13 +57,13 @@ private void BtnEnter_Click(object sender, RoutedEventArgs e) { if (this.User.Role != "管理员" && this.User.Role != "用户") { - MessageBox.Show( - "请先登录", + MessageBox.Show( + "请先登录", "警告", MessageBoxButton.OK); return; } - + var selectPeerWindow = this.serviceProvider.GetService(); selectPeerWindow.Owner = this; diff --git a/GeothermalResearchInstitute/GeothermalResearchInstitute.Wpf/RemoteControlWindow.xaml b/GeothermalResearchInstitute/GeothermalResearchInstitute.Wpf/RemoteControlWindow.xaml index 14d2eb1d..55a1917f 100644 --- a/GeothermalResearchInstitute/GeothermalResearchInstitute.Wpf/RemoteControlWindow.xaml +++ b/GeothermalResearchInstitute/GeothermalResearchInstitute.Wpf/RemoteControlWindow.xaml @@ -8,8 +8,8 @@ mc:Ignorable="d" WindowStartupLocation="CenterOwner" Style="{StaticResource WindowBaseStyle}" Loaded="Window_Loaded"> - - + + diff --git a/GeothermalResearchInstitute/GeothermalResearchInstitute.Wpf/RemoteControlWindow.xaml.cs b/GeothermalResearchInstitute/GeothermalResearchInstitute.Wpf/RemoteControlWindow.xaml.cs index 2ce37138..88079187 100644 --- a/GeothermalResearchInstitute/GeothermalResearchInstitute.Wpf/RemoteControlWindow.xaml.cs +++ b/GeothermalResearchInstitute/GeothermalResearchInstitute.Wpf/RemoteControlWindow.xaml.cs @@ -3,7 +3,7 @@ // Licensed under the GPLv3 license. See LICENSE file in the project root for full license information. // -using System; +using System; using System.Globalization; using System.Linq; using System.Windows;