Beispiel #1
0
        private void installHostPrerequsitesToolStripMenuItem_Click(object sender, EventArgs e)
        {
            var prerequsites = new Prerequsites.Prerequsites {
                StartPosition = FormStartPosition.CenterParent
            };

            if (prerequsites.ShowDialog() == DialogResult.OK)
            {
                prerequsites.Dispose();
            }
        }
Beispiel #2
0
        private void buttonPrerequsites_Click(object sender, System.EventArgs e)
        {
            EnableControls(false);

            var about = new Prerequsites.Prerequsites {
                StartPosition = FormStartPosition.CenterParent
            };

            if (about.ShowDialog() == DialogResult.OK)
            {
                about.Dispose();
                buttonUnderstand.Focus();
            }

            EnableControls(true);
        }