Наследование: System.Windows.Forms.Form
Пример #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();
        }
Пример #2
0
 private void createQRButton_Click(object sender, EventArgs e)
 {
     using (QRDialog qrDialog = new QRDialog(GetPattern()))
         qrDialog.ShowDialog();
 }