private void MainForm_Load(object sender, EventArgs e) { if (Quake2Paths.Root == String.Empty || EraserPaths.Base == String.Empty) { MessageBox.Show( Resource.FirstRunMessage, Resource.FirstRunTitle, MessageBoxButtons.OK, MessageBoxIcon.Information ); this.WindowState = FormWindowState.Minimized; PathConfiguration pathConfiguration = new PathConfiguration(this); pathConfiguration.ShowDialog(); } else { Init(); } }
private void configurationToolStripMenuItem_Click(object sender, EventArgs e) { PathConfiguration pathConfiguration = new PathConfiguration(this); pathConfiguration.ShowDialog(); }