From 33c5429a2de9d4d62e5217e7a5695ca92c142bf3 Mon Sep 17 00:00:00 2001 From: ZouJin Date: Tue, 4 Apr 2023 19:32:29 +1000 Subject: [PATCH] =?UTF-8?q?=E6=96=B0=E5=A2=9E=20Ctrl+Enter=20=E5=BF=AB?= =?UTF-8?q?=E6=8D=B7=E5=8F=91=E9=80=81=E6=B6=88=E6=81=AF?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- VPet-Simulator.Windows/WinDesign/TalkBox.xaml | 26 ++++++++++--------- .../WinDesign/TalkBox.xaml.cs | 9 +++++++ .../WinDesign/TalkBoxAPI.xaml | 19 +++++++------- .../WinDesign/TalkBoxAPI.xaml.cs | 16 +++++++++++- 4 files changed, 48 insertions(+), 22 deletions(-) diff --git a/VPet-Simulator.Windows/WinDesign/TalkBox.xaml b/VPet-Simulator.Windows/WinDesign/TalkBox.xaml index 2208444..143f1f7 100644 --- a/VPet-Simulator.Windows/WinDesign/TalkBox.xaml +++ b/VPet-Simulator.Windows/WinDesign/TalkBox.xaml @@ -1,25 +1,27 @@ - + xmlns:pu="clr-namespace:Panuon.WPF.UI;assembly=Panuon.WPF.UI" Height="500" Width="500"> - - - + + + + pu:TextBoxHelper.Watermark="和桌宠说" FontSize="30" AcceptsReturn="True" TextWrapping="WrapWithOverflow" + PreviewKeyDown="tbTalk_KeyDown" />