이벤트에 비정적 변수 사용C#
2011-11-30
gongwonchong
@SaschaNaz 이벤트 코드가 이렇습니다. x는 int로 선언되어있고요.
Copy code
- private static void OnTimedEvent(object source, ElapsedEventArgs e)
- {
- x++;
- textBlock1.Text = Convert.ToString(x);
- }
Recent comments: ( 0 )
Please loggin to leave a comment!!