private void DockingSavedWindows(Window window, PanelEnum panelEnum) { if (window == null) return; var w = new SystemWindow(window.ClassName, window.Title); if (Settings.Instance.EnableLogger) Logger.Debug("(MainForm - DockingSavedWindows) Window exists: {0}", w.Exists); if (!w.Exists) return; DockToPanel(w, panelEnum); switch (panelEnum) { case PanelEnum.First: _firstWindow = w; break; case PanelEnum.Second: _secondWindow = w; break; } }
public void Clean() { Logger.Debug("(Settings - Clean) Cleaning settings."); Windows = new Window[WindowsLength]; }
public TempSettings(Window[] windows, int splitterDistance, bool enableLogger, string version, string[] filters) { Windows = windows; SplitterDistance = splitterDistance; EnableLogger = enableLogger; Version = version; Filters = filters; }