this.MouseMove和Form1_MouseMove()的区别?
程序代码:
private void button1_Click(object sender, EventArgs e) { textBox1.Text = "0"; this.MouseMove += new System.Windows.Forms.MouseEventHandler(this.Form1_MouseMove); this.pictureBox_pig.Click += new System.EventHandler(this.pictureBox_pig_Click); button1.Enabled = false; button2.Enabled = true; } private void Form1_MouseMove(object sender, MouseEventArgs e) { }
1、请问this.MouseMove和下面的 Form1_MouseMove()有何关系和区别啊?
2、这里将Form1_MouseMove()绑定在this.MouseMove上有什么效果?
我新手,有点一知半解的...麻烦讲解详细点,谢谢。