C# MouseMove Çalışmıyor

SeAkman

Centipat
Katılım
18 Haziran 2022
Mesajlar
69
Daha fazla  
Cinsiyet
Erkek
Mouse buton'un üzerine geldiğinde label a "Mouse On" yazması için bu şekilde bir kod yazdım ancak işe yaramadı çözümü nedir?
C#:
private void button1_MouseMove(object sender, EventArgs e)
        {
            label1.Text = "Mouse on";
        }
        private void button1_MouseLeave(object sender, EventArgs e)
        {
            label1.Text = "Mouse off";
        }
 

Geri
Yukarı