Beispiel #1
0
        private void ExecuteShowConfigCommand()
        {
            var view = new ConfigView()
            {
                Owner = MainWindow.Instance,
            };

            view.Show();
        }
        private void ExecuteShowConfigCommand()
        {
            var mainView = WPFHelper.MainWindow;

            var configView = new ConfigView();

            configView.Height = mainView.Height;
            configView.Left   = mainView.Left + mainView.Width + 3;
            configView.Top    = mainView.Top;

            configView.Show();
        }
Beispiel #3
0
        public static void ConfigView(FormWindowState windowState = FormWindowState.Normal)
        {
            Cursor.Current = Cursors.WaitCursor;

            if (Application.OpenForms["ConfigView"] == null)
            {
                ConfigView action = new ConfigView();
                action.Show();
            }
            else
            {
                {
                    Application.OpenForms["ConfigView"].Activate();
                    Application.OpenForms["ConfigView"].WindowState = windowState;
                    Application.OpenForms["ConfigView"].Show();
                }
            }
        }
Beispiel #4
0
        public void OpenConfigureView(object parameter)
        {
            var view = new ConfigView(SelectedToDo, CurrentUser);

            view.Show();
        }