static void Main(string[] args) { Console.WriteLine("Performing tests..."); OpenSimConfigurator osc = new OpenSimConfigurator(); Console.WriteLine("Testing Network...: " + osc.TestNetwork()); Console.WriteLine("Done."); Console.ReadLine(); }
private void btnStart_Click(object sender, EventArgs e) { int x =0, y =0; Int32.TryParse(textBoxX.Text, out x); Int32.TryParse(textBoxY.Text, out y); textBoxX.Enabled = false; textBoxY.Enabled = false; checkBoxAutoposition.Enabled = false; textBox1.Enabled = false; textBox2.Enabled = false; textBox3.Enabled = false; OpenSimConfigurator osc = new OpenSimConfigurator(); osc.ConfigAndLaunch(textBox1.Text, textBox2.Text, textBox3.Text, progressBar1, toolStripStatusLabel1, statusStrip1, checkBoxAutoposition.Checked, x, y); }
private void btnStart_Click(object sender, EventArgs e) { int x = 0, y = 0; Int32.TryParse(textBoxX.Text, out x); Int32.TryParse(textBoxY.Text, out y); textBoxX.Enabled = false; textBoxY.Enabled = false; checkBoxAutoposition.Enabled = false; textBox1.Enabled = false; textBox2.Enabled = false; textBox3.Enabled = false; OpenSimConfigurator osc = new OpenSimConfigurator(); osc.ConfigAndLaunch(textBox1.Text, textBox2.Text, textBox3.Text, progressBar1, toolStripStatusLabel1, statusStrip1, checkBoxAutoposition.Checked, x, y); }
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; }