void Groups_GroupAccountSummaryReply(object sender, GroupAccountSummaryReplyEventArgs e) { if (e.GroupID != this.groupkey) return; Gtk.Application.Invoke(delegate{ this.label_group_balance.Text=e.Summary.Balance.ToString(); this.label_grouptaxcurrent.Text=e.Summary.GroupTaxCurrent.ToString(); this.label_grouptaxesitmate.Text=e.Summary.GroupTaxEstimate.ToString(); this.label_landtaxcurrent.Text=e.Summary.LandTaxCurrent.ToString(); this.label_landtaxestimate.Text=e.Summary.LandTaxEstimate.ToString(); this.label_total_credits.Text=e.Summary.TotalCredits.ToString(); this.label_total_debits.Text=e.Summary.TotalDebits.ToString(); }); }
/// <summary>Raises the GroupAccountSummary event</summary> /// <param name="e">A GroupAccountSummaryReplyEventArgs object containing the /// data returned from the simulator</param> protected virtual void OnGroupAccountSummaryReply(GroupAccountSummaryReplyEventArgs e) { EventHandler<GroupAccountSummaryReplyEventArgs> handler = m_GroupAccountSummary; if (handler != null) handler(this, e); }
public virtual void Groups_OnGroupAccountSummary(object sender, GroupAccountSummaryReplyEventArgs e) { OnEvent("On-Group-Account-Summary", paramNamesOnGroupAccountSummary, paramTypesOnGroupAccountSummary, e); }