Inheritance: TpBaseButton
        private void AddFontStyleControlIfAllowed(TogleButton toggle, FontFamily font, FontStyle style)
        {
            _fontStyleDictionary.ApplyEnabled(font);

            AddControl(toggle, 20);
            if (HasAttachedBox && !_attachedBox.tpText.HasDifferentFonts)
            {
                toggle.Togled = (_attachedBox.tpText.SelectionFont.Style & style) == style;
            }
        }
        public TogleButton AddTogleButtonControl(Bitmap normal, Bitmap over, Bitmap pressed)
        {
            var tb = new TogleButton(normal, over, pressed)
            {
                Location = new Point(_controlOffset, Y_OFFSET20)
            };

            Controls.Add(tb);
            _controlOffset += tb.Width;
            return(tb);
        }
		public TogleButton AddTogleButtonControl(Bitmap normal, Bitmap over, Bitmap pressed)
		{
			var tb = new TogleButton(normal, over, pressed) {Location = new Point(_controlOffset, Y_OFFSET20)};
			Controls.Add(tb);
			_controlOffset += tb.Width;
			return tb;
		}
		private void AddFontStyleControlIfAllowed(TogleButton toggle, FontFamily font, FontStyle style)
		{
			_fontStyleDictionary.ApplyEnabled(font);

			AddControl(toggle, 20);
			if (HasAttachedBox && !_attachedBox.tpText.HasDifferentFonts)
			{
				toggle.Togled = (_attachedBox.tpText.SelectionFont.Style & style) == style;
			}
		}