protected virtual DockSettings CreateDockSettings() { DockSettings localSettings = new DockSettings(); localSettings.Changed += new EventHandler(SettingsChanged); return(localSettings); }
public CustomDockPanel() { InitializeComponent(); settings = CreateDockSettings(); painter = CreateDockPainter(); dockManager = CreateDockManager(); }
protected CustomDockManager(DockSettings settings, CustomDockPainter painter) { if (settings == null) { throw new ArgumentNullException("settings"); } if (painter == null) { throw new ArgumentNullException("painter"); } items = new List <DockItem>(); this.painter = painter; this.settings = settings; }
public FishEyeDockManager(DockSettings settings, CustomDockPainter painter) : base(settings, painter) { }