Exemplo n.º 1
0
 /// <summary>
 /// Rafraichis le tableau
 /// </summary>
 public void RefreshTab()
 {
     if (driveBaseDropbox != null)
     {
         DgFiles_DP = driveBaseDropbox.GetItems();
     }
     if (driveBaseGoogle != null)
     {
         DgFiles_GG = driveBaseGoogle.GetItems();
     }
 }
Exemplo n.º 2
0
        /// <summary>
        /// Ouvre une nouvelle fenêtre qui demande l'autorasition de se connecter à dropbox
        /// </summary>
        /// <param name="parameter"></param>
        private void ActionConnecterDropbox(object parameter)
        {
            string credential = driveBaseGoogle.Connect();

            u.CrededentielCloudRailDropbox = credential;
            UpdateUtilisateur();
            Singleton.GetInstance().GetListModelView().DgFiles_DP = driveBaseDropbox.GetItems();

            strGG = "Dropbox connecté";
            MessageBox.Show("Dropbox connecté");
        }