private void toolStripMenuItem8_Click(object sender, EventArgs e) { Settings CreateForm = new Settings(); DialogResult Result = new DialogResult(); Result = CreateForm.ShowDialog(); if (Result == DialogResult.OK) { ConnectionReload(); } }
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(); }