添加项目文件。

This commit is contained in:
ShaoHua
2025-12-30 10:29:28 +08:00
parent 2989e660b3
commit 57cfd16e7b
21 changed files with 2348 additions and 0 deletions
+23
View File
@@ -0,0 +1,23 @@
using System;
using System.Windows;
using TodoList.Services;
using TodoList.ViewModels;
namespace TodoList.Views
{
public partial class QuickEntryWindow : Window
{
public QuickEntryWindow(IDataService dataService)
{
InitializeComponent();
DataContext = new QuickEntryViewModel(dataService, () => this.Hide());
}
protected override void OnActivated(EventArgs e)
{
base.OnActivated(e);
InputBox.Focus();
InputBox.SelectAll();
}
}
}