示例#1
0
        public static ManagementScope ShowConnectToServerDialog()
        {
            ConnectToForm dialog = new ConnectToForm();

            if (dialog.ShowDialog() == DialogResult.OK)
            {
                return(dialog.NewScope);
            }

            return(null);
        }
示例#2
0
        public static ManagementScope ShowConnectToServerDialog()
        {
            ConnectToForm dialog = new ConnectToForm();

            if (dialog.ShowDialog() == DialogResult.OK)
            {
                return dialog.NewScope;
            }

            return null;
        }