// Showing Posts of User
        private void buttonMyPosts_Click(object sender, EventArgs e)
        {
            PostsFormFacade postsFacade = new PostsFormFacade(new UserWithStatistic {
                User = m_Facade.LoggedInUser
            });
            PostsForm pf = new PostsForm(postsFacade);

            pf.Show();
        }
        private void postsButton_Click(object sender, EventArgs e)
        {
            PostsFormFacade postsFacade = new PostsFormFacade(new UserWithStatistic {
                User = FriendsFacade.Friend
            });
            PostsForm pf = new PostsForm(postsFacade);

            pf.Show();
        }
 public PostsForm(PostsFormFacade i_PostsFormFacade)
 {
     InitializeComponent();
     PostsFormFacade           = i_PostsFormFacade;
     m_PostPanelStartingHeight = 25;
     r_PostPanelWidth          = this.likesStatisticPanel.Location.X - 40;
     m_CurrPostPanelLocationX  = this.Location.X + 10;
     m_CurrPostPanelLocationY  = this.Location.Y + 10;
 }