示例#1
0
 /// <summary>
 /// Hides the taskbar after the window is loaded.
 /// </summary>
 /// <param name="sender">object</param>
 /// <param name="e">RoutedEventArgs</param>
 private void ClockWindowLoaded(object sender, RoutedEventArgs e)
 {
     TaskbarHideHelper.Hide();
 }
示例#2
0
 /// <summary>
 /// Unhides taskbar on window closing.
 /// </summary>
 /// <param name="sender">object</param>
 /// <param name="e">System.ComponentModel.CancelEventArgs</param>
 private void ClockWindowClosing(object sender,
                                 System.ComponentModel.CancelEventArgs e)
 {
     TaskbarHideHelper.Show();
 }