Exemplo n.º 1
0
        private void InitPostForm(Post post)
        {
            PostDetails postDetails = m_Factory.getObjectDetails(post) as PostDetails;

            if (m_PostForm == null)
            {
                m_PostForm = new PostForm(postDetails);
            }
            else
            {
                m_PostForm.Hide();
                m_PostForm.PostDetails = postDetails;
                m_PostForm.InitContentToLabels();
            }

            m_PostForm.Show();
        }
Exemplo n.º 2
0
 public PostForm(PostDetails i_PostDetails)
 {
     InitializeComponent();
     PostDetails = i_PostDetails;
 }