You've already forked lidgren-network-gen3
mirror of
https://github.com/lidgren/lidgren-network-gen3.git
synced 2026-05-14 06:06:30 +09:00
37 lines
634 B
C#
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";
|
|
}
|
|
}
|
|
}
|
|
}
|