예제 #1
0
        //------------ 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);
        }
예제 #2
0
        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);
        }
예제 #3
0
        //---------------------- Previous Button Click Action ----------------
        private void PrevButtonClickAction(object sender, EventArgs e)
        {
            var prevView = new AddLastWornViewController();

            NavigationController.PushViewController(prevView, true);
        }