/// <summary>
 /// Back to the admin main window
 /// </summary>
 /// <param name="sender"></param>
 /// <param name="e"></param>
 private void ClickOnBack(object sender, RoutedEventArgs e)
 {
     try
     {
         var adminWindow = new MenageAdvice(this.nameAdmin);
         adminWindow.Show();
         this.Close();
         Logger.Instance.Info("ClickOnBack()");
     }
     catch (Exception ex)
     {
         Logger.Instance.Error("Exception while trying to click on back button", ex);
     }
 }
 private void ClickAdvisesButton(object sender, RoutedEventArgs e)
 {
     try
     {
         var advice = new MenageAdvice(this.nameAdmin);
         advice.Show();
         this.Close();
         Logger.Instance.Info("ClickAdvisesButton()");
     }
     catch (Exception ex)
     {
         Logger.Instance.Error("Error while trying to open MenageAdvice window", ex);
     }
 }
 private void ClickOnBack(object sender, RoutedEventArgs e)
 {
     try
     {
         var menegedWindow = new MenageAdvice(this.nameAdvice);
         menegedWindow.Show();
         this.Close();
         Logger.Instance.Info("ClickOnBack()");
     }
     catch (Exception ex)
     {
         Logger.Instance.Error("Error while trying to click On Back", ex);
     }
 }