diff --git a/stormchat-client-csharp/StormChatWPF/LogWindow.xaml.cs b/stormchat-client-csharp/StormChatWPF/LogWindow.xaml.cs index 9f2c305..2a83709 100644 --- a/stormchat-client-csharp/StormChatWPF/LogWindow.xaml.cs +++ b/stormchat-client-csharp/StormChatWPF/LogWindow.xaml.cs @@ -1,36 +1,36 @@ -using Interact; -using System; -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; - -namespace StormChatWPF -{ - /// - /// MainWindow.xaml 的交互逻辑 - /// - public partial class LogWindow : Window - { - public static LogWindow Instence; - public LogWindow() - { - InitializeComponent(); +using Interact; +using System; +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; + +namespace StormChatWPF +{ + /// + /// MainWindow.xaml 的交互逻辑 + /// + public partial class LogWindow : Window + { + public static LogWindow Instence; + public LogWindow() + { + InitializeComponent(); Instence = this; - } - private void Login_button_Click(object sender, RoutedEventArgs e) - { - Login_button.IsEnabled = false; - Chat.Log(AccountBox.Text,passwordBox.Password); - } - } -} + } + private void Login_button_Click(object sender, RoutedEventArgs e) + { + Login_button.IsEnabled = false; + Chat.Log(AccountBox.Text,passwordBox.Password); + } + } +} diff --git a/stormchat-client-csharp/StormChatWPF/MainWindow.xaml b/stormchat-client-csharp/StormChatWPF/MainWindow.xaml index 72d33dc..f13788d 100644 --- a/stormchat-client-csharp/StormChatWPF/MainWindow.xaml +++ b/stormchat-client-csharp/StormChatWPF/MainWindow.xaml @@ -19,7 +19,8 @@ - + +