//retorno do listar tudo completo
        void clienteTudo_GetCompleted(object sender, LiveOperationCompletedEventArgs e)
        {
            try
            {
                if (e.Error == null)
                {
                    ContentList.Clear();
                    lstFolders.ItemsSource = null;
                    List<object> data = (List<object>)e.Result["data"];

                    foreach (IDictionary<string, object> content in data)
                    {
                        transactionPastasSkyDrive skyContent = new transactionPastasSkyDrive();
                        skyContent.id = (string)content["id"];
                        skyContent.name = (string)content["name"];
                        skyContent.Size = (string)content["size"].ToString();
                        if ((string)content["type"] == "folder")
                        {
                            skyContent.tipo = "icones/appbar.folder.png";
                        }
                        else
                            skyContent.tipo = SetIconByExtension(skyContent.name);
                        ContentList.Add(skyContent);
                    }
                    lstFolders.ItemsSource = ContentList;
                    lstFolders.SelectedIndex = 0;
                    txtbStatus.Text = "";
                    animaProgressBar(false);
                }
                else
                {
                    animaProgressBar(false);
                    txtbStatus.Text = "Opa, isso não era para ter acontecido, tente novamente!";
                }
            }
            catch (Exception ex)
            {
                animaProgressBar(false);
                txtbStatus.Text = "Não conseguimos obter os dados, tente novamente!";
                //MessageBox.Show(ex.ToString());
            }
        }
        //retorno de listar as pastas
        void cliente_GetCompleted(object sender, LiveOperationCompletedEventArgs e)
        {
            try
            {
                if (e.Error == null)
                {
                    ContentList.Clear();
                    lstFolders.ItemsSource = null;
                    List<object> data = (List<object>)e.Result["data"];

                    foreach (IDictionary<string, object> content in data)
                    {
                        transactionPastasSkyDrive skyContent = new transactionPastasSkyDrive();
                        skyContent.id = (string)content["id"];
                        skyContent.name = (string)content["name"];
                        skyContent.Size = (string)content["size"].ToString();
                        if ((string)content["type"] == "folder")
                        {
                            skyContent.tipo = "icones/appbar.folder.png";
                        }
                        else
                            skyContent.tipo = "icones/appbar.page.png";
                        ContentList.Add(skyContent);
                    }
                    lstFolders.ItemsSource = ContentList;
                    txtbStatus.Text = "";
                    btnArquivo.Visibility = Visibility.Visible;
                    animaProgressBar(false);
                }
            }
            catch (Exception ex)
            {
                animaProgressBar(false);
                //MessageBox.Show(ex.ToString());
                txtbStatus.Text = "Não conseguimos obter os dados, tente novamente";
            }
        }