Exemplo n.º 1
0
        private void TeleDeAuth_Click(object sender, RoutedEventArgs e)
        {
            BotAnswer bot = new BotAnswer();

            bot.StopRec();
            Properties.Settings.Default.TelegramUserID = "0";
            TeleAuth.Visibility   = Visibility.Visible;
            TeleDeAuth.Visibility = Visibility.Hidden;
            Properties.Settings.Default.Save();
            Uri imagePlayUri = (new Uri(@"pack://application:,,,/AnastasiaResources/Social/t_logo_notlogin.png", UriKind.Absolute));

            TelegramPicture.Source = new BitmapImage(imagePlayUri);
        }