private void Open_Click(object sender, RoutedEventArgs e)
 {
     Tray.Hide();
     ernc = "r";
 }
 private void Exit_Click(object sender, RoutedEventArgs e)
 {
     Tray.Hide();
     ernc = "e";
 }