protected void buttonBackClick(object sender, EventArgs e) {
     Log.Debug("buttonBackClick");
     var loginWindow = new LoginWindow {
         User = User
     };
     loginWindow.Show();
     Destroy();
 }
 private void buttonCancelClick(object sender, EventArgs e) {
     Log.Debug("buttonCancelClick");
     var loginWindow = new LoginWindow(User);
     loginWindow.Show();
     Destroy();
 }