Example #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;
        }
Example #2
0
 public HtmlSite(HtmlEditor container)
 {
     if ((container == null) || (container.IsHandleCreated == false)) throw
                                                                          new ArgumentException();
     this.container = container;
     container.Resize += new EventHandler(this.Container_Resize);
 }
Example #3
0
		public ComposeSettings(HtmlEditor editor)
		{
			//
			// TODO: Add constructor logic here
			//
			this.mHtmlEditor = editor;
		}
Example #4
0
 public ChangeMonitor(HtmlEditor he) : base()
 {
     mHtmlEditor = he;
 }