类似幻灯片播放时的效果!!!!!

解决方案 »

  1.   

    加个计时器,当鼠标不动时开始计时,3秒就将鼠标隐藏,当鼠标move时就将鼠标显示
      

  2.   

    我记得在windows系统设计课中的确是有鼠标不移动后开始计时的1个系统类
    忘记是什么了 可能要去查一下了 但是不能确定一定是也可能我记错了
    但是你如何定义隐藏鼠标呢...
      

  3.   

    private void timer1_Tick(object sender, EventArgs e)
      {
      if (_Index > _ImageList.Count-1) _Index = 0;
      pictureBox1.Image = _ImageList[_Index];
      _Index++;
      }  private IList<Image> _ImageList = new List<Image>();
      private int _Index = 0;
      private void button1_Click(object sender, EventArgs e)
      {
      _ImageList.Add(Image.FromFile(@"c:\1.jpg"));
      _ImageList.Add(Image.FromFile(@"c:\2.jpg"));  timer1.Interval = 1000;
      timer1.Enabled = true;  }
      

  4.   

    隐藏、显示
    System.Windows.Forms.Cursor.Hide/Show();
    全局鼠标位置
    System.Windows.Forms.Cursor.Position
      

  5.   

    绿色辅助工具——《Csdn收音机》帮你轻松掌握Csdn最新动向!
      

  6.   

            private int index = 0;
            private int x=0;
            private int y=0;
     private void timer1_Tick(object sender, EventArgs e)
            {
                Point p = Cursor.Position;
                if (p.X == x && p.Y == y)
                {
                    index++;
                    if (index >= 200)
                        Cursor.Hide();
                }
                else
                {
                    Cursor.Show();
                    index = 0;
                }
                
                x = Cursor.Position.X;
                y = Cursor.Position.Y;        }
    private void Form1_MouseHover(object sender, EventArgs e)
            {
                timer1.Enabled = true;
                timer1.Interval = 10;
            }