Пример #1
0
		public override void ViewDidLoad ()
		{
			Title = Utils.Translate("jegere.choose");
			
			saveBarButton = new UIBarButtonItem(Utils.Translate("done"), UIBarButtonItemStyle.Done, Save);
			newBarButton = new UIBarButtonItem(UIBarButtonSystemItem.Add, NewItemClicked);
			
			NavigationItem.RightBarButtonItem = newBarButton;
			NavigationItem.LeftBarButtonItem = saveBarButton;
		
			_tableSource = new JegerePickerSource(this);
			TableView.Source = _tableSource;
			
			base.ViewDidLoad();
			
		}
Пример #2
0
		public override void ViewDidLoad ()
		{
			Title = Tittel ?? "Velg jegere";
			
			saveBarButton = new UIBarButtonItem("Ferdig", UIBarButtonItemStyle.Done, Save);
			newBarButton = new UIBarButtonItem(UIBarButtonSystemItem.Add, NewItemClicked);
			
			NavigationItem.RightBarButtonItem = newBarButton;
			NavigationItem.LeftBarButtonItem = saveBarButton;
		
			_tableSource = new JegerePickerSource(this);
			TableView.Source = _tableSource;
			
			//Refresh();
			
			base.ViewDidLoad();
			
		}