public void setStatistics(string visit, string comment) { formAction(() => { try { visitLabel.Text = visit; commentLabel.Text = comment; } catch (Exception e) { util.debugWriteLine(e.Message + " " + e.StackTrace + " " + e.Source + " " + e.TargetSite); } }); player.setStatistics(visit, comment); }
public void setStatistics(string visit, string comment) { formAction(() => { try { visitLabel.Text = visit; commentLabel.Text = comment; miniStreamStateLabel.Text = util.getAboutNumStr(visit) + "人/" + util.getAboutNumStr(comment) + "コメ"; } catch (Exception e) { util.debugWriteLine(e.Message + " " + e.StackTrace + " " + e.Source + " " + e.TargetSite); } }); player.setStatistics(visit, comment); }