Beispiel #1
0
        // for displaying 
        public void DisplayLocalGroupFrame()
        {
            if (page_LocalGroups == null)
            {
                page_LocalGroups = new Page_LocalGroups();
                page_LocalGroups.UpdateUCAddressBook(this);

                FrameLocalGroups.Navigate(page_LocalGroups);
            }
            else
            {
                page_LocalGroups.RequestReloadAll();
            }
            FrameLocalContacts.Visibility = Visibility.Collapsed;
            FrameLocalGroups.Visibility = Visibility.Visible;
        }
Beispiel #2
0
        // for displaying 
        public void DisplayLocalGroupFrame()
        {
            if (page_LocalGroups == null)
            {
                page_LocalGroups = new Page_LocalGroups();
                page_LocalGroups.UpdateUCAddressBook(this);

                FrameLocalGroups.Navigate(page_LocalGroups);

            }
            else
            {
                page_LocalGroups.RequestReloadResume();

                if (page_LocalGroups.getCheckedGroup().Name != null)
                {
                    GroupDB previousCheckGroup = page_LocalGroups.getCheckedGroup();
                    page_LocalGroups.resumePreviousCheckedGroup();
                }
                else
                {
                    page_LocalGroups.setDefaultCheckedGroup();
                }
            }
            FrameLocalContacts.Visibility = Visibility.Collapsed;
            FrameLocalGroups.Visibility = Visibility.Visible;
        }