testform.cs
来自「rudp可靠保障得udp传输」· CS 代码 · 共 39 行
CS
39 行
using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Text;
using System.Windows.Forms;
namespace Test.Application
{
public partial class TestForm : Form
{
[STAThread]
static public void Main(string[] args)
{
System.Windows.Forms.Application.EnableVisualStyles();
System.Windows.Forms.Application.SetCompatibleTextRenderingDefault(false);
System.Windows.Forms.Application.Run(new TestForm());
}
public TestForm()
{
InitializeComponent();
}
private void btnTCPClient_Click(object sender, EventArgs e)
{
ClientForm form = new ClientForm();
form.Show();
}
private void btnTCPServer_Click(object sender, EventArgs e)
{
ServerForm form = new ServerForm();
form.Show();
}
}
}
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?