Public method incident response

// sender: represents the "event source," Object 
 Privata void btn_TeacherClick (SENDER Object, EventArgs E) 
{ 
   String TXT = ((the Button) SENDER) .Text; 
   MessageBox.Show (TXT + "Hello!"); 
}

  

Guess you like

Origin www.cnblogs.com/adozheng/p/12077119.html