To create a C# WPF application that allows users to input their daily expenses, follow these steps:

1. Create a new WPF Application project in Visual Studio.

2. Install the required NuGet packages for SQLite by right-clicking on your project in Solution Explorer and selecting "Manage NuGet Packages". Search for "System.Data.SQLite" and install it.

3. Add a new folder named "Models" to your project. Inside this folder, create a new class called "Expense.cs":

```csharp
public class Expense
{
    public int Id { get; set; }
    public DateTime Date { get; set; }
    public string Category { get; set; }
    public string Description { get; set; }
    public decimal Amount { get; set; }
}
```

4. Create a new folder named "DataAccess" and add a new class called "DatabaseManager.cs":

```csharp
using System;
using System.Collections.Generic;
using System.Data;
using System.Data.SQLite;
using System.IO;

public class DatabaseManager
{
    private static readonly string DbFileName = "expenses.db";
    private static readonly string ConnectionString = $"Data Source={DbFileName};Version=3;";

    public DatabaseManager()
    {
        if (!File.Exists(DbFileName))
        {
            CreateDatabase();
        }
    }

    private void CreateDatabase()
    {
        SQLiteConnection.CreateFile(DbFileName);

        using (var connection = new SQLiteConnection(ConnectionString))
        {
            connection.Open();

            var command = new SQLiteCommand("CREATE TABLE Expenses (Id INTEGER PRIMARY KEY AUTOINCREMENT, Date TEXT NOT NULL, Category TEXT NOT NULL, Description TEXT NOT NULL, Amount REAL NOT NULL)", connection);
            command.ExecuteNonQuery();
        }
    }

    public void InsertExpense(Expense expense)
    {
        using (var connection = new SQLiteConnection(ConnectionString))
        {
            connection.Open();

            var command = new SQLiteCommand("INSERT INTO Expenses (Date, Category, Description, Amount) VALUES (@Date, @Category, @Description, @Amount)", connection);
            command.Parameters.AddWithValue("@Date", expense.Date.ToString("yyyy-MM-dd"));
            command.Parameters.AddWithValue("@Category", expense.Category);
            command.Parameters.AddWithValue("@Description", expense.Description);
            command.Parameters.AddWithValue("@Amount", expense.Amount);

            command.ExecuteNonQuery();
        }
    }

    public List<Expense> GetExpenses(DateTime? startDate, DateTime? endDate, string category)
    {
        using (var connection = new SQLiteConnection(ConnectionString))
        {
            connection.Open();

            var query = "SELECT * FROM Expenses WHERE 1=1";

            if (startDate.HasValue)
            {
                query += $" AND Date >= '{startDate.Value:yyyy-MM-dd}'";
            }

            if (endDate.HasValue)
            {
                query += $" AND Date <= '{endDate.Value:yyyy-MM-dd}'";
            }

            if (!string.IsNullOrEmpty(category))
            {
                query += $" AND Category = '{category}'";
            }

            var command = new SQLiteCommand(query, connection);
            var dataReader = command.ExecuteReader();

            var expenses = new List<Expense>();

            while (dataReader.Read())
            {
                expenses.Add(new Expense
                {
                    Id = Convert.ToInt32(dataReader["Id"]),
                    Date = DateTime.Parse(dataReader["Date"].ToString()),
                    Category = dataReader["Category"].ToString(),
                    Description = dataReader["Description"].ToString(),
                    Amount = Convert.ToDecimal(dataReader["Amount"])
                });
            }

            return expenses;
        }
    }
}
```

5. Design the MainWindow.xaml with input fields for date, category, description, and amount, as well as a DataGrid to display the saved expenses:

```xml
<Window x:Class="WpfApp.MainWindow"
        xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
        xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
        Title="Expense Tracker" Height="450" Width="800">
    <Grid>
        <Grid.RowDefinitions>
            <RowDefinition Height="Auto"/>
            <RowDefinition/>
        </Grid.RowDefinitions>

        <StackPanel Orientation="Horizontal" Margin="10">
            <Label Content="Date:"/>
            <DatePicker x:Name="datePicker" SelectedDate="{x:Static sys:DateTime.Now}" Margin="5,0"/>
            <Label Content="Category:"/>
            <TextBox x:Name="categoryTextBox" Width="100" Margin="5,0"/>
            <Label Content="Description:"/>
            <TextBox x:Name="descriptionTextBox" Width="200" Margin="5,0"/>
            <Label Content="Amount:"/>
            <TextBox x:Name="amountTextBox" Width="100" Margin="5,0"/>
            <Button Content="Add Expense" Click="AddExpense_Click" Margin="5,0"/>
        </StackPanel>

        <DataGrid x:Name="expensesDataGrid" Grid.Row="1" AutoGenerateColumns="False" CanUserAddRows="False" Margin="10">
            <DataGrid.Columns>
                <DataGridTextColumn Header="Date" Binding="{Binding Date, StringFormat={}{0:yyyy-MM-dd}}"/>
                <DataGridTextColumn Header="Category" Binding="{Binding Category}"/>
                <DataGridTextColumn Header="Description" Binding="{Binding Description}"/>
                <DataGridTextColumn Header="Amount" Binding="{Binding Amount, StringFormat=C2}"/>
            </DataGrid.Columns>
        </DataGrid>
    </Grid>
</Window>
```

