private void OnLogin(object sender, EventArgs e) { var button = sender as TransitionSubmitButton; button.Animate(1, () => { var second = new SecondViewController(); second.TransitioningDelegate = new FadeInTransitioningDelegate(0.5, 0.8f); PresentViewController(second, true, null); }); }