Beispiel #1
0
        // %Factory Method%
        private void buttonAlbumsSorting_Click(object sender, EventArgs e)
        {
            Form albumsSorting = FormFactoryForFeatures.Create(typeof(FormAlbumsSorting));

            (albumsSorting as FormAlbumsSorting).LoggedInUser = m_LoggedInUser;
            albumsSorting.ShowDialog();
        }
Beispiel #2
0
        // %Factory Method%
        private void buttonListOfLikers_Click(object sender, EventArgs e)
        {
            Form listOfWallPostsLikers = FormFactoryForFeatures.Create(typeof(FormListOfWallPostsLikers));

            (listOfWallPostsLikers as FormListOfWallPostsLikers).LoggedInUser = m_LoggedInUser;
            listOfWallPostsLikers.ShowDialog();
        }