protected virtual void ShowMenuWindow(Point pivot) { var window = new MenuWindow(this, pivot); window.ViewModel.CloseAppRequested += (sender, e) => _current.Shutdown(); window.AddMenuItem(new ProbeSection(this)); window.Show(); }
private void ShowMenuWindow(Point pivot) { var window = new MenuWindow(this, pivot); window.ViewModel.CloseAppRequested += (sender, e) => _current.Shutdown(); window.AddMenuItem(new Probe()); window.Show(); }