Example #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();
 }
Example #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();
 }