-
Notifications
You must be signed in to change notification settings - Fork 5
/
Copy patheterm_connect.cs
41 lines (38 loc) · 1017 Bytes
/
eterm_connect.cs
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Linq;
using System.Text;
using System.Windows.Forms;
namespace Eterm_CS
{
public partial class eterm_connect : Form
{
public string Eterm_host;
public string Eterm_port;
public string Eterm_user;
public string Eterm_pwd;
public eterm_connect()
{
InitializeComponent();
}
private void button1_Click(object sender, EventArgs e)
{
this.DialogResult = DialogResult.OK;
Eterm_host = host.Text;
Eterm_port = port.Text;
Eterm_user = user.Text;
Eterm_pwd = pwd.Text;
Close();
}
private void eterm_connect_Load(object sender, EventArgs e)
{
host.Text = Eterm_host;
port.Text = Eterm_port;
user.Text = Eterm_user;
pwd.Text = Eterm_pwd;
}
}
}