这种效果是怎么做到的,当光标放上去,之后弹出来是个表格,  是不是重写了TOOLTIP?

解决方案 »

  1.   

    mouseover事件中弹出一个自定义窗体即可。
      

  2.   

    自定义一个控件
     lableX newlable_station = new lableX(); //下面几个自定义控件主要是生成浮现文字
    鼠标进入事件
     private void button_station_MouseEnter(object sender, EventArgs e) //鼠标到局站管理按钮上,浮现文字
            {
                newlable_station.Str = "局站管理";  //自定义控件的某属性
                newlable_station.Location = new Point(button_station.Location.X - 7, button_station.Location.Y - 22);//自定义控件出现的位置,是相对于当前button的位置。
                Controls.Add(newlable_station);//自定义控件ADD鼠标离开这个按钮后
     private void button_station_MouseLeave(object sender, EventArgs e)
            {
                Controls.Remove(newlable_station);
            }
      

  3.   

    这个控件怎么弹出来?应该写在js里
    我这个是WINFORM的。 
      

  4.   

    DataGridView去掉网格线差不多就是这种效果吧
      

  5.   

    在mouseEnter事件里,怎么弹出自定义窗体?
      

  6.   

    弹出层 = 窗体+自定义控件(DataGridView+LinkButton*2),我用这个方法制作的!晚点贴代码吧
      

  7.   

    这是WINFORM的吗?我现在实现的效果(winform的)
      

  8.   

    这个popup好丑!你们公司的东西的UI都这样瞎做吗?你可以搜一下,使用popup控件里边放上任何一个用户控件,30秒钟就写好了程序了。