Changeset 935 for trunk/sources/HeuristicLab.Hive.Server.Console
- Timestamp:
- 12/10/08 11:44:52 (16 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/sources/HeuristicLab.Hive.Server.Console/HiveServerConsole.cs
r912 r935 55 55 /// <param name="e"></param> 56 56 private void btnLogin_Click(object sender, EventArgs e) { 57 string newIp = tbIp.Text; 58 newIp = newIp.Replace(" ", ""); 59 60 ServiceLocator.Address = newIp; 61 ServiceLocator.Port = this.tbPort.Text; 62 57 63 if (isValid()) { 58 string newIp = tbIp.Text;59 newIp = newIp.Replace(" ", "");60 61 ServiceLocator.Address = newIp;62 ServiceLocator.Port = this.tbPort.Text;63 64 64 this.Visible = false; 65 65 information = new HiveServerManagementConsole(); … … 86 86 } 87 87 return true; 88 } else { 89 if (tbUserName.Text == "") { 90 lblError.Text = "Please type in Username"; 91 } else if (tbPwd.Text == "") { 92 lblError.Text = "Please type in Password"; 93 } else if (tbPort.Text == "") { 94 lblError.Text = "Please type in Port"; 95 } 96 return false; 88 97 } 89 // TODO IP-Adress validation90 return false;91 98 } 92 99
Note: See TracChangeset
for help on using the changeset viewer.