//------------ Next Button Click Action ------------ void NextButtonClickAction(object sender, EventArgs args) { var nextView = new AddLastWornViewController(); nextView.wardrobeObj = itemTypePickerModel.wardrobeObj; //var nextView = new AddItemDetailsViewController(); NavigationController.PushViewController(nextView, true); }
public override void Selected(UIPickerView pickerView, nint row, nint component) { wardrobeObj = new TBL_WARDROBE(); int rowNo = (int)pickerView.SelectedRowInComponent(0); string itemTypeStr = itemTypeAry[rowNo]; itemTypeLbl.Text = itemTypeStr; wardrobeObj.ItemType = itemTypeStr; AddLastWornViewController addLastWornViewController = new AddLastWornViewController(); addLastWornViewController.wardrobeObj = wardrobeObj; Console.WriteLine("itemTypeStr is " + itemTypeStr); Console.WriteLine("wardrobeObj.itemType is " + wardrobeObj.ItemType); }
//---------------------- Previous Button Click Action ---------------- private void PrevButtonClickAction(object sender, EventArgs e) { var prevView = new AddLastWornViewController(); NavigationController.PushViewController(prevView, true); }