Inheritance: System.Windows.Forms.Form
コード例 #1
0
ファイル: MainForm.cs プロジェクト: epulosis/animalcrossingqr
        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
ファイル: MainForm.cs プロジェクト: jefff/animalcrossingqr
 private void createQRButton_Click(object sender, EventArgs e)
 {
     using (QRDialog qrDialog = new QRDialog(GetPattern()))
         qrDialog.ShowDialog();
 }