示例#1
0
        public FormHtmlEditor()
        {
            InitializeComponent();

            _he = new onlyconnect.HtmlEditor();
            panelEditor.Controls.Add(_he);
            _he.Dock = DockStyle.Fill;

            _he.DefaultComposeSettings.BackColor = System.Drawing.Color.White;
            _he.DefaultComposeSettings.DefaultFont = new System.Drawing.Font("Arial", 15F);
            _he.DefaultComposeSettings.Enabled = false;
            _he.DefaultComposeSettings.ForeColor = System.Drawing.Color.Black;
            _he.DefaultPreamble = onlyconnect.EncodingType.Auto;
            _he.DocumentEncoding = onlyconnect.EncodingType.WindowsCurrent;
            _he.IsActiveContentEnabled = false;
            _he.Location = new System.Drawing.Point(7, 64);
            _he.Name = "htmlEditor1";
            _he.OptionKeyPath = "";
            _he.SelectionAlignment = System.Windows.Forms.HorizontalAlignment.Left;
            _he.SelectionBackColor = System.Drawing.Color.Empty;
            _he.SelectionBullets = false;
            _he.SelectionFont = null;
            _he.SelectionForeColor = System.Drawing.Color.Empty;
            _he.SelectionNumbering = false;
            _he.IsDesignMode = true;
        }
示例#2
0
        public FormHtmlEditor()
        {
            InitializeComponent();

            _he = new onlyconnect.HtmlEditor();
            panelEditor.Controls.Add(_he);
            _he.Dock = DockStyle.Fill;

            _he.DefaultComposeSettings.BackColor   = System.Drawing.Color.White;
            _he.DefaultComposeSettings.DefaultFont = new System.Drawing.Font("Arial", 15F);
            _he.DefaultComposeSettings.Enabled     = false;
            _he.DefaultComposeSettings.ForeColor   = System.Drawing.Color.Black;
            _he.DefaultPreamble        = onlyconnect.EncodingType.Auto;
            _he.DocumentEncoding       = onlyconnect.EncodingType.WindowsCurrent;
            _he.IsActiveContentEnabled = false;
            _he.Location           = new System.Drawing.Point(7, 64);
            _he.Name               = "htmlEditor1";
            _he.OptionKeyPath      = "";
            _he.SelectionAlignment = System.Windows.Forms.HorizontalAlignment.Left;
            _he.SelectionBackColor = System.Drawing.Color.Empty;
            _he.SelectionBullets   = false;
            _he.SelectionFont      = null;
            _he.SelectionForeColor = System.Drawing.Color.Empty;
            _he.SelectionNumbering = false;
            _he.IsDesignMode       = true;
        }
示例#3
0
 public HtmlSite(HtmlEditor container)
 {
     if ((container == null) || (container.IsHandleCreated == false)) throw
                                                                          new ArgumentException();
     this.container = container;
     container.Resize += new EventHandler(this.Container_Resize);
 }
示例#4
0
 public ComposeSettings(HtmlEditor editor)
 {
     //
     // TODO: Add constructor logic here
     //
     this.mHtmlEditor = editor;
 }
示例#5
0
		public ComposeSettings(HtmlEditor editor)
		{
			//
			// TODO: Add constructor logic here
			//
			this.mHtmlEditor = editor;
		}
示例#6
0
 public HtmlSite(HtmlEditor container)
 {
     if ((container == null) || (container.IsHandleCreated == false))
     {
         throw
             new ArgumentException();
     }
     this.container    = container;
     container.Resize += new EventHandler(this.Container_Resize);
 }
示例#7
0
 public ChangeMonitor(HtmlEditor he) : base()
 {
     this.mHtmlEditor = he;
 }
示例#8
0
 public ChangeMonitor(HtmlEditor he) : base()
 {
     mHtmlEditor = he;
 }