Пример #1
0
        private void button1_Click(object sender, EventArgs e)
        {
            this.Hide();
            var f = new SecretInfo();

            f.ShowDialog();
            //f.ShowDialog();
        }
Пример #2
0
        static void doStep(int step)
        {
            switch (step)
            {
            case 0:
            {
                FormDelegate.doNext dn = new FormDelegate.doNext(doStep);
                var f = new SecretInfo();
                f.ShowDialog();
            }; break;

            case 1:
            {
            }; break;

            case 2: { }; break;

            case 3: { }; break;
            }
        }