Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- private void checkTime()
- {
- if (DateTime.Now.TimeOfDay == System.TimeSpan.Parse("00:09:37"))
- {
- axWindowsMediaPlayer1.Ctlcontrols.currentPosition = 0;
- axWindowsMediaPlayer1.Ctlcontrols.play();
- }
- else if ((DateTime.Now.TimeOfDay == System.TimeSpan.Parse("00:09:38")))
- {
- this.Close();
- }
- }
- private void timer1_Tick(object sender, EventArgs e)
- {
- checkTime();
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement