Пример #1
0
        static void Main()
        {
            Application.EnableVisualStyles();
            Application.SetCompatibleTextRenderingDefault(false);
            Form mainForm = new Form1();
            Form infoForm = new infoForm();

            Application.Run(mainForm);
            mainForm.IsMdiContainer = true;
            infoForm.MdiParent      = mainForm;
        }
Пример #2
0
        private void InfoButton_Click(object sender, EventArgs e)
        {
            var helpForm = new infoForm();

            helpForm.ShowDialog();
        }