コード例 #1
0
 private MainWindowSettings(MainWindowSettings other)
 {
     _window           = other._window.Clone();
     SelectedMainPanel = other.SelectedMainPanel;
     SelectedSidePanel = other.SelectedSidePanel;
     AlwaysOnTop       = other.AlwaysOnTop;
 }
コード例 #2
0
 public ApplicationSettings(string fileName)
 {
     _fileName   = Path.GetFullPath(fileName);
     _fileFolder = Path.GetDirectoryName(_fileName);
     _mainWindow = new MainWindowSettings();
 }
コード例 #3
0
 private ApplicationSettings(ApplicationSettings other)
 {
     _fileName   = other._fileName;
     _fileFolder = other._fileFolder;
     _mainWindow = other.MainWindow.Clone();
 }