예제 #1
0
 private void Time_Click(object sender, RoutedEventArgs e)
 {
     if (noticeManager == null)
     {
         noticeManager   = new NoticeManager(this);
         btnTime.Content = "暂停弹出";
     }
     else
     {
         btnTime.Content = "定时弹出";
         noticeManager.Dispose();
     }
 }