Exemple #1
0
        private void loadAlbumPictures()
        {
            DescriptivePicturesSpreaderFacebookCollectionAdapter descriptivePicturesSpreader = new DescriptivePicturesSpreaderFacebookCollectionAdapter();

            descriptivePicturesSpreader.LoadFacebookCollection <Photo>(r_Album.Photos, r_PicturesSize);
            descriptivePicturesSpreader.SpreadOnForm(this, r_PicturesStartPosition, k_picturesInLine);
        }
Exemple #2
0
        public FormMain()
        {
            this.StartPosition = FormStartPosition.Manual;
            m_AppSettings      = AppSettings.LoadFromFile();
            InitializeComponent();
            FacebookWrapper.FacebookService.s_CollectionLimit = 100;
            FacebookWrapper.FacebookService.s_FbApiVersion    = 2.8f;
            this.Location = m_AppSettings.LastWindowLocation;
            this.Size     = m_AppSettings.LastWindowSize;

            m_FriendSpreader = new DescriptivePicturesSpreaderFacebookCollectionAdapter();
            ShowDialog();
        }