first commit

This commit is contained in:
Beyhan Oğur
2026-09-03 04:45:36 +03:00
commit d5f52cc3d3
1038 changed files with 169579 additions and 0 deletions
+36
View File
@@ -0,0 +1,36 @@
using System.Windows;
using System.Windows.Controls;
using System.Windows.Input;
using ClassicAssist.Shared.UO;
namespace ClassicAssist.UI.Views
{
/// <summary>
/// Interaction logic for ChatWindow.xaml
/// </summary>
public partial class ChatWindow : Window
{
public ChatWindow()
{
InitializeComponent();
}
//TODO Change to command
private void TextBox_KeyDown( object sender, KeyEventArgs e )
{
if ( e.Key != Key.Return && e.Key != Key.Return )
{
return;
}
if ( !( sender is TextBox textBox ) )
{
return;
}
Commands.ChatMsg( textBox.Text );
e.Handled = true;
textBox.Text = string.Empty;
}
}
}