Files
SCRGroupLine/GroupLine.App/View/MsgInput.xaml.cs
2026-03-16 10:36:47 +08:00

41 lines
771 B
C#

using System;
using System.Windows;
namespace GroupLine.App.View
{
/// <summary>
/// MsgInput.xaml 的交互逻辑
/// </summary>
public partial class MsgInput : Window
{
public MsgInput()
{
InitializeComponent();
}
public string InputValue
{
get
{
return Box.Text;
}
set
{
this.Box.Text = value;
}
}
public event EventHandler Accept;
private void ButtonCmd_Click(object sender, RoutedEventArgs e)
{
if (Accept != null)
{
Accept(this, EventArgs.Empty);
this.Close();
}
}
}
}