Esempio n. 1
0
        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;
        }
Esempio n. 3
0
		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;
		}
Esempio n. 5
0
        internal ConfigPage(ASFConfig config)
        {
            if (config == null) {
                return;
            }

            ASFConfig = config;

            RefreshText();

            EnhancedPropertyGrid enhancedPropertyGrid = new EnhancedPropertyGrid(config);
            Controls.Add(enhancedPropertyGrid);
        }
Esempio n. 6
0
        internal ConfigPage(ASFConfig config)
        {
            if (config == null)
            {
                return;
            }

            ASFConfig = config;

            RefreshText();

            EnhancedPropertyGrid enhancedPropertyGrid = new EnhancedPropertyGrid(config);

            Controls.Add(enhancedPropertyGrid);
        }
Esempio n. 7
0
        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;
        }