コード例 #1
0
ファイル: LinkCell.cs プロジェクト: windygu/haina
 public LinkCell(LinkCell cell) : base(cell)
 {
     this.m_acolor     = Color.Yellow;
     this.m_vcolor     = Color.Gray;
     this.m_linkFormat = "{0}";
     base.TextFont     = new Font("Tahoma", 8f, FontStyle.Underline);
     base.ForeColor    = cell.ForeColor;
     this.m_acolor     = cell.m_acolor;
     this.m_vcolor     = cell.m_vcolor;
     this.m_linkFormat = cell.m_linkFormat;
 }
コード例 #2
0
ファイル: LinkCell.cs プロジェクト: north0808/haina
 public LinkCell(LinkCell cell)
     : base(cell)
 {
     this.m_acolor = Color.Yellow;
     this.m_vcolor = Color.Gray;
     this.m_linkFormat = "{0}";
     base.TextFont = new Font("Tahoma", 8f, FontStyle.Underline);
     base.ForeColor = cell.ForeColor;
     this.m_acolor = cell.m_acolor;
     this.m_vcolor = cell.m_vcolor;
     this.m_linkFormat = cell.m_linkFormat;
 }
コード例 #3
0
ファイル: AdvancedComboBox.cs プロジェクト: north0808/haina
 protected internal virtual void OnLink(LinkCell c, Resco.Controls.AdvancedComboBox.ListItem item, Point index, int yOffset, int width)
 {
     LinkEventArgs e = new LinkEventArgs(item, c, index.X, index.Y, yOffset);
     if (this.LinkClick != null)
     {
         this.LinkClick(this, e);
     }
     Links.AddLink(e.Target);
     this.OnChange(this, ComboBoxEventArgsType.Repaint, ComboBoxArgs.Default);
 }