6. Add the event handler for the "Add Expense" button in MainWindow.xaml.cs:

```csharp
using System;
using System.Windows;

public partial class MainWindow : Window
{
    private readonly DatabaseManager _databaseManager = new DatabaseManager();

    public MainWindow()
    {
        InitializeComponent();
        LoadExpenses();
    }

    private void AddExpense_Click(object sender, RoutedEventArgs e)
    {
        var expense = new Expense
        {
            Date = datePicker.SelectedDate.Value,
            Category = categoryTextBox.Text,
            Description = descriptionTextBox.Text,
            Amount = decimal.Parse(amountTextBox.Text)
        };

        _databaseManager.InsertExpense(expense);
        LoadExpenses();

        ClearInputFields();
    }

    private void LoadExpenses(DateTime? startDate = null, DateTime? endDate = null, string category = null)
    {
        expensesDataGrid.ItemsSource = _databaseManager.GetExpenses(startDate, endDate, category);
    }

    private void ClearInputFields()
    {
        datePicker.SelectedDate = DateTime.Now;
        categoryTextBox.Clear();
        descriptionTextBox.Clear();
        amountTextBox.Clear();
    }
}
```

7. Run the application and test adding expenses.

To add filtering options based on date range and expense category, you can extend the UI with additional input fields for selecting a start date, end date, and category. Then, modify the `LoadExpenses()` method to pass these filter values to the `GetExpenses()` method in the `DatabaseManager` class.
사용자가 일일 경비를 입력할 수 있는 C# WPF 응용 프로그램을 만들려면 다음 단계를 따르세요.

1. Visual Studio에서 새 WPF 응용 프로그램 프로젝트를 만듭니다.

2. 솔루션 탐색기에서 프로젝트를 마우스 오른쪽 버튼으로 클릭하고 "Manage NuGet Packages"를 선택하여 SQLite에 필요한 NuGet 패키지를 설치합니다. "System.Data.SQLite"를 검색하여 설치합니다.

3. 프로젝트에 "Models"라는 이름의 새 폴더를 추가합니다. 이 폴더 안에 "Expense.cs"라는 새 클래스를 생성합니다:

```csharp
public class Expense
{
    public int Id { get; set; }
    public DateTime Date { get; set; }
    public string Category { get; set; }
    public string Description { get; set; }
    public decimal Amount { get; set; }
}
```

4. "DataAccess"라는 이름의 새 폴더를 만들고 "DatabaseManager.cs"라는 새 클래스를 추가합니다:

```csharp
using System;
using System.Collections.Generic;
using System.Data;
using System.Data.SQLite;
using System.IO;

public class DatabaseManager
{
    private static readonly string DbFileName = "expenses.db";
    private static readonly string ConnectionString = $"Data Source={DbFileName};Version=3;";

    public DatabaseManager()
    {
        if (!File.Exists(DbFileName))
        {
            CreateDatabase();
        }
    }

    private void CreateDatabase()
    {
        SQLiteConnection.CreateFile(DbFileName);

        using (var connection = new SQLiteConnection(ConnectionString))
        {
            connection.Open();

            var command = new SQLiteCommand("CREATE TABLE Expenses (Id INTEGER PRIMARY KEY AUTOINCREMENT, Date TEXT NOT NULL, Category TEXT NOT NULL, Description TEXT NOT NULL, Amount REAL NOT NULL)", connection);
            command.ExecuteNonQuery();
        }
    }

    public void InsertExpense(Expense expense)
    {
        using (var connection = new SQLiteConnection(ConnectionString))
        {
            connection.Open();

            var command = new SQLiteCommand("INSERT INTO Expenses (Date, Category, Description, Amount) VALUES (@Date, @Category, @Description, @Amount)", connection);
            command.Parameters.AddWithValue("@Date", expense.Date.ToString("yyyy-MM-dd"));
            command.Parameters.AddWithValue("@Category", expense.Category);
            command.Parameters.AddWithValue("@Description", expense.Description);
            command.Parameters.AddWithValue("@Amount", expense.Amount);

            command.ExecuteNonQuery();
        }
    }

    public List<Expense> GetExpenses(DateTime? startDate, DateTime? endDate, string category)
    {
        using (var connection = new SQLiteConnection(ConnectionString))
        {
            connection.Open();

            var query = "SELECT * FROM Expenses WHERE 1=1";

            if (startDate.HasValue)
            {
                query += $" AND Date >= '{startDate.Value:yyyy-MM-dd}'";
            }

            if (endDate.HasValue)
            {
                query += $" AND Date <= '{endDate.Value:yyyy-MM-dd}'";
            }

            if (!string.IsNullOrEmpty(category))
            {
                query += $" AND Category = '{category}'";
            }

            var command = new SQLiteCommand(query, connection);
            var dataReader = command.ExecuteReader();

            var expenses = new List<Expense>();

            while (dataReader.Read())
            {
                expenses.Add(new Expense
                {
                    Id = Convert.ToInt32(dataReader["Id"]),
                    Date = DateTime.Parse(dataReader["Date"].ToString()),
                    Category = dataReader["Category"].ToString(),
                    Description = dataReader["Description"].ToString(),
                    Amount = Convert.ToDecimal(dataReader["Amount"])
                });
            }

            return expenses;
        }
    }
}
```

