Beispiel #1
0
        private void OnIsValidPropertyChanged()
        {
            if (!this.IsValid)
            {
                var oldConfiguration = this.configurationViewModel;

                this.configurationViewModel = new QRCodeConfigurationViewModel();
                this.GenerateLinkQRCode();

                this.configurationViewModel = oldConfiguration;
            }
        }
Beispiel #2
0
        private void OnIsValidPropertyChanged()
        {
            if (!this.IsValid)
            {
                this.MessageText      = this.ErrorMessage;
                this.ShowErrorMessage = true;
                var oldConfiguration = this.configurationViewModel;

                this.configurationViewModel = new QRCodeConfigurationViewModel();
                this.GenerateLinkQRCode();

                this.configurationViewModel = oldConfiguration;
            }
        }
Beispiel #3
0
 public QRCodeViewModel()
 {
     this.configurationViewModel = new QRCodeConfigurationViewModel();
     this.ECL         = ErrorCorrectionLevel.H;
     this.MessageText = ConfigurationMessage;
 }
Beispiel #4
0
 public QRCodeViewModel()
 {
     this.configurationViewModel = new QRCodeConfigurationViewModel();
     this.ECL = ErrorCorrectionLevel.H;
 }