Exemplo n.º 1
0
        private void mainFrm_Load(object sender, EventArgs e)
        {
            frameRegionConfig1.CarregarConfiguracoes();

            oNetMsg = new classes.NetworkMessenger() { Active = true };

            textLocalIP.Text = "N/A";
            textInternetIP.Text = "N/A";

            try
            {
                textLocalIP.Text = OpenSimConfigurator.GetLocalIP().ToString();
                textInternetIP.Text = OpenSimConfigurator.GetInternetIP().ToString();
            }
            finally
            {
            }
            frameRegionConfig1.LocalIP = textLocalIP.Text;
            frameRegionConfig1.RemoteIP = textInternetIP.Text;
            frameRegionConfig1.chkTryChangeRouter = chkTryChangeRouter.Checked;
        }