예제 #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
파일: HtmlSite.cs 프로젝트: gahadzikwa/GAPP
 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;
 }