|
|
@@ -18,7 +18,7 @@ namespace BPASmartClient.ScreenLib |
|
|
|
Main.GetInstance.Start(); |
|
|
|
AppDomain.CurrentDomain.UnhandledException += CurrentDomain_UnhandledException; |
|
|
|
FSystemHelper.GetInstance.CreateDesktopShortcut(); |
|
|
|
//FSystemHelper.GetInstance.AutoStart(true); |
|
|
|
FSystemHelper.GetInstance.AutoStart(true); |
|
|
|
WindowLargeScreen windowLarge = new WindowLargeScreen(); |
|
|
|
#region 设置显示页面与标题 |
|
|
|
string TitleName = $"{type.Assembly.ManifestModule.Name.Replace(".dll", "")}"; |
|
|
@@ -60,9 +60,8 @@ namespace BPASmartClient.ScreenLib |
|
|
|
windowLarge.WindowStyle = WindowStyle.None; |
|
|
|
windowLarge.WindowState = WindowState.Normal; |
|
|
|
windowLarge.ShowInTaskbar = false; |
|
|
|
windowLarge.Topmost = true; |
|
|
|
} |
|
|
|
else if (i==1) |
|
|
|
else if (i == 1) |
|
|
|
{ |
|
|
|
windowLarge2.WindowStartupLocation = WindowStartupLocation.Manual; |
|
|
|
windowLarge2.Left = i * 1920; |
|
|
@@ -74,9 +73,8 @@ namespace BPASmartClient.ScreenLib |
|
|
|
windowLarge2.WindowStyle = WindowStyle.None; |
|
|
|
windowLarge2.WindowState = WindowState.Normal; |
|
|
|
windowLarge2.ShowInTaskbar = false; |
|
|
|
windowLarge2.Topmost = true; |
|
|
|
} |
|
|
|
else if (i==2) |
|
|
|
else if (i == 2) |
|
|
|
{ |
|
|
|
windowLarge3.WindowStartupLocation = WindowStartupLocation.Manual; |
|
|
|
windowLarge3.Left = i * 1920; |
|
|
@@ -88,7 +86,6 @@ namespace BPASmartClient.ScreenLib |
|
|
|
windowLarge3.WindowStyle = WindowStyle.None; |
|
|
|
windowLarge3.WindowState = WindowState.Normal; |
|
|
|
windowLarge3.ShowInTaskbar = false; |
|
|
|
windowLarge3.Topmost = true; |
|
|
|
|
|
|
|
} |
|
|
|
} |
|
|
@@ -141,7 +138,7 @@ namespace BPASmartClient.ScreenLib |
|
|
|
// i++; |
|
|
|
//} |
|
|
|
#endregion |
|
|
|
windowLarge.Show(); windowLarge2.Show(); windowLarge3.Show(); |
|
|
|
windowLarge.Show();windowLarge2.Show(); windowLarge3.Show(); |
|
|
|
break; |
|
|
|
} |
|
|
|
#endregion |
|
|
|