示例#1
0
 public SettingsControl(PluginInitContext context, SettingsViewModel viewModel)
 {
     InitializeComponent();
     _context = context;
     _settings = viewModel.Settings;
     DataContext = viewModel;
 }
示例#2
0
文件: Main.cs 项目: cxfksword/Wox
 public Main()
 {
     _viewModel = new SettingsViewModel();
     _settings = _viewModel.Settings;
 }