|
| override void | Dispose (bool disposing) |
| | Clean up any resources being used.
|
| |
Definition at line 3 of file Login.Designer.cs.
◆ Login()
Definition at line 17 of file Login.cs.
18 {
19 InitializeComponent();
20 this.DialogResult = DialogResult.Cancel;
21 BioLib.Settings.Load();
22 string h = BioLib.Settings.GetSettings("host");
23 string p = BioLib.Settings.GetSettings("port");
24 string u = BioLib.Settings.GetSettings("username");
25 if (h != "")
26 {
27 hostBox.Text = h;
29 }
30 if (p != "")
31 {
32 portBox.Text = int.Parse(p).ToString();
34 }
35 if(u != "")
36 {
37 usernameBox.Text = u;
39 }
40 BioLib.Settings.AddSettings("username", usernameBox.Text);
41 BioLib.Settings.AddSettings("host", hostBox.Text);
42 BioLib.Settings.AddSettings("port", ((int)portBox.Value).ToString());
43
44 }
◆ Dispose()
| override void BioCore.Login.Dispose |
( |
bool | disposing | ) |
|
|
protected |
Clean up any resources being used.
- Parameters
-
| disposing | true if managed resources should be disposed; otherwise, false. |
Definition at line 14 of file Login.Designer.cs.
15 {
16 if (disposing && (components != null))
17 {
18 components.Dispose();
19 }
20 base.Dispose(disposing);
21 }
◆ host
| string BioCore.Login.host |
|
static |
◆ password
| string BioCore.Login.password |
|
static |
◆ port
◆ username
| string BioCore.Login.username |
|
static |
The documentation for this class was generated from the following files: