This commit is contained in:
xiang 2024-11-26 21:59:37 +08:00
parent b06d44db46
commit 6443f2eb2e

View File

@ -27,15 +27,15 @@ namespace VideoConcat
} }
private void BtnLogin_Click(object sender, RoutedEventArgs e) private void BtnLogin_Click(object sender, RoutedEventArgs e)
{
if (txtUserName.Text == "admin" && txtPassword.Password == "&o4Fwag3xYUf")
{ {
Video video = new(); Video video = new();
video.Show(); video.Show();
this.Close(); this.Close();
return; return;
if (txtUserName.Text == "admin" && txtPassword.Password == "&o4Fwag3xYUf")
{
} }
MessageBox.Show("用户名或者密码错误!"); MessageBox.Show("用户名或者密码错误!");