/// <summary> /// Click事件改成LogoutClick事件 /// </summary> private void BtnClick_Logout(object sender, RoutedEventArgs e) { LogoutClick?.Invoke(this, new RoutedEventArgs()); }
protected void btnLogoutButton_Click(object sender, EventArgs e) { LogoutClick?.Invoke(this, EventArgs.Empty); }
private void OnLogoutClick(object sender, RoutedEventArgs e) { LogoutClick?.Invoke(this, e); }