Exemple #1
0
 public MainView()
 {
     InitializeComponent();
     _mapViewer = new StageMapView();
     _mapViewer.Show(dpMain, WeifenLuo.WinFormsUI.Docking.DockState.Document);
     _blocksViewer = new StageChunksView(_mapViewer);
     _blocksViewer.Show(dpMain, WeifenLuo.WinFormsUI.Docking.DockState.DockLeft);
     _mapViewer._ChunkView = _blocksViewer;
 }
Exemple #2
0
 public MainView()
 {
     InitializeComponent();
     _mapViewer = new StageMapView(this);
     _mapViewer.Show(dpMain, DockState.Document);
     _blocksViewer = new StageChunksView(this);
     _blocksViewer.Show(dpMain, DockState.DockLeft);
     LoadScrollIndexes();
 }