Skip to content

Commit 5b1fa2f

Browse files
committed
Show on form for all builds.
1 parent 5d78f2d commit 5b1fa2f

2 files changed

Lines changed: 8 additions & 6 deletions

File tree

‎MapWinGisTests-net/MapWinGisTests/AxMapTests.cs‎

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -30,9 +30,10 @@ public void VersionTest()
3030
public void MapProjectionTest()
3131
{
3232
using var form = new WinFormsApp1.Form1();
33-
if (Environment.Is64BitProcess)
34-
{
35-
form.Show(); // We need to show the form to have a valid map control (x64)
33+
// Test with Showing form for x86 and x64
34+
//if (Environment.Is64BitProcess)
35+
{
36+
form.Show(); // We need to show the form to have a valid map control (x64)
3637
}
3738
form.ShouldNotBeNull();
3839

‎MapWinGisTests-net/WinFormsApp1/Form1.cs‎

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -14,14 +14,15 @@ public Form1()
1414
CallbackVerbosity = tkCallbackVerbosity.cvAll
1515
};
1616

17-
if (Environment.Is64BitProcess)
17+
// Test with Showing form for x86 and x64
18+
//if(Environment.Is64BitProcess)
1819
{
1920
Shown += (s, e) => LoadOsm(); // This need to be done after the form is shown (x64)
2021
}
21-
else
22+
/*else
2223
{
2324
LoadOsm();
24-
}
25+
}*/
2526

2627
GetMapWinGisVersion();
2728
}

0 commit comments

Comments
 (0)