public void Create() { var form = new Form { Width = 800, Height = 600 }; // go to the directory containing resources const string sharpMapTestPath = @"..\..\..\..\..\test-data\DeltaShell\DeltaShell.Plugins.SharpMapGis.Tests\"; Directory.SetCurrentDirectory(sharpMapTestPath + "3d"); var control = new MapControl3D { Dock = DockStyle.Fill }; form.Controls.Add(control); control.Refresh(); WindowsFormsTestHelper.ShowModal(form); }
public MainWindowCommandHandler(MainWindow mainWindow) { m_mainWindow = mainWindow; m_map = mainWindow.MapControl; }
public MainWindowCommandHandler(MainWindow mainWindow) { m_mainWindow = mainWindow; m_map = mainWindow.MapControl; }