想鼠标放在 窗体一个点上时  能弹出 这样的 一个 提示窗体
提示窗体里有表格控件    显示 该点的 数据 信息   就像 论坛 把鼠标放到 头像上 显示出来的那样如何实现啊 

解决方案 »

  1.   

    有一个方法:重绘窗体,写成这种STYLE的。然后需要显示它的时候,显示这个窗体就可以了。
      

  2.   

    窗体的外边框是可以重绘的,有很多成熟的方法。即所谓的skin你可以上codeproject去看看,那里有的是。codeguru也有的是示例,像这种需求,做的人多了。
      

  3.   

    C# 制作不规则窗体  google 上搜索 一把连不规则窗体的拖动也顺便带了 .................我试了半天还没试出来 呵呵  反正是可以做的
      

  4.   


    http://blog.csdn.net/anyushan/archive/2007/05/17/1612854.aspx看看这个吧。
      

  5.   

    最好的办法,就是,一个不规则的图,一定要是png格式的,做为窗体的背景,然后将窗体的 transparentkey设置为 transparent,就可以了。
      

  6.   

    唉 我是用的png格式图片  transparentkey设置为 transparent   晕死我了我以前学C# 做过 那时是用VS2003  哎 我竟然搞不出来
      

  7.   

    http://blog.csdn.net/anyushan/archive/2007/05/17/1612854.aspx 按照这个帖子的方法2搞定了..........
      

  8.   

    using System;
    using System.Collections.Generic;
    using System.ComponentModel;
    using System.Data;
    using System.Drawing;
    using System.Text;
    using System.Windows.Forms;
    using System.Drawing.Drawing2D;namespace WindowsApplication22
    {
        public partial class Form1 : Form
        {
            GraphicsPath GP = new GraphicsPath();        public Form1()
            {
                InitializeComponent();            this.FormBorderStyle = FormBorderStyle.None;
                this.StartPosition = FormStartPosition.CenterScreen;
                GP.AddLines(new Point[] { new Point(15, 20), new Point(22, 0), new Point(26, 20), new Point(100, 20),
                    new Point(100, 100),new Point(0, 100),new Point(0,20)});
                GP.CloseFigure();
                this.Region = new Region(GP);
                this.Paint += new PaintEventHandler(Form1_Paint);
            }        void Form1_Paint(object sender, PaintEventArgs e)
            {
                Graphics G = this.CreateGraphics();
                G.FillPath(Brushes.Green, GP);
                G.Dispose();
            }
        }
    }
      

  9.   

    给 BackColor 调调颜色就oK了
      

  10.   

    进一步  求教 能否 把tooltip  重写形状后 依然具有tooltip的特性?方便  点 在 屏幕下方时   弹出的窗体可以 自动 显示在  点  的 上方
      

  11.   

    能否  实现 tooltip的 功能  实现了 再加100分...
      

  12.   

    再顶 最后一次  不死心  想实现 tooltip 效果...........