void RaiseBeginLoginEvent(string username, string password) { LoginRoutedEventArgs newEventArgs = new LoginRoutedEventArgs(AccountAuthWindow.NavigatedEvent, username, password); newEventArgs.Source = this; RaiseEvent(newEventArgs); }