internal ConfigPage(ASFConfig config) { ASFConfig = config ?? throw new ArgumentNullException(nameof(config)); RefreshText(); EnhancedPropertyGrid enhancedPropertyGrid = new EnhancedPropertyGrid(config); Controls.Add(enhancedPropertyGrid); }
internal EnhancedPropertyGrid(ASFConfig config) { ASFConfig = config ?? throw new ArgumentNullException(nameof(config)); SelectedObject = config; Anchor = AnchorStyles.Left | AnchorStyles.Right | AnchorStyles.Top; Dock = DockStyle.Fill; HelpVisible = false; ToolbarVisible = false; }
internal ConfigPage(ASFConfig config) { if (config == null) { throw new ArgumentNullException(nameof(config)); } ASFConfig = config; RefreshText(); EnhancedPropertyGrid enhancedPropertyGrid = new EnhancedPropertyGrid(config); Controls.Add(enhancedPropertyGrid); }
internal EnhancedPropertyGrid(ASFConfig config) { if (config == null) { throw new ArgumentNullException(nameof(config)); } ASFConfig = config; SelectedObject = config; Anchor = AnchorStyles.Left | AnchorStyles.Right | AnchorStyles.Top; Dock = DockStyle.Fill; HelpVisible = false; ToolbarVisible = false; }
internal ConfigPage(ASFConfig config) { if (config == null) { return; } ASFConfig = config; RefreshText(); EnhancedPropertyGrid enhancedPropertyGrid = new EnhancedPropertyGrid(config); Controls.Add(enhancedPropertyGrid); }
internal EnhancedPropertyGrid(ASFConfig config) { if (config == null) { return; } ASFConfig = config; SelectedObject = config; Anchor = AnchorStyles.Left | AnchorStyles.Right | AnchorStyles.Top; Dock = DockStyle.Fill; HelpVisible = false; ToolbarVisible = false; }