/// <summary> /// Handles change requests to the credits of the current user. /// </summary> /// <param name="sender">The sender of the request.</param> /// <param name="args">The arguments specifying the new amount of credits.</param> private void ChangeCredits(object sender, CreditsChangeArgs args) { TopBar.Credits = args.Credits; }
/// <summary> /// For propagating the MainForms subscription to the CreditsChangeEvent /// to the RentItUserControl's inner RentItUserControls. /// </summary> protected void CreditsChangeEventPropagated(object sender, CreditsChangeArgs e) { FireCreditsChangeEvent(e.Credits); }