예제 #1
0
        private void ShowTroubleShooter()
        {
            int    port, localPort;
            string error = "";

            if (!SetupNetwork(out port, out localPort, out error))
            {
                MessageBox.Show(error);
                return;
            }

            var nt = new NetworkTroubleshooterForm();

            nt.ShowDialog(this);
            nt.Dispose();
        }
예제 #2
0
        private void ShowTroubleShooter()
        {
            int port, localPort;
            string error = "";
            if (!SetupNetwork(out port, out localPort, out error))
            {
                MessageBox.Show(error);
                return;
            }

            var nt = new NetworkTroubleshooterForm();
            nt.ShowDialog(this);
            nt.Dispose();
        }