File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff 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
Original file line number Diff line number Diff 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 }
You can’t perform that action at this time.
0 commit comments