Click here to Skip to main content
15,887,027 members
Articles / Programming Languages / C#

Visual Studio IDE like Dock Container

Rate me:
Please Sign up or sign in to vote.
4.38/5 (41 votes)
14 May 2009Public Domain2 min read 375.8K   21.4K   256  
Free Windows dock container
using System;
using System.Drawing;

namespace Crom.Controls
{
   /// <summary>
   /// Auto-hide event args
   /// </summary>
   public class AutoHideEventArgs : EventArgs
   {
      #region Fields.

      private zDockMode _selection = zDockMode.None;

      #endregion Fields.

      #region Instance.

      /// <summary>
      /// Create a new instance of <see cref="ContextMenuEventArg"/>
      /// </summary>
      /// <param name="selection">dock mode of the selected panel</param>
      public AutoHideEventArgs (zDockMode selection)
      {
         _selection = selection;
      }

      #endregion Instance.

      #region Public section.

      /// <summary>
      /// Getter for the dock mode of the panel for which the auto-hide state was toggled.
      /// </summary>
      public zDockMode Selection
      {
         get { return _selection; }
      }

      #endregion Public section.
   }
}

By viewing downloads associated with this article you agree to the Terms of Service and the article's licence.

If a file you wish to view isn't highlighted, and is a text file (not binary), please let us know and we'll add colourisation support for it.

License

This article, along with any associated source code and files, is licensed under A Public Domain dedication


Written By
Romania Romania
This member has not yet provided a Biography. Assume it's interesting and varied, and probably something to do with programming.

Comments and Discussions