1
0
mirror of https://github.com/lidgren/lidgren-network-gen3.git synced 2026-05-14 14:16:30 +09:00
Files
lidgren-network-gen3/Samples/LibraryTestSamples/SpeedSample/SpeedServer/Form1.cs
2010-11-03 13:18:23 +00:00

37 lines
634 B
C#

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";
}
}
}
}