添加项目文件。
This commit is contained in:
20
Views/SettingView.xaml.cs
Normal file
20
Views/SettingView.xaml.cs
Normal file
@@ -0,0 +1,20 @@
|
||||
using System.Windows.Controls;
|
||||
using YwxApp.AiChat.ViewModels;
|
||||
|
||||
namespace YwxApp.AiChat.Views
|
||||
{
|
||||
/// <summary>
|
||||
/// SettingView.xaml 的交互逻辑
|
||||
/// </summary>
|
||||
|
||||
public partial class SettingView : UserControl
|
||||
{
|
||||
SettingViewModel _viewModel;
|
||||
public SettingView(ShareOllamaObject ollama)
|
||||
{
|
||||
InitializeComponent();
|
||||
_viewModel = new SettingViewModel(ollama);
|
||||
this.DataContext = _viewModel;
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user