You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
22 lines
565 B
22 lines
565 B
using System.Windows; |
|
using System.Windows.Controls; |
|
using System.Windows.Input; |
|
using HandyControl.Controls; |
|
namespace SparkClient.ViewModel.BaseWindow; |
|
|
|
public class HomeWindowVM : BaseViewModel |
|
{ |
|
public ICommand ShowHelperPageCommand { get; } |
|
|
|
public HomeWindowVM() |
|
{ |
|
ShowHelperPageCommand = new RelayCommand(ShowHelperPage); |
|
} |
|
|
|
public void ShowHelperPage(object parameter) |
|
{ |
|
BaseControlVM vm = new BaseControlVM(new HelperPageVM()); |
|
WindowManager.mainViewModel.Content = vm; |
|
WindowManager.openContent.Add(vm); |
|
} |
|
} |