コード例 #1
0
ファイル: DockingPanel.cs プロジェクト: jeffreyeast/Yawn
        private void DockingPanel_Initialized(object sender, EventArgs e)
        {
            Dock dock = Utility.FindAncestorOfType <Dock>(this);

            dock.DockingPanel = this;
        }
コード例 #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));
 }