MouseMove Demo

Design

using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Windows.Forms;

namespace Mouse_Move1
{
    public partial class Form1 : Form
    {
        public Form1()
        {
            InitializeComponent();
        }

        private void button1_MouseMove(object sender, MouseEventArgs e)
        { 
            button1.Text = "No";
            button2.Text = "Yes";
        }

        private void button2_MouseMove(object sender, MouseEventArgs e)
        { 
            button1.Text = "Yes";
            button2.Text = "No";
        }

        private void button1_Click(object sender, EventArgs e)
        {
            MessageBox.Show("Sahi jawab Ke Leye Thank You");
        }

        private void button2_Click(object sender, EventArgs e)
        {
            MessageBox.Show("Sahi jawab Ke Leye Thank You");
        }
    }
}

Output