AIParkingApplicationForm - Add StatusBar into Form.
This commit is contained in:
parent
9573166217
commit
1871f67ec2
|
@ -1,4 +1,5 @@
|
|||
using System.Windows.Forms;
|
||||
using System;
|
||||
using System.Windows.Forms;
|
||||
|
||||
namespace AIParkingApplication
|
||||
{
|
||||
|
@ -9,6 +10,7 @@ namespace AIParkingApplication
|
|||
private IDoorControlAccess c3Device;
|
||||
private LaneIn laneIn;
|
||||
private LaneOut laneOut;
|
||||
private StatusBar statusBar;
|
||||
|
||||
public AIParkingApplicationForm()
|
||||
{
|
||||
|
@ -23,6 +25,10 @@ namespace AIParkingApplication
|
|||
laneOut.Location = new System.Drawing.Point(450, 0);
|
||||
Controls.Add(laneOut);
|
||||
|
||||
statusBar = new StatusBar("192.168.1.122", "192.168.1.200", TimeSpan.FromSeconds(1));
|
||||
statusBar.Location = new System.Drawing.Point(0, 692);
|
||||
statusBar.Anchor = (AnchorStyles.Bottom | AnchorStyles.Left);
|
||||
Controls.Add(statusBar);
|
||||
StartLanes();
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue
Block a user