예제 #1
0
        public object AddNew()
        {
            CustomerItemUi newItem = new CustomerItemUi();

            mItems.Add(newItem);
            return(newItem);
        }
예제 #2
0
        public void ChangeSelection(object selectedItem)
        {
            CustomerItemUi itemUi = selectedItem as CustomerItemUi;

            if (itemUi != null)
            {
                int selectedIndex = mCustomers.IndexOf(itemUi);

                if (selectedIndex >= 0)
                {
                    mViewDataManipulator.ToAbsolutePosition(selectedIndex);
                }
            }
        }