Example #1
0
        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;
        }
Example #3
0
 public PushNotificationService()
 {
     InitializeComponent();
     this._processor = new PushNotificationProcessor();
 }
Example #4
0
 protected void Application_End()
 {
     PushNotificationProcessor.Destroy();
 }