41 lines
771 B
C#
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();
|
|
}
|
|
}
|
|
|
|
}
|
|
}
|