Skip to content

Commit f736cad

Browse files
committed
v9.0.1 RC1
1 parent ce8549e commit f736cad

File tree

39 files changed

+103
-77
lines changed

39 files changed

+103
-77
lines changed

DWSIM.Automation.Tests/My Project/AssemblyInfo.vb

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -31,5 +31,5 @@ Imports System.Runtime.InteropServices
3131
' by using the '*' as shown below:
3232
' <Assembly: AssemblyVersion("1.0.*")>
3333

34-
<Assembly: AssemblyVersion("9.0.0.0")>
35-
<Assembly: AssemblyFileVersion("9.0.0.0")>
34+
<Assembly: AssemblyVersion("9.0.1.0")>
35+
<Assembly: AssemblyFileVersion("9.0.1.0")>

DWSIM.Automation/Properties/AssemblyInfo.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,4 +32,4 @@
3232
// You can specify all the values or you can default the Build and Revision Numbers
3333
// by using the '*' as shown below:
3434
// [assembly: AssemblyVersion("1.0.*")]
35-
[assembly: AssemblyVersion("9.0.0.0")]
35+
[assembly: AssemblyVersion("9.0.1.0")]

DWSIM.Drawing.SkiaSharp/My Project/AssemblyInfo.vb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,6 +33,6 @@ Imports System.Runtime.InteropServices
3333
' by using the '*' as shown below:
3434
' <Assembly: AssemblyVersion("1.0.*")>
3535

36-
<Assembly: AssemblyVersion("9.0.0.0")>
36+
<Assembly: AssemblyVersion("9.0.1.0")>
3737

3838
<Assembly: NeutralResourcesLanguageAttribute("en")>

DWSIM.DrawingTools.SkiaSharp.Extended/Properties/AssemblyInfo.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,4 +32,4 @@
3232
// You can specify all the values or you can default the Build and Revision Numbers
3333
// by using the '*' as shown below:
3434
// [assembly: AssemblyVersion("1.0.*")]
35-
[assembly: AssemblyVersion("9.0.0.0")]
35+
[assembly: AssemblyVersion("9.0.1.0")]

DWSIM.DynamicsManager/My Project/AssemblyInfo.vb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,4 +31,4 @@ Imports System.Runtime.InteropServices
3131
' by using the '*' as shown below:
3232
' <Assembly: AssemblyVersion("1.0.*")>
3333

34-
<Assembly: AssemblyVersion("9.0.0.0")>
34+
<Assembly: AssemblyVersion("9.0.1.0")>

DWSIM.ExtensionMethods.Eto/EtoExtensions.cs

Lines changed: 14 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -79,10 +79,20 @@ public static void Center(this Form form)
7979
}
8080
else
8181
{
82-
var center = Screen.DisplayBounds.Center;
83-
center.X -= form.Width / 2;
84-
center.Y -= form.Height / 2;
85-
form.Location = new Point((int)center.X, (int)center.Y);
82+
try
83+
{
84+
var center = Screen.PrimaryScreen.Bounds.Center;
85+
center.X -= form.Width / 2;
86+
center.Y -= form.Height / 2;
87+
form.Location = new Point(center);
88+
}
89+
catch
90+
{
91+
var center = Screen.DisplayBounds.Center;
92+
center.X -= form.Width / 2;
93+
center.Y -= form.Height / 2;
94+
form.Location = new Point((int)center.X, (int)center.Y);
95+
}
8696
}
8797
}
8898
}

DWSIM.ExtensionMethods.Eto/Properties/AssemblyInfo.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,4 +32,4 @@
3232
// You can specify all the values or you can default the Build and Revision Numbers
3333
// by using the '*' as shown below:
3434
// [assembly: AssemblyVersion("1.0.*")]
35-
[assembly: AssemblyVersion("9.0.0.0")]
35+
[assembly: AssemblyVersion("9.0.1.0")]

DWSIM.ExtensionMethods/My Project/AssemblyInfo.vb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,4 +31,4 @@ Imports System.Runtime.InteropServices
3131
' by using the '*' as shown below:
3232
' <Assembly: AssemblyVersion("1.0.*")>
3333

34-
<Assembly: AssemblyVersion("9.0.0.0")>
34+
<Assembly: AssemblyVersion("9.0.1.0")>

DWSIM.FileStorage/Properties/AssemblyInfo.cs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -32,5 +32,5 @@
3232
// You can specify all the values or you can default the Build and Revision Numbers
3333
// by using the '*' as shown below:
3434
// [assembly: AssemblyVersion("1.0.*")]
35-
[assembly: AssemblyVersion("9.0.0.0")]
36-
[assembly: AssemblyFileVersion("9.0.0.0")]
35+
[assembly: AssemblyVersion("9.0.1.0")]
36+
[assembly: AssemblyFileVersion("9.0.1.0")]

DWSIM.FlowsheetBase/My Project/AssemblyInfo.vb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,4 +31,4 @@ Imports System.Runtime.InteropServices
3131
' by using the '*' as shown below:
3232
' <Assembly: AssemblyVersion("1.0.*")>
3333

34-
<Assembly: AssemblyVersion("9.0.0.0")>
34+
<Assembly: AssemblyVersion("9.0.1.0")>

0 commit comments

Comments
 (0)