1
0
mirror of https://github.com/lidgren/lidgren-network-gen3.git synced 2026-05-15 22:56: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,36 @@
using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Drawing;
using System.Text;
using System.Windows.Forms;
namespace SpeedTestServer
{
public partial class Form1 : Form
{
public Form1()
{
InitializeComponent();
}
private void button1_Click(object sender, EventArgs e)
{
Program.DisplaySettings();
}
private void button2_Click(object sender, EventArgs e)
{
if (button2.Text == "Start")
{
Program.Start();
button2.Text = "Shutdown";
}
else
{
Program.Shutdown();
button2.Text = "Start";
}
}
}
}