Login.xaml.cs

(完整代码) 955B

using System.Windows;
using Utilities;

namespace KeyFinder
{
    /// <summary>
    /// Login.xaml 的交互逻辑
    /// </summary>
    public partial class Login : Window
    {
        public Login()
        {
            InitializeComponent();
            this.password.Focus();
        }

        void LoginClick(object sender, RoutedEventArgs e)
        {
            string p = this.password.Password;
            if (string.IsNullOrWhiteSpace(p))
                return;
            string s = CryptHelper.Encrypt(p);
            
            if (CryptHelper.Encrypt(p) == "312351333348315291330159147291345336360")
            {
                MainWindow mainWindow = new MainWindow();
                App.Current.MainWindow = mainWindow;
                this.Close();
                mainWindow.Show();
            }
        }

         void CloseClick(object sender, RoutedEventArgs e)
        {
            this.Close();
        }
    }
}

24 小时内免费解锁 3 个项目,之后 1 算力/个。 规则说明

AI 解读 AI

登录后可用,每次 10 算力,解读结果公开显示在下面。

还没有人解读过这个文件。