private void button1_Click(object sender, EventArgs e) { var frmTeleport = new frmTeleport(instance); frmTeleport.txtRegion.Text = sSIM; frmTeleport.nudX.Value = (int)fX; frmTeleport.nudY.Value = (int)fY; frmTeleport.nudZ.Value = (int)fZ; frmTeleport.ShowDialog(); }
private void button1_Click(object sender, EventArgs e) { string sLoc = textBox8.Text; char[] deli = "/".ToCharArray(); string[] iDets = sLoc.Split(deli); //netcom.Teleport(iDets[0], //client.Self.Teleport( #if false var frmTeleport = new frmTeleport(instance); frmTeleport.txtRegion.Text = iDets[0].ToString(); frmTeleport.nudX.Value = (int)fX; frmTeleport.nudY.Value = (int)fY; frmTeleport.nudZ.Value = (int)fZ; frmTeleport.ShowDialog(); #endif }