private void GoToAccounts(object o) { var vc = new AccountsViewController(); var nav = new ThemedNavigationController(vc); PresentViewController(nav, true, null); }
private void ProfileButtonClicked() { var vc = new AccountsViewController(); vc.NavigationItem.LeftBarButtonItem = new UIBarButtonItem(UIBarButtonSystemItem.Cancel); vc.NavigationItem.LeftBarButtonItem.Clicked += (sender, e) => DismissViewController(true, null); PresentViewController(new ThemedNavigationController(vc), true, null); }
public EditSource(AccountsViewController dvc) : base (dvc) { _parent = new WeakReference<AccountsViewController>(dvc); }
private void ProfileButtonClicked() { var vc = new AccountsViewController(); vc.NavigationItem.LeftBarButtonItem = new UIBarButtonItem { Image = Images.Buttons.Cancel }; vc.NavigationItem.LeftBarButtonItem.Clicked += (sender, e) => DismissViewController(true, null); PresentViewController(new ThemedNavigationController(vc), true, null); }