1
0
mirror of https://github.com/lidgren/lidgren-network-gen3.git synced 2026-05-16 07:06:30 +09:00

SpeedSample added

This commit is contained in:
lidgren
2010-11-03 13:18:23 +00:00
parent 47579ba32f
commit e1d1913d15
21 changed files with 1679 additions and 0 deletions

View File

@@ -0,0 +1,32 @@
using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Drawing;
using System.Text;
using System.Windows.Forms;
namespace SpeedTestClient
{
public partial class Form1 : Form
{
public Form1()
{
InitializeComponent();
comboBox1.SelectedIndex = 0;
}
private void button2_Click(object sender, EventArgs e)
{
int seqChan;
Int32.TryParse(textBox3.Text, out seqChan);
int port;
Int32.TryParse(textBox2.Text, out port);
Program.Connect(textBox1.Text, port, comboBox1.SelectedItem.ToString(), seqChan);
}
private void button1_Click(object sender, EventArgs e)
{
Program.DisplaySettings();
}
}
}