Base class for dialogs that get Facebook graph data.
상속: GraphDataProviderDialogBase
 private void DisableComponents(FacebookGraphDataProviderDialogBase fcbDialog)
 {
     if (fcbDialog is FacebookDialog)
     {
         FacebookDialog CastedFcbDialog = (FacebookDialog)fcbDialog;
         CastedFcbDialog.btnOK.Enabled = true;
         CastedFcbDialog.dgAttributes.Enabled = false;                
         CastedFcbDialog.chkSelectAll.Enabled = false;
     }
     else if (fcbDialog is FacebookFanPageDialog)
     {
         FacebookFanPageDialog CastedFcbDialog = (FacebookFanPageDialog)fcbDialog;
         CastedFcbDialog.btnOK.Enabled = true;
         CastedFcbDialog.txtPageUsernameID.Enabled = true;
         CastedFcbDialog.dgAttributes.Enabled = false;
         CastedFcbDialog.chkSelectAll.Enabled = false;
         //CastedFcbDialog.chkCoCommenters.Enabled = false;
         //CastedFcbDialog.chkCoLikers.Enabled = false;
         //CastedFcbDialog.nudFirstPosts.Enabled = false;
         CastedFcbDialog.chkStatusUpdates.Enabled = false;
         CastedFcbDialog.chkWallPosts.Enabled = false;
         //CastedFcbDialog.rbDownloadFirstPosts.Enabled = false;
         //CastedFcbDialog.chkUserPost.Enabled = false;
         //CastedFcbDialog.chkPostPost.Enabled = false;
         //CastedFcbDialog.rbDateDownload.Enabled = false;
         //CastedFcbDialog.dtPosts.Enabled = false;
     }
     else if (fcbDialog is FacebookGroupDialog)
     {
         FacebookGroupDialog CastedFcbDialog = (FacebookGroupDialog)fcbDialog;                                
         CastedFcbDialog.dgAttributes.Enabled = false;
         CastedFcbDialog.chkSelectAll.Enabled = false;                
         CastedFcbDialog.chkStatusUpdates.Enabled = false;
         CastedFcbDialog.chkWallPosts.Enabled = false;
         CastedFcbDialog.txtGroupNameID.Enabled = true;
     }
 }
 public FacebookLoginDialog(FacebookGraphDataProviderDialogBase fcbDialog, string permissionsString)
 {
     InitializeComponent();
     this.fcbDialog = fcbDialog;
     this.permissionsString = permissionsString;
 }