5. 날짜, 카테고리, 설명 및 금액에 대한 입력 필드와 저장된 비용을 표시하는 데이터 그리드를 사용하여 MainWindow.xaml을 디자인합니다:

```xml
<Window x:Class="WpfApp.MainWindow"
        xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
        xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
        Title="Expense Tracker" Height="450" Width="800">
    <Grid>
        <Grid.RowDefinitions>
            <RowDefinition Height="Auto"/>
            <RowDefinition/>
        </Grid.RowDefinitions>

        <StackPanel Orientation="Horizontal" Margin="10">
            <Label Content="Date:"/>
            <DatePicker x:Name="datePicker" SelectedDate="{x:Static sys:DateTime.Now}" Margin="5,0"/>
            <Label Content="Category:"/>
            <TextBox x:Name="categoryTextBox" Width="100" Margin="5,0"/>
            <Label Content="Description:"/>
            <TextBox x:Name="descriptionTextBox" Width="200" Margin="5,0"/>
            <Label Content="Amount:"/>
            <TextBox x:Name="amountTextBox" Width="100" Margin="5,0"/>
            <Button Content="Add Expense" Click="AddExpense_Click" Margin="5,0"/>
        </StackPanel>

        <DataGrid x:Name="expensesDataGrid" Grid.Row="1" AutoGenerateColumns="False" CanUserAddRows="False" Margin="10">
            <DataGrid.Columns>
                <DataGridTextColumn Header="Date" Binding="{Binding Date, StringFormat={}{0:yyyy-MM-dd}}"/>
                <DataGridTextColumn Header="Category" Binding="{Binding Category}"/>
                <DataGridTextColumn Header="Description" Binding="{Binding Description}"/>
                <DataGridTextColumn Header="Amount" Binding="{Binding Amount, StringFormat=C2}"/>
            </DataGrid.Columns>
        </DataGrid>
    </Grid>
</Window>
```

6. MainWindow.xaml.cs에 "Add Expense" 버튼에 대한 이벤트 핸들러를 추가합니다:

```csharp
using System;
using System.Windows;

public partial class MainWindow : Window
{
    private readonly DatabaseManager _databaseManager = new DatabaseManager();

    public MainWindow()
    {
        InitializeComponent();
        LoadExpenses();
    }

    private void AddExpense_Click(object sender, RoutedEventArgs e)
    {
        var expense = new Expense
        {
            Date = datePicker.SelectedDate.Value,
            Category = categoryTextBox.Text,
            Description = descriptionTextBox.Text,
            Amount = decimal.Parse(amountTextBox.Text)
        };

        _databaseManager.InsertExpense(expense);
        LoadExpenses();

        ClearInputFields();
    }

    private void LoadExpenses(DateTime? startDate = null, DateTime? endDate = null, string category = null)
    {
        expensesDataGrid.ItemsSource = _databaseManager.GetExpenses(startDate, endDate, category);
    }

    private void ClearInputFields()
    {
        datePicker.SelectedDate = DateTime.Now;
        categoryTextBox.Clear();
        descriptionTextBox.Clear();
        amountTextBox.Clear();
    }
}
```

7. 애플리케이션을 실행하고 경비 추가를 테스트합니다.

기간 범위 및 경비 카테고리를 기준으로 필터링 옵션을 추가하려면 시작 날짜, 종료 날짜 및 카테고리를 선택할 수 있는 추가 입력 필드를 사용하여 UI를 확장할 수 있습니다. 그런 다음 `LoadExpenses()` 메서드를 수정하여 이러한 필터 값을 `DatabaseManager` 클래스의 `GetExpenses()` 메서드에 전달합니다.