예제 #1
0
파일: ToolTip.cs 프로젝트: windygu/haina
 public ToolTip()
 {
     base.BackColor = SystemColors.Info;
     base.ForeColor = SystemColors.InfoText;
     //base.set_BorderStyle(BorderStyle.FixedSingle);
     base.BorderStyle         = (BorderStyle.FixedSingle);
     base.Text                = "";
     this.m_textAlignment     = HorizontalAlignment.Left;
     this.m_showLocation      = Resco.Controls.OutlookControls.ShowLocation.TopLeft;
     this.m_minimizeBox       = false;
     this.m_showTitle         = false;
     this.m_titleText         = "";
     this.m_titleFont         = new Font(this.Font.Name, this.Font.Size, FontStyle.Bold);
     this.m_titleHeight       = 0x10;
     this.m_titleBackColor    = SystemColors.ActiveCaption;
     this.m_titleForeColor    = SystemColors.ActiveCaptionText;
     this.m_gradientBackColor = new GradientColor();
     this.m_gradientBackColor.PropertyChanged += new EventHandler(this.m_gradientBackColor_PropertyChanged);
     this.m_useGradient = false;
     this.m_style       = ToolTipStyle.Normal;
 }
예제 #2
0
파일: ToolTip.cs 프로젝트: north0808/haina
 public ToolTip()
 {
     base.BackColor = SystemColors.Info;
     base.ForeColor = SystemColors.InfoText;
     //base.set_BorderStyle(BorderStyle.FixedSingle);
     base.BorderStyle = (BorderStyle.FixedSingle);
     base.Text = "";
     this.m_textAlignment = HorizontalAlignment.Left;
     this.m_showLocation = Resco.Controls.OutlookControls.ShowLocation.TopLeft;
     this.m_minimizeBox = false;
     this.m_showTitle = false;
     this.m_titleText = "";
     this.m_titleFont = new Font(this.Font.Name, this.Font.Size, FontStyle.Bold);
     this.m_titleHeight = 0x10;
     this.m_titleBackColor = SystemColors.ActiveCaption;
     this.m_titleForeColor = SystemColors.ActiveCaptionText;
     this.m_gradientBackColor = new GradientColor();
     this.m_gradientBackColor.PropertyChanged += new EventHandler(this.m_gradientBackColor_PropertyChanged);
     this.m_useGradient = false;
     this.m_style = ToolTipStyle.Normal;
 }