protected override void OnLoad() { if (this.configFile.Exists) { LayoutXmlDocument doc = new LayoutXmlDocument(); doc.Load(this.configFile.FullName); this.Renderer = doc.Renderer.Value; this.ColorScheme = doc.ColorScheme.Value; this.IntegralClose = doc.IntegralClose.Value; } else { this.Renderer = LayoutRenderer.Office2003; this.ColorScheme = WindowsColorScheme.Automatic; this.IntegralClose = false; } }