コード例 #1
0
ファイル: FormHtmlEditor.cs プロジェクト: gahadzikwa/GAPP
        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
ファイル: FormHtmlEditor.cs プロジェクト: pheijmans-zz/GAPP
        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;
 }