Exemplo n.º 1
0
        private void DockingPanel_Initialized(object sender, EventArgs e)
        {
            Dock dock = Utility.FindAncestorOfType <Dock>(this);

            dock.DockingPanel = this;
        }
Exemplo n.º 2
0
 /// <summary>
 /// Save is invoked to preserve the configuration of a Dock.
 /// </summary>
 /// <param name="dock">                 Provides the Dock object whose configuration is to be saved.</param>
 /// <returns>object                     An opaque object which may be serialized to persist the configuration</returns>
 public static object Save(Dock dock)
 {
     return(new DockDescriptor(dock));
 }