private void OnRegionChanged(IntPtr widgetApplication) { WidgetApplicationEventArgs e = new WidgetApplicationEventArgs(); if (widgetApplication != null) { e.WidgetApplication = WidgetApplication.GetWidgetApplicationFromPtr(widgetApplication); } if (_regionChangedEventHandler != null) { _regionChangedEventHandler(this, e); } }
private void OnMemoryLow(IntPtr widgetApplication) { WidgetApplicationEventArgs e = new WidgetApplicationEventArgs(); if (widgetApplication != null) { e.WidgetApplication = WidgetApplication.GetWidgetApplicationFromPtr(widgetApplication); } if (_memoryLowEventHandler != null) { _memoryLowEventHandler(this, e); } }
private void OnTerminate(IntPtr widgetApplication) { WidgetApplicationEventArgs e = new WidgetApplicationEventArgs(); if (widgetApplication != null) { e.WidgetApplication = WidgetApplication.GetWidgetApplicationFromPtr(widgetApplication); } if (_terminateEventHandler != null) { _terminateEventHandler(this, e); } }