コード例 #1
0
ファイル: Form1.cs プロジェクト: stimpy76/OpenMuS9
        private void toolStripMenuItem8_Click(object sender, EventArgs e)
        {
            Settings CreateForm = new Settings();
            DialogResult Result = new DialogResult();
            Result = CreateForm.ShowDialog();

            if (Result == DialogResult.OK)
            {
                ConnectionReload();
            }
        }
コード例 #2
0
ファイル: Form1.cs プロジェクト: stimpy76/OpenMuS9
        private void Form1_Load(object sender, EventArgs e)
        {
            /*EquipItemInfo.g_ItemInfo = new EquipItemInfo();
            EquipItemInfo.g_ItemInfo.Load();*/

            if (!ConnectionReload())
            {
                Settings CreateForm = new Settings();
                DialogResult Result = new DialogResult();
                Result = CreateForm.ShowDialog();

                if (Result == DialogResult.OK)
                {
                    Form1_Load(sender, e);
                    return;
                }
            }

            this.Focus();
        }