private void Init(AxisConfig config) { foreach (var axis in mBindings.GetBoundClasses <IAxis>().Where(ax => !ax.IsAbstract)) { if (IsConstrained(axis)) { config.GetDeadzone(axis.Name); config.GetScale(axis.Name); } config.GetBinding(axis.Name); } mPanel = new ConfigurationObjectControlPanel(config); mPanel.Anchor = AnchorStyles.Left | AnchorStyles.Right | AnchorStyles.Top | AnchorStyles.Bottom; mPanel.Location = new Point(0, reloadButton.Height); mPanel.Width = Width; mPanel.Height = Height - mPanel.Location.Y; Controls.Add(mPanel); }