Inheritance: System.Windows.Forms.Form
        private void createQRButton_Click(object sender, EventArgs e)
        {
            if (currentPattern == null)
            {
                MessageBox.Show("There is no pattern currently active.", Text);
                return;
            }

            SavePattern();
            QRDialog qrDialog = new QRDialog(currentPattern);
            qrDialog.ShowDialog();
        }
Exemple #2
0
 private void createQRButton_Click(object sender, EventArgs e)
 {
     using (QRDialog qrDialog = new QRDialog(GetPattern()))
         qrDialog.ShowDialog();
 }