Example #1
0
 private void MainForm_Shown(object sender, EventArgs e)
 {
     if (!File.Exists(filename))
     {
         MessageBox.Show("初期設定を行います。");
         ConfigForm configform = new ConfigForm(this);
         configform.Show();
     }
 }
Example #2
0
        // オプション→設定
        private void ConfigToolStripMenuItem_Click(object sender, EventArgs e)
        {
            if (this.config == null)
                this.config = new ConfigData();

            ConfigForm config = new ConfigForm(this);
            config.Show();
        }