private void MDI_Load(object sender, EventArgs e) { string path = Environment.GetFolderPath(Environment.SpecialFolder.MyDocuments) + "\\bms_connect"; if (File.Exists(path)) { login lg = new login(); CodingSourceClass.ShowWindow(lg, this); } else { SETTINGS ss = new SETTINGS(); CodingSourceClass.ShowWindow(ss, this); } }
private void settingsToolStripMenuItem1_Click(object sender, EventArgs e) { SETTINGS set = new SETTINGS(); CodingSourceClass.ShowWindow(set, this); }