AIParkingApplicationForm - Refactor abit
This commit is contained in:
parent
8ae4adae0a
commit
b50ea3c97c
|
@ -25,13 +25,17 @@ namespace AIParkingApplication
|
||||||
this.configOnWeb = configOnWeb;
|
this.configOnWeb = configOnWeb;
|
||||||
c3Device = new C3DeviceController("192.168.1.200");
|
c3Device = new C3DeviceController("192.168.1.200");
|
||||||
|
|
||||||
sidebar = new Sidebar(apiController);
|
sidebar = new Sidebar(apiController)
|
||||||
sidebar.Location = new Point(0, 0);
|
{
|
||||||
|
Location = new Point(0, 0)
|
||||||
|
};
|
||||||
Controls.Add(sidebar);
|
Controls.Add(sidebar);
|
||||||
|
|
||||||
statusBar = new StatusBar("192.168.1.122", "192.168.1.200", TimeSpan.FromSeconds(1));
|
statusBar = new StatusBar("192.168.1.122", "192.168.1.200", TimeSpan.FromSeconds(1))
|
||||||
statusBar.Location = new Point(0, sidebar.Location.Y + sidebar.Height + 26);
|
{
|
||||||
statusBar.Anchor = AnchorStyles.Bottom | AnchorStyles.Left;
|
Location = new Point(0, sidebar.Location.Y + sidebar.Height + 26),
|
||||||
|
Anchor = AnchorStyles.Bottom | AnchorStyles.Left
|
||||||
|
};
|
||||||
Controls.Add(statusBar);
|
Controls.Add(statusBar);
|
||||||
|
|
||||||
try
|
try
|
||||||
|
|
Loading…
Reference in New Issue
Block a user