private MainWindowSettings(MainWindowSettings other) { _window = other._window.Clone(); SelectedMainPanel = other.SelectedMainPanel; SelectedSidePanel = other.SelectedSidePanel; AlwaysOnTop = other.AlwaysOnTop; }
public ApplicationSettings(string fileName) { _fileName = Path.GetFullPath(fileName); _fileFolder = Path.GetDirectoryName(_fileName); _mainWindow = new MainWindowSettings(); }
private ApplicationSettings(ApplicationSettings other) { _fileName = other._fileName; _fileFolder = other._fileFolder; _mainWindow = other.MainWindow.Clone(); }