BioImager  4.9.0
A .NET microscopy imaging application based on Bio library. Supports various microscopes by using imported libraries & GUI automation. Supports XInput game controllers to move stage, take images, run ImageJ macros on images or Bio C# scripts.
Loading...
Searching...
No Matches
BioImager.Login Class Reference
Inheritance diagram for BioImager.Login:

Static Public Attributes

static string host
 
static string username
 
static string password
 
static int port
 

Protected Member Functions

override void Dispose (bool disposing)
 Clean up any resources being used.
 

Detailed Description

Definition at line 3 of file Login.Designer.cs.

Constructor & Destructor Documentation

◆ Login()

BioImager.Login.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;
28 host = h;
29 }
30 if (p != "")
31 {
32 portBox.Text = int.Parse(p).ToString();
33 port = int.Parse(p);
34 }
35 if(u != "")
36 {
37 usernameBox.Text = u;
38 username = 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 }

Member Function Documentation

◆ Dispose()

override void BioImager.Login.Dispose ( bool disposing)
protected

Clean up any resources being used.

Parameters
disposingtrue 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 }

Member Data Documentation

◆ host

string BioImager.Login.host
static

Definition at line 15 of file Login.cs.

◆ password

string BioImager.Login.password
static

Definition at line 15 of file Login.cs.

◆ port

int BioImager.Login.port
static

Definition at line 16 of file Login.cs.

◆ username

string BioImager.Login.username
static

Definition at line 15 of file Login.cs.


The documentation for this class was generated from the following files: