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