private void OnPlayboxEvent(UMPEventArgs e) { if (PlayboxEvent != null) { PlayboxEvent(this, e); } }
void IsaPlaybox_Closing(object sender, CancelEventArgs e) { UMPEventArgs args = new UMPEventArgs(); args.Code = Defines.EVT_PAGE_UNLOADED; args.Data = ImgVedio; OnPlayboxEvent(args); }
void IsaPlaybox_Loaded(object sender, RoutedEventArgs e) { UMPEventArgs args = new UMPEventArgs(); args.Code = Defines.EVT_PAGE_LOADED; args.Data = ImgVedio; OnPlayboxEvent(args); //SetScreenScale(); }