Beispiel #1
0
        public StartSettingsWindow(StartWindow _startWindow, string?_workingDirectory)
        {
            Owner            = _startWindow;
            startWindow      = _startWindow;
            workingDirectory = _workingDirectory;

            InitializeComponent();

            txtWorkingDirectory.Text = workingDirectory ?? NO_WORKING_DIRECTORY;

            if (_workingDirectory != null)
            {
                btnClear.IsEnabled = true;
            }

            Owner.LocationChanged += new EventHandler(OnOwnerMoves);
        }