📄 frmsystemoption.cs
字号:
using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Text;
using System.Windows.Forms;
namespace JPMLab_LanTalker_Client
{
public partial class frmSystemOption : Form
{
public frmSystemOption()
{
InitializeComponent();
}
private void mbtCancel_Click(object sender, EventArgs e)
{
this.Close();
}
private void mbtSave_Click(object sender, EventArgs e)
{
OperationCenter.SaveNewSystemOption(txtSAddress.Text, int.Parse(txtSPort.Text), int.Parse(txtLPort.Text));
}
private void frmSystemOption_Load(object sender, EventArgs e)
{
txtSAddress.Text = OperationCenter.Server_Address;
txtSPort.Text = Convert.ToString(OperationCenter.Server_Port);
txtLPort.Text = Convert.ToString(OperationCenter.Location_Port);
}
}
}
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -