private void LogoutExecute()
        {
            MainWindow logout = new MainWindow();

            view.Close();
            logout.Show();
        }
 /// <summary>
 /// method for closing the window
 /// </summary>
 private void CloseExecute()
 {
     try
     {
         customer.Close();
     }
     catch (Exception ex)
     {
         System.Diagnostics.Debug.WriteLine("Exception" + ex.Message.ToString());
     }
 }