You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
31 lines
734 B
31 lines
734 B
using System.Windows; |
|
using System.Windows.Input; |
|
|
|
namespace SparkClient; |
|
|
|
public partial class LoginWindow : Window |
|
{ |
|
public LoginWindow() |
|
{ |
|
InitializeComponent(); |
|
WindowStartupLocation = WindowStartupLocation.CenterScreen; |
|
} |
|
private void Grid_MouseLeftButtonDown(object sender, MouseButtonEventArgs e) |
|
{ |
|
if (e.ButtonState == MouseButtonState.Pressed) |
|
{ |
|
this.DragMove(); |
|
} |
|
} |
|
|
|
private void UIElement_OnMouseLeftButtonDown(object sender, MouseButtonEventArgs e) |
|
{ |
|
AccountTextBox.Text = string.Empty; |
|
} |
|
|
|
private void CloseButton_OnClick(object sender, RoutedEventArgs e) |
|
{ |
|
this.Close(); |
|
Environment.Exit(0); |
|
} |
|
} |