Пример #1
0
 private void button3_Click(object sender, EventArgs e)
 {
     if (encrypt.isBlank())
     {
         MessageBox.Show("変換キーが設定されていません。");
         button5_Click(sender, e);
         return;
     }
     backgroundWorker1.RunWorkerAsync();
     button1.Enabled = false;
     button2.Enabled = false;
     button3.Enabled = false;
     button4.Enabled = false;
     button5.Enabled = false;
     button6.Enabled = false;
     button7.Enabled = false;
 }
Пример #2
0
        public Form1()
        {
            InitializeComponent();
            SettingData sd = SettingData.load();

            types_              = sd.types;
            encrypt             = IdEncryption.StringConstructor(sd.selectedEnc);
            encryptId           = sd.encryptId;
            ambiguousBirthDate  = sd.ambiguousBirthDate;
            ambiguousPostalCode = sd.ambiguousPostalCode;
            bdmod = BirthDateModifier.TypedConstructor(sd.birthDateModifyType);
            pcmod = PostalCodeModifier.TypedConstructor(sd.postalCodeModifyType);
            if (encrypt.isBlank())
            {
                button5_Click(null, null);
            }
        }