Example #1
0
 private void Sizes2DComboBox_SelectedIndexChanged(object sender, EventArgs e)
 {
     qrVersion        = sizes2DComboBox.SelectedIndex + 1;
     qrErrorLevel     = QRCodeErrorLevel.Low;
     aztecVersion     = sizes2DComboBox.SelectedIndex + 1;
     aztecErrorLevel  = -1;
     hanxinVersion    = sizes2DComboBox.SelectedIndex + 1;
     hanxinErrorLevel = 0;
     SetBarcodeProperties();
     imagePanel.Invalidate();
 }
Example #2
0
 private void ErrorCorrection2DComboBox_SelectedIndexChanged(object sender, EventArgs e)
 {
     qrVersion        = 0;
     qrErrorLevel     = (QRCodeErrorLevel)errorCorrection2DComboBox.SelectedIndex;
     aztecVersion     = 0;
     aztecErrorLevel  = errorCorrection2DComboBox.SelectedIndex + 1;
     hanxinVersion    = 0;
     hanxinErrorLevel = errorCorrection2DComboBox.SelectedIndex;
     SetBarcodeProperties();
     imagePanel.Invalidate();
 }
Example #3
0
 private void Errorcorrection2DRadioButton_CheckedChanged(object sender, EventArgs e)
 {
     if (errorCorrection2DRadioButton.Checked)
     {
         errorCorrection2DComboBox.Enabled = true;
         sizes2DComboBox.Enabled           = false;
         qrVersion        = 0;
         qrErrorLevel     = (QRCodeErrorLevel)errorCorrection2DComboBox.SelectedIndex;
         aztecVersion     = 0;
         aztecErrorLevel  = errorCorrection2DComboBox.SelectedIndex + 1;
         hanxinVersion    = 0;
         hanxinErrorLevel = errorCorrection2DComboBox.SelectedIndex;
         SetBarcodeProperties();
         imagePanel.Invalidate();
     }
 }