/// <summary>
        /// Initialize a new instance of the KryptonDockingControl class.
        /// </summary>
        /// <param name="name">Initial name of the element.</param>
        /// <param name="control">Reference to control derived instance.</param>
        /// <param name="navigator">Inner space occupied by a KryptonDockingNavigator.</param>
        public KryptonDockingControl(string name, Control control, KryptonDockingNavigator navigator)
            : base(name)
        {
            if (control == null)
            {
                throw new ArgumentNullException(nameof(control));
            }

            if (navigator == null)
            {
                throw new ArgumentNullException(nameof(navigator));
            }

            Construct(control, navigator);
        }
Esempio n. 2
0
 /// <summary>
 /// Initialize a new instance of the DockableNavigatorEventArgs class.
 /// </summary>
 /// <param name="navigator">Reference to dockable navigator control instance.</param>
 /// <param name="element">Reference to docking navigator element that is managing the dockable workspace control.</param>
 public DockableNavigatorEventArgs(KryptonDockableNavigator navigator,
                                   KryptonDockingNavigator element)
 {
     DockableNavigatorControl = navigator;
     DockingNavigatorElement  = element;
 }