protected virtual SettingsLayout GetSettingsLayout()
        {
            if (settingsLayout == null)
            {
                settingsLayout = CreateSettingsLayout();
                if (settingsLayout.GetControl().Parent == null)
                {
                    this.Controls.Add(settingsLayout.GetControl());
                }
            }

            return(settingsLayout);
        }
예제 #2
0
        protected virtual SettingsLayout GetSettingsLayout()
        {
            if (settingsLayout == null)
            {
                settingsLayout = CreateSettingsLayout();
                if (settingsLayout.GetControl().Parent == null)
                {
                    this.Controls.Add(settingsLayout.GetControl());
                }
            }

            return settingsLayout;
        }
        public override void AddSettingsLayout(SettingsLayout aLayout)
        {
            currentRow++;
            var control = aLayout.GetControl();

            control.Dock = DockStyle.Fill;
            Panel.Controls.Add(control, 1, currentRow);
        }
 public override void AddSettingsLayout(SettingsLayout aLayout)
 {
     currentRow++;
     var control = aLayout.GetControl();
     control.Dock = DockStyle.Fill;
     Panel.Controls.Add(control, 1, currentRow);
 }