Source/Design/TextMarkupEditor.cs

(开头部分) 14KB

这里只显示每个文件的开头 60 行。登录后可以解锁完整代码。

using System;
using System.Collections;
using System.ComponentModel;
using System.Drawing;
using System.Data;
using System.Windows.Forms;

namespace DevComponents.DotNetBar.Design
{
	/// <summary>
	/// Summary description for TextMarkupEditor.
	/// </summary>
	[ToolboxItem(false)]
    public class TextMarkupEditor : PanelEx
    {
        public System.Windows.Forms.Button buttonCancel;
		public System.Windows.Forms.Button buttonOK;
		private System.Windows.Forms.Timer timer1;
		private DevComponents.DotNetBar.PanelEx previewPanel;
		public System.Windows.Forms.TextBox inputText;
        private Label label2;
		private System.ComponentModel.IContainer components;
        private Bar bar1;
        private ButtonItem buttonBold;
        private ButtonItem buttonItalic;
        private ButtonItem buttonUnderline;
        private ColorPickerDropDown buttonColor;
        private SuperTooltipControl m_Tooltip = null;

		public TextMarkupEditor()
		{
			// This call is required by the Windows.Forms Form Designer.
			InitializeComponent();

			this.ColorSchemeStyle = DevComponents.DotNetBar.eDotNetBarStyle.Office2007;
			this.ApplyLabelStyle();
			this.Style.BorderColor.ColorSchemePart = DevComponents.DotNetBar.eColorSchemePart.BarDockedBorder;
			this.Style.Border = DevComponents.DotNetBar.eBorderType.SingleLine;
            this.TabStop = false;
		}

		/// <summary> 
		/// Clean up any resources being used.
		/// </summary>
		protected override void Dispose( bool disposing )
		{
			if( disposing )
			{
				if(components != null)
				{
					components.Dispose();
				}
			}
			base.Dispose( disposing );
		}

		#region Component Designer generated code
		/// <summary> 
		/// Required method for Designer support - do not modify 
		/// the contents of this method with the code editor.
后面还有 264 行代码,解锁后查看完整代码

24 小时内免费解锁 3 个项目,之后 1 算力/个。 规则说明

AI 解读 AI

登录后可用,每次 10 算力,解读结果公开显示在下面。

还没有人解读过这个文件。