Exemplo n.º 1
0
    public override bool OnMouseEnter(Glyph g)
    {
        VolkerIssueGlyph glyph = (VolkerIssueGlyph)g;

        if (!glyph.Control.Visible)
        {
            return(false);
        }
        lock (ToolTip)
            ToolTip.Show(GetText(glyph), glyph.Control, glyph.Control.PointToClient(Control.MousePosition), 2000);
        return(true);
    }
Exemplo n.º 2
0
 private static string GetText(VolkerIssueGlyph glyph)
 {
     return(string.Format("{0} has {1} conflicts!", glyph.Control.Name, glyph.Issues));
 }