Exemplo n.º 1
0
 /// <summary>
 /// Construct an empty GoPartInfo.
 /// </summary>
 public GoPartInfo(IGoPartInfoRenderer renderer)
 {
 }
Exemplo n.º 2
0
        public override GoPartInfo GetPartInfo(GoView view, IGoPartInfoRenderer renderer)
        {
            if (this.Label != null)
            {
                renderer.AddPartInfo(this.Label);
            }

            GoPartInfo info = renderer.CreatePartInfo();
            if (this.PartID != -1) info["ID"] = this.PartID;
            info.Text = this.Text;
            info.SingleClick = "EditLink()";
            renderer.AssociatePartInfo(this.RealLink, info);

            return null;
        }