Esempio n. 1
0
        /// <summary>
        /// Required method for Designer support - do not modify
        /// the contents of this method with the code editor.
        /// </summary>
        private void InitializeComponent()
        {
            components = new System.ComponentModel.Container();

            this._headerPane   = new System.Windows.Forms.Panel();
            this._gradientLine = new JetBrains.Omea.GUIControls.GradientBar();
            this._editSubject  = new JetRichTextBox();
            this._editRtfBody  = new JetRichTextBox();
            this._headerPane.SuspendLayout();
            this.SuspendLayout();
            //
            // _headerPane
            //
            this._headerPane.BackColor = System.Drawing.SystemColors.Window;
            this._headerPane.Controls.Add(this._gradientLine);
            this._headerPane.Controls.Add(this._editSubject);
            this._headerPane.Dock     = System.Windows.Forms.DockStyle.Top;
            this._headerPane.Location = new System.Drawing.Point(0, 0);
            this._headerPane.Name     = "_headerPane";
            this._headerPane.Size     = new System.Drawing.Size(360, 24);
            this._headerPane.TabIndex = 11;
            //
            // _gradientLine
            //
            this._gradientLine.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left)
                                                                              | System.Windows.Forms.AnchorStyles.Right)));
            this._gradientLine.EndColor     = System.Drawing.Color.White;
            this._gradientLine.GradientMode = System.Drawing.Drawing2D.LinearGradientMode.Horizontal;
            this._gradientLine.Location     = new System.Drawing.Point(4, 22);
            this._gradientLine.Name         = "_gradientLine";
            this._gradientLine.Size         = new System.Drawing.Size(360, 1);
            this._gradientLine.StartColor   = System.Drawing.SystemColors.ControlDark;
            this._gradientLine.TabIndex     = 13;
            //
            // _editSubject
            //
            this._editSubject.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left)
                                                                             | System.Windows.Forms.AnchorStyles.Right)));
            this._editSubject.BackColor        = SystemColors.Window;
            this._editSubject.BorderStyle      = System.Windows.Forms.BorderStyle.None;
            this._editSubject.Font             = new System.Drawing.Font("Tahoma", 9.75F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((System.Byte)(204)));
            this._editSubject.ForeColor        = System.Drawing.SystemColors.WindowText;
            this._editSubject.HideSelection    = false;
            this._editSubject.Location         = new System.Drawing.Point(4, 2);
            this._editSubject.Name             = "_editSubject";
            this._editSubject.ReadOnly         = true;
            this._editSubject.Size             = new System.Drawing.Size(250, 16);
            this._editSubject.ScrollBars       = RichTextBoxScrollBars.None;
            this._editSubject.TabIndex         = 10;
            this._editSubject.Text             = "";
            this._editSubject.ContentsResized += new ContentsResizedEventHandler(HandleSubjectContentsResized);
            this._editSubject.SizeChanged     += new EventHandler(HandleSubjectSizeChanged);
            //
            // _mailBodyRTF
            //
            this._editRtfBody.BorderStyle = BorderStyle.None;
            this._editRtfBody.Dock        = DockStyle.Fill;
            this._editRtfBody.Location    = new System.Drawing.Point(8, 96);
            this._editRtfBody.Name        = "_editRtfBody";
            this._editRtfBody.ReadOnly    = true;
            this._editRtfBody.Size        = new System.Drawing.Size(544, 176);
            this._editRtfBody.TabIndex    = 2;
            this._editRtfBody.Text        = "";
            this._editRtfBody.Visible     = false;
            //
            // RSSItemView
            //
            this.BackColor = System.Drawing.SystemColors.Window;
            this.Controls.Add(this._editRtfBody);
            this.Controls.Add(this._headerPane);
            this.Name = "MessageDisplayPane";
            this.Size = new System.Drawing.Size(360, 150);
            this._headerPane.ResumeLayout(false);
            this.ResumeLayout(false);
        }
Esempio n. 2
0
 public SubjectContextProvider(JetRichTextBox ctrl)
 {
     _subjectCtrl = ctrl;
 }