示例#1
0
		public override void RowSelected (UITableView tableView, NSIndexPath indexPath)
		{	
			EditScoutEventArgs editArgs = new EditScoutEventArgs();
			editArgs.ScoutID = _tableItems[indexPath.Section].IDs[indexPath.Row]; 
			editArgs.ScoutAction = "EditScout";
			EditScout(this, editArgs);
			tableView.DeselectRow(indexPath, true);
		}
示例#2
0
		void HandleTableDataEditScout(object sender, EditScoutEventArgs e)
		{
			AddAScout myEditScout = new AddAScout();
			myEditScout.ScoutID = e.ScoutID;
			myEditScout.ScoutAction = e.ScoutAction;
			this.NavigationController.PushViewController(myEditScout, true);
		}