Files
hoodFieldOfView/头罩视野slove/头罩视野/Views/SetPassWord.xaml.cs
2026-04-18 18:14:12 +08:00

40 lines
1.1 KiB
C#
Raw Permalink Blame History

This file contains ambiguous Unicode characters
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
using System;
using System.Collections.Generic;
using System.Text;
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 .Views
{
/// <summary>
/// SetPassWord.xaml 的交互逻辑
/// </summary>
public partial class SetPassWord : Page
{
public SetPassWord()
{
InitializeComponent();
}
private void TS_0_Click(object sender, RoutedEventArgs e)
{
// 1. 获取普通文本框值(如时间)
string year1 = NE_7.Text;
string month1 = NE_8.Text;
// 2. 获取密码框值(激活码)
string activeCode = ActiveCode_Password.Password;
string fullActiveCode = FullActiveCode_Password.Password;
// 3. 在这里写入保存逻辑
MessageBox.Show($"保存成功!\n激活码{activeCode}", "提示");
}
}
}