private void loginButton_Click(object sender, EventArgs e)
        {
            bool        v_Visible = true;
            bool        v_Enable  = true;
            LoginResult result    = FacebookService.Login("1003530996377302", "user_about_me", "user_friends", "publish_actions", "user_events", "user_posts", "user_photos", "user_status", "user_birthday");

            string loggedInMessage = string.Format("{0}: LoggedIn", DateTime.Now.ToString());

            if (!string.IsNullOrEmpty(result.AccessToken))
            {
                // initialize members
                s_User = result.LoggedInUser;

                string welcomeMessage = string.Format("Welcome {0}!", s_User.Name);
                MessageBox.Show(welcomeMessage);

                s_Logger.WriteToLogger(loggedInMessage);

                m_LoadPicture = new LoadEventPicture();

                // will inform the user when a delayed status is post
                Informer informer = new Informer();

                // load profile picture
                this.pictureBoxProfile.LoadAsync(s_User.PictureNormalURL);

                // after login- make all the buttons visible
                this.loginButton.Visible                  = !v_Visible;
                this.buttonHoroscope.Visible              = v_Visible;
                this.textBoxStatus.Visible                = v_Visible;
                this.buttonUploadPhoto.Visible            = v_Visible;
                this.buttonWatchPhotos.Visible            = v_Visible;
                this.buttonPost.Visible                   = v_Visible;
                this.buttonPost.Enabled                   = !v_Enable;
                this.dateTimePicker.Visible               = v_Visible;
                this.buttonFriends.Visible                = v_Visible;
                this.listBoxFriends.Visible               = v_Visible;
                this.buttonPostLink.Visible               = v_Visible;
                this.buttonPostLink.Enabled               = !v_Enable;
                this.textBoxLink.Visible                  = v_Visible;
                this.textBoxMessageForLink.Visible        = v_Visible;
                this.labelMind.Visible                    = v_Visible;
                this.labelLink.Visible                    = v_Visible;
                this.labelAddMessageToLink.Visible        = v_Visible;
                this.labelDelayedPostInstructions.Visible = v_Visible;
                this.listBoxEvents.Visible                = v_Visible;
                this.buttonAttending.Visible              = v_Visible;
                this.buttonDeclined.Visible               = v_Visible;
                this.buttonMaybe.Visible                  = v_Visible;
                this.buttonNotReplied.Visible             = v_Visible;
                this.checkBoxOwnerPicture.Visible         = v_Visible;
                this.buttonGetTheDocumentLogger.Visible   = v_Visible;
                this.dateTimePicker.MinDate               = DateTime.Now;
            }
            else
            {
                MessageBox.Show(result.ErrorMessage);
            }
        }
 private void checkBoxOwnerPicture_CheckedChanged(object sender, EventArgs e)
 {
     if (this.checkBoxOwnerPicture.Checked == true)
     {
         m_LoadPicture = new LoadEventOwnerPicture();
     }
     else
     {
         m_LoadPicture = new LoadEventPicture();
     }
 }