Inheritance: System.Windows.Forms.Form
Beispiel #1
0
        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();
        }
Beispiel #2
0
 private void createQRButton_Click(object sender, EventArgs e)
 {
     using (QRDialog qrDialog = new QRDialog(GetPattern()))
         qrDialog.ShowDialog();
 }