You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

67 lines
1.6 KiB
C#

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.Shapes;
namespace CommonFunc.Tools
{
/// <summary>
/// PauseRecoverWin.xaml 的交互逻辑
/// </summary>
public partial class PauseRecoverWin : Window
{
public string remark;
public string type;
public PauseRecoverWin()
{
InitializeComponent();
}
private void btnCancel_Click(object sender, RoutedEventArgs e)
{
this.Close();
}
private void btnOK_Click(object sender, RoutedEventArgs e)
{
remark = txtRemark.Text;
type = txtType.Text;
this.DialogResult = true;
}
private void txtUserID_TextChanged(object sender, TextChangedEventArgs e)
{
this.tbMsg.Content = "";
}
private void pw_PasswordChanged(object sender, RoutedEventArgs e)
{
tbMsg.Content = "";
}
private void Window_Loaded(object sender, RoutedEventArgs e)
{
}
private void txtRemark_TextChanged(object sender, TextChangedEventArgs e)
{
this.tbMsg.Content = "";
}
private void txtType_SelectionChanged(object sender, SelectionChangedEventArgs e)
{
this.tbMsg.Content = "";
}
}
}