Example #1
0
        bool CPhonebookPage_Menu()
        {
            string indstr = _list.Selected.subItems[0];

            CPhonebookEditPage editPage = (CPhonebookEditPage)_controller.getPage((int)EPages.P_PHONEBOOKEDIT);

            editPage.BuddyId = int.Parse(indstr);

            _controller.showPage(editPage.Id);
            return(true);
        }
Example #2
0
        bool modifyLink_Softkey(int keyId)
        {
            CLink selitem = (CLink)_list.Selected;

            if (selitem == null)
            {
                return(true);
            }

            CPhonebookEditPage page = (CPhonebookEditPage)_controller.getPage((int)EPages.P_PHONEBOOKEDIT);
            // get record
            string indstr = selitem.subItems[0];

            page.BuddyId = int.Parse(indstr);

            _controller.showPage(page.Id);

            return(true);
        }