private async void CodeTBlock_Click(object sender, RoutedEventArgs e)
        {
            var sd             = sender as Button;
            QRCodeViewDialog d = new QRCodeViewDialog();

            d.Channel           = Channel;
            d.QRCodeProp.Source = await QRCodeFactory.GetQrCode(this.Channel.AccessCode, "L");

            await d.ShowAsync();
        }
Exemplo n.º 2
0
        private async void QRBtn_Click(object sender, RoutedEventArgs e)
        {
            var sd             = sender as Button;
            var cc             = sd.DataContext as ChannelControl;
            QRCodeViewDialog d = new QRCodeViewDialog();

            d.Channel           = cc.Channel;
            d.QRCodeProp.Source = await QRCodeFactory.GetQrCode(cc.Channel.AccessCode, "L");

            await d.ShowAsync();
        }