Exemple #1
0
        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();
        }
Exemple #2
0
        private void ShowMenuWindow(Point pivot)
        {
            var window = new MenuWindow(this, pivot);

            window.ViewModel.CloseAppRequested += (sender, e) => _current.Shutdown();
            window.AddMenuItem(new Probe());
            window.Show();
        }