Esempio n. 1
0
        protected virtual DockSettings CreateDockSettings()
        {
            DockSettings localSettings = new DockSettings();

            localSettings.Changed += new EventHandler(SettingsChanged);
            return(localSettings);
        }
Esempio n. 2
0
 public CustomDockPanel()
 {
     InitializeComponent();
     settings    = CreateDockSettings();
     painter     = CreateDockPainter();
     dockManager = CreateDockManager();
 }
Esempio n. 3
0
        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;
        }
Esempio n. 4
0
 public FishEyeDockManager(DockSettings settings, CustomDockPainter painter)
     : base(settings, painter)
 {
 }