Exemplo n.º 1
0
        async void UserControl_Loaded(object sender, RoutedEventArgs e)
        {
            await Telestat.Conversation.Save();

            cardGrid.Children.Add(await Telestat.GetBigCard());
            await LoadInformation();
        }
Exemplo n.º 2
0
        async void UserControl_Loaded(object sender, RoutedEventArgs e)
        {
            Telestat.Conversation = new Conversation(Telestat.ContactToBackup.ID,
                                                     Telestat.ContactToBackup.FullName); // TODO check if group, if it is NOT, "Chat with", else, group title on html

            cardGrid.Children.Add(await Telestat.GetBigCard());

            Telestat.Conversation.LoadProgress += Conversation_LoadProgress;
            await Telestat.Conversation.Load();

            Telestat.Conversation.LoadProgress -= Conversation_LoadProgress;

            backupB.Content   = "Begin backup!";
            backupB.IsEnabled = true;
        }