private void btn_sumit_Click(object sender, RoutedEventArgs e) { List <DependencyObject> fs = new List <DependencyObject>(); foreach (var item in this.sp_all.Children) { fs.Add(item as DependencyObject); } StoryBoardService.FountainAnimation(fs); }
/// <inheritdoc/> protected override void OnCreate(Bundle savedInstanceState) { base.OnCreate(savedInstanceState); string redirectUrl = Intent.Data.ToString(); IStoryBoardService storyBoardService = new StoryBoardService(); if (storyBoardService.ActiveStory != null) { storyBoardService.ActiveStory.StoreToSession(SynchronizationStorySessionKey.OauthRedirectUrl, redirectUrl); } // Clear the activity holding the custom tab and return to already running main activity. Intent intent = new Intent(this, typeof(MainActivity)); StartActivity(intent); // Stop the redirect activity, its job is already done. Finish(); }