winform show

 AgentLogin formLogin = new AgentLogin(new CSShell());

            if (formLogin.ShowDialog() == DialogResult.OK)
            {
                Application.Run(new InfoServerQuery(new CSShell()));

你可能感兴趣的:(WinForm)