private void initializeTabFriends() { userProfileComponent_TabFriends = AppComponentFactory.CreateAppComponent(Utils.eAppComponent.UserProfile, tabPage_Friends.Controls, m_AppFacade.Friend); userProfileComponent_TabFriends.Initialize(); textBox_TabFriends_FriendName.Click += tabFriend_textBoxFriendName_Click; button_TabFriends_Search.Click += tabFriend_Search_Click; }
private void initializeTabProfile() { userProfileComponent_TabProfile = AppComponentFactory.CreateAppComponent(Utils.eAppComponent.UserProfile, tabPage_Profile.Controls, m_AppFacade.User); userProfileComponent_TabProfile.Initialize(); (userProfileComponent_TabProfile as UserProfileComponent).PictureBoxProfilePic.ImageLocation = m_AppFacade.User.PictureLargeURL; (userProfileComponent_TabProfile as UserProfileComponent).TextBoxUserInfo.Text = m_AppFacade.GetFacebookUserInfo(m_AppFacade.User); }
private void initializeTabAlbums() { userAlbumPicturesComponent_TabAlbums = AppComponentFactory.CreateAppComponent(Utils.eAppComponent.UserAlbumPictures, tabPage_Albums.Controls, m_AppFacade.User); userAlbumPicturesComponent_TabAlbums.Initialize(); AlbumsBindingSource.DataSource = m_AppFacade.User.Albums; buttonSlideShow.Click += buttonSlideShow_Click; comboBox_TabAlbums_AlbumsList.SelectedIndexChanged += tabAlbum_ComboBoxAlbums_AlbumSelected; }
public UserEventsForm(User i_User) { InitializeComponent(); m_userEventsComponent = AppComponentFactory.CreateAppComponent(Utils.eAppComponent.UserEvents, Controls, i_User); m_userEventsComponent.Initialize(); }