/// <summary>
        /// Initialize a new instance of the ButtonSpecFormFixed class.
        /// </summary>
        /// <param name="form">Reference to owning krypton form.</param>
        /// <param name="fixedStyle">Fixed style to use.</param>
        public ButtonSpecFormFixed(KryptonFormWithDropShadow form,
                                   PaletteButtonSpecStyle fixedStyle)
        {
            Debug.Assert(form != null);

            // Remember back reference to owning navigator.
            KryptonForm = form;

            // Fix the type
            ProtectedType = fixedStyle;
        }
示例#2
0
 /// <summary>
 /// Initialize a new instance of the ButtonSpecFormWindowClose class.
 /// </summary>
 /// <param name="form">Reference to owning krypton form instance.</param>
 public ButtonSpecFormWindowClose(KryptonFormWithDropShadow form)
     : base(form, PaletteButtonSpecStyle.FormClose)
 {
 }
示例#3
0
 /// <summary>
 /// Initialize a new instance of the ButtonSpecFormWindowMin class.
 /// </summary>
 /// <param name="form">Reference to owning krypton form instance.</param>
 public ButtonSpecFormWindowMin(KryptonFormWithDropShadow form)
     : base(form, PaletteButtonSpecStyle.FormMin)
 {
 }