示例#1
0
        protected void OnPostListSelect(CarbolistItem target)
        {
            PostPanel.HidePanel();

            if (target.Selected)
            {
                SelectedPost = target.Data as Post;

                // show details of current selected post
                ShowPostPanel(target);
            }
            else
            {
                SelectedPost = null;

                HidePostPanel();
            }
        }
示例#2
0
        public void HidePostPanel()
        {
            PostPanel.HidePanel();

            MeetingPanel.Visible = MeetingList.Visible;
        }
示例#3
0
        public void ShowPostPanel(CarbolistItem listItem, bool isNew = false)
        {
            PostPanel.ShowPanel(listItem, isNew);

            MeetingPanel.Visible = false;
        }