public MainForm() { InitializeComponent(); _tokay = new TokayControl(FileLocator.DirectoryOfApplicationOrSolution, GetObject, FileLocator.GetFileDistributedWithApplication("MainView.html")); Controls.Add(_tokay); _tokay.Dock = DockStyle.Fill; _mainViewModel = new MainViewModel(); }
public JsonViewModel(MainViewModel mainViewModel) : base("JSON Viewer", PageVisibility.Always, mainViewModel) { MainViewModel.TabRefresh += MainViewModel_TabRefresh; }