private void map(Thing thing) { ScreenMap mapScreen = new ScreenMap(this, thing); mapScreen.NavigationItem.SetLeftBarButtonItem(new UIBarButtonItem(Catalog.GetString("Back"), UIBarButtonItemStyle.Plain, (sender, args) => { back(); }), true); mapScreen.Title = thing.Name; PushViewController(mapScreen, animation); }
private void map (Thing thing) { ScreenMap mapScreen = new ScreenMap(this,thing); mapScreen.NavigationItem.SetLeftBarButtonItem(new UIBarButtonItem(Catalog.GetString("Back"),UIBarButtonItemStyle.Plain, (sender,args) => { back (); }), true); mapScreen.Title = thing.Name; PushViewController (mapScreen,animation); }