using an event c# code example

Example: c# event

private void panel1_MouseDown(object sender, System.Windows.Forms.MouseEventArgs e) 
{
}

private void panel1_MouseEnter(object sender, System.EventArgs e) 

private void panel1_MouseHover(object sender, System.EventArgs e) 
  
private void panel1_MouseLeave(object sender, System.EventArgs e)
  
private void panel1_MouseMove(object sender, System.Windows.Forms.MouseEventArgs e)
  
private void panel1_MouseWheel(object sender, System.Windows.Forms.MouseEventArgs e)
       
private void panel1_MouseUp(object sender, System.Windows.Forms.MouseEventArgs e) 

private void panel1_Paint(object sender, System.Windows.Forms.PaintEventArgs e) 

private void clearButton_Click(object sender, System.EventArgs e)  
  
0