public void Initialize() { menu = new MenuLayout(this, 450, 34); ticketing = new SonyNpTicketing(); dialogs = new SonyNpDialogs(); Sony.NP.System.OnGotBandwidth += OnSystemGotBandwidth; Sony.NP.System.OnGotNetInfo += OnSystemGotNetInfo; Sony.NP.System.OnNetInfoError += OnNetInfoError; WordFilter.OnCommentCensored += OnWordFilterCensored; WordFilter.OnCommentNotCensored += OnWordFilterNotCensored; WordFilter.OnCommentSanitized += OnWordFilterSanitized; WordFilter.OnWordFilterError += OnWordFilterError; }
public void Initialize() { this.menu = new MenuLayout(this, 450, 34); this.ticketing = new SonyNpTicketing(); this.dialogs = new SonyNpDialogs(); System.add_OnGotBandwidth(new Messages.EventHandler(this.OnSystemGotBandwidth)); System.add_OnGotNetInfo(new Messages.EventHandler(this.OnSystemGotNetInfo)); System.add_OnNetInfoError(new Messages.EventHandler(this.OnNetInfoError)); WordFilter.add_OnCommentCensored(new Messages.EventHandler(this.OnWordFilterCensored)); WordFilter.add_OnCommentNotCensored(new Messages.EventHandler(this.OnWordFilterNotCensored)); WordFilter.add_OnCommentSanitized(new Messages.EventHandler(this.OnWordFilterSanitized)); WordFilter.add_OnWordFilterError(new Messages.EventHandler(this.OnWordFilterError)); }