Example #1
0
 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;
 }
Example #2
0
 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;
 }
Example #3
0
 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);
 }