protected void Application_Start() { AreaRegistration.RegisterAllAreas(); GlobalConfiguration.Configure(WebApiConfig.Register); FilterConfig.RegisterGlobalFilters(GlobalFilters.Filters); RouteConfig.RegisterRoutes(RouteTable.Routes); BundleConfig.RegisterBundles(BundleTable.Bundles); PushNotificationProcessor.InitSingleInstance(); }
public NotifierForm() { InitializeComponent(); this._processor = new PushNotificationProcessor(); this._processor.DisplayErrorMessage += _processor_DisplayErrorMessage; this._processor.DisplayMessage += _processor_DisplayMessage; this._processor.DisplayStatusMessage += _processor_DisplayStatusMessage; this.FormClosing += NotifierForm_FormClosing; }
public PushNotificationService() { InitializeComponent(); this._processor = new PushNotificationProcessor(); }
protected void Application_End() { PushNotificationProcessor.Destroy(); }