Exemple #1
0
        private void CheckEnvironment()
        {
            if (Directory.Exists(Config.HglDir)) return;

            String caption = "Installation";
            String message = "Before the Hellgate: Revival Launcher can be used, you must configure the paths.\nPress okay to continue.";
            DialogResult result = MessageBox.Show(message, caption, MessageBoxButtons.OKCancel, MessageBoxIcon.Information);
            if (result == DialogResult.Cancel) return;

            Options optionsForm = new Options();
            optionsForm.ShowDialog(this);
        }
Exemple #2
0
 private void optionsToolStripMenuItem_Click(object sender, EventArgs e)
 {
     Options optionsForm = new Options();
     optionsForm.ShowDialog(this);
 }