Bugfixes
This commit is contained in:
@@ -57,7 +57,7 @@ namespace ErgometerApplication
|
||||
//
|
||||
// updateTimer
|
||||
//
|
||||
this.updateTimer.Interval = 350;
|
||||
this.updateTimer.Interval = 800;
|
||||
this.updateTimer.Tick += new System.EventHandler(this.updateTimer_Tick);
|
||||
//
|
||||
// panelClientContainer
|
||||
@@ -176,7 +176,6 @@ namespace ErgometerApplication
|
||||
|
||||
#endregion
|
||||
private System.Windows.Forms.Timer updateTimer;
|
||||
private System.Windows.Forms.Timer writeTimer;
|
||||
private System.Windows.Forms.Panel panelClientContainer;
|
||||
private PanelClientChat panelClientChat;
|
||||
private PanelGraphView panelGraphView;
|
||||
|
||||
@@ -53,10 +53,20 @@ namespace ErgometerApplication
|
||||
}
|
||||
if (password.Length >= 8)
|
||||
{
|
||||
MainClient.Connect(SerialPort.GetPortNames()[0], username, password);
|
||||
panelClientContainer.BringToFront();
|
||||
this.labelUsername.Text = panelLogin.textBoxUsername.Text;
|
||||
panelTopBar.Visible = true;
|
||||
/*
|
||||
if(SerialPort.GetPortNames().Length <= 0)
|
||||
{
|
||||
panelLogin.lblVerification.Text = "De Ergometer is niet gevonden.";
|
||||
panelLogin.lblVerification.ForeColor = Color.Red;
|
||||
panelLogin.lblVerification.Visible = true;
|
||||
}
|
||||
else
|
||||
{ */
|
||||
MainClient.Connect(SerialPort.GetPortNames()[0], username, password);
|
||||
panelClientContainer.BringToFront();
|
||||
this.labelUsername.Text = panelLogin.textBoxUsername.Text;
|
||||
panelTopBar.Visible = true;
|
||||
//}
|
||||
}
|
||||
}
|
||||
else
|
||||
|
||||
-11
@@ -1,11 +0,0 @@
|
||||
<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
|
||||
<assembly xmlns="urn:schemas-microsoft-com:asm.v1" manifestVersion="1.0">
|
||||
<assemblyIdentity version="1.0.0.0" name="MyApplication.app"/>
|
||||
<trustInfo xmlns="urn:schemas-microsoft-com:asm.v2">
|
||||
<security>
|
||||
<requestedPrivileges xmlns="urn:schemas-microsoft-com:asm.v3">
|
||||
<requestedExecutionLevel level="asInvoker" uiAccess="false"/>
|
||||
</requestedPrivileges>
|
||||
</security>
|
||||
</trustInfo>
|
||||
</assembly>
|
||||
Binary file not shown.
Reference in New Issue
Block a user