시간1 [C#] Delay 함수. Thread Sleep 대신 쓸만함. www.bluene.net/blog/550 블루네군 블로그 :: C# Delay 함수 www.bluene.net 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 private void button1_Click(object sender, EventArgs e) { Delay(1000); MessageBox.Show("1초후에 메세지박스"); Delay(3000); MessageBox.Show("3초후에 메세지박스"); Delay(5000); MessageBox.Show("5초후에 메세지박스"); } /// /// Delay 함수 MS /// /// (단위 : MS) /// private static DateTi.. 2021. 3. 16. 이전 1 다음