forked from srwh1234/L1MapViewer
-
Notifications
You must be signed in to change notification settings - Fork 12
Expand file tree
/
Copy pathMapForm.Designer.cs
More file actions
2096 lines (1895 loc) · 98.4 KB
/
MapForm.Designer.cs
File metadata and controls
2096 lines (1895 loc) · 98.4 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
781
782
783
784
785
786
787
788
789
790
791
792
793
794
795
796
797
798
799
800
801
802
803
804
805
806
807
808
809
810
811
812
813
814
815
816
817
818
819
820
821
822
823
824
825
826
827
828
829
830
831
832
833
834
835
836
837
838
839
840
841
842
843
844
845
846
847
848
849
850
851
852
853
854
855
856
857
858
859
860
861
862
863
864
865
866
867
868
869
870
871
872
873
874
875
876
877
878
879
880
881
882
883
884
885
886
887
888
889
890
891
892
893
894
895
896
897
898
899
900
901
902
903
904
905
906
907
908
909
910
911
912
913
914
915
916
917
918
919
920
921
922
923
924
925
926
927
928
929
930
931
932
933
934
935
936
937
938
939
940
941
942
943
944
945
946
947
948
949
950
951
952
953
954
955
956
957
958
959
960
961
962
963
964
965
966
967
968
969
970
971
972
973
974
975
976
977
978
979
980
981
982
983
984
985
986
987
988
989
990
991
992
993
994
995
996
997
998
999
1000
using System.ComponentModel;
// using System.Drawing; // Replaced with Eto.Drawing
using Eto.Forms;
using Eto.Drawing;
using L1MapViewer.Controls;
using L1MapViewer.Localization;
using L1MapViewer.Other;
using static L1MapViewer.Compatibility.KeysCompat;
namespace L1FlyMapViewer
{
partial class MapForm
{
private IContainer components;
private MenuStrip menuStrip1;
// 頂級選單
private ToolStripMenuItem menuFile;
private ToolStripMenuItem menuEdit;
private ToolStripMenuItem menuView;
private ToolStripMenuItem menuTools;
private ToolStripMenuItem menuHelp;
// 檔案選單項目
private ToolStripMenuItem openToolStripMenuItem;
private ToolStripMenuItem importMaterialToolStripMenuItem;
private ToolStripMenuItem importFs32ToNewMapToolStripMenuItem;
private ToolStripMenuItem menuSaveS32;
private ToolStripMenuItem menuExportFs32;
private ToolStripMenuItem exportToolStripMenuItem;
private ToolStripMenuItem exportL1JToolStripMenuItem;
private ToolStripMenuItem exportDIRToolStripMenuItem;
private ToolStripMenuItem exportAllL1JToolStripMenuItem;
private ToolStripMenuItem exportAllDIRToolStripMenuItem;
private ToolStripMenuItem exportCoordSqlToolStripMenuItem;
private ToolStripMenuItem menuExportMapImage;
private ToolStripMenuItem menuExit;
// 編輯選單項目
private ToolStripMenuItem menuUndo;
private ToolStripMenuItem menuRedo;
private ToolStripMenuItem menuCopy;
private ToolStripMenuItem menuPaste;
private ToolStripMenuItem menuDelete;
private ToolStripMenuItem batchDeleteTileToolStripMenuItem;
private ToolStripMenuItem menuBatchReplaceTile;
// 檢視選單項目
private ToolStripMenuItem menuReloadMap;
private ToolStripMenuItem menuLayers;
private ToolStripMenuItem menuLayerL1;
private ToolStripMenuItem menuLayerL2;
private ToolStripMenuItem menuLayerL4;
private ToolStripMenuItem menuLayerL5;
private ToolStripMenuItem menuLayerL8;
private ToolStripMenuItem menuLayerPassable;
private ToolStripMenuItem menuLayerSafe;
private ToolStripMenuItem menuLayerCombat;
private ToolStripMenuItem menuLayerGrid;
private ToolStripMenuItem menuLayerS32Bound;
private ToolStripMenuItem menuZoom;
private ToolStripMenuItem menuZoomIn;
private ToolStripMenuItem menuZoomOut;
private ToolStripMenuItem menuZoom100;
// 工具選單項目
private ToolStripMenuItem menuPassableEdit;
private ToolStripMenuItem menuRegionEdit;
private ToolStripMenuItem menuLayer5Edit;
private ToolStripMenuItem menuValidateMap;
private ToolStripMenuItem menuCleanupTiles;
// 說明選單項目
private ToolStripMenuItem discordToolStripMenuItem;
private ToolStripMenuItem sourceCodeToolStripMenuItem;
private ToolStripMenuItem pakViewerToolStripMenuItem;
private ToolStripMenuItem languageToolStripMenuItem;
private ToolStripMenuItem langZhTWToolStripMenuItem;
private ToolStripMenuItem langJaJPToolStripMenuItem;
private ToolStripMenuItem langEnUSToolStripMenuItem;
private ToolStripMenuItem langKoKRToolStripMenuItem;
private ToolStripMenuItem menuAbout;
private StatusStrip statusStrip1;
public ToolStripStatusLabel toolStripStatusLabel1;
public ToolStripProgressBar toolStripProgressBar1;
public ToolStripStatusLabel toolStripStatusLabel2;
public ToolStripStatusLabel toolStripStatusLabel3;
private ToolStripStatusLabel toolStripJumpLabel;
private ToolStripTextBox toolStripJumpTextBox;
private ToolStripButton toolStripJumpButton;
private ToolStripButton toolStripCopyMoveCmd;
private ToolStripButton toolStripShowAllL8;
// 左側面板
private Panel leftPanel;
public ComboBox comboBox1; // 保留給介面相容性,但隱藏
private PictureBox miniMapPictureBox;
// 左下角 TabControl 內容(TabControl 本身在 MapForm.cs 中以 Eto 原生方式建立)
private TextBox txtMapSearch;
private ListBox lstMaps;
// S32 檔案清單 Tab 內容
private Label lblS32Files;
private Button btnS32SelectAll;
private Button btnS32SelectNone;
private CheckedListBox lstS32Files;
// 右側面板(Tile 清單)
private Panel rightPanel;
private Label lblTileList;
private TextBox txtTileSearch;
private L1MapViewer.Controls.IconTextListControl lvTiles;
private Label lblMaterials;
private L1MapViewer.Controls.IconTextListControl lvMaterials;
private Button btnMoreMaterials;
private Label lblGroupThumbnails;
private TextBox txtGroupSearch;
private ComboBox cmbGroupMode;
private L1MapViewer.Controls.IconTextListControl lvGroupThumbnails;
// 工具列面板(右側功能區)
private Panel toolbarContainer;
private Panel toolbarPanel;
private Panel toolbarPanel2;
private Button btnToolCopy;
private Button btnToolPaste;
private Button btnToolDelete;
private Button btnToolUndo;
private Button btnToolRedo;
private Button btnToolSave;
private Button btnToolCellInfo;
private Button btnToolReplaceTile;
private Button btnToolAddS32;
private Button btnToolClearLayer7;
private Button btnToolClearCell;
private Button btnMapValidate;
private Button btnToolCheckL1;
private Button btnToolCheckL2;
private Button btnToolCheckL3;
private Button btnToolCheckL4;
private Button btnToolCheckL5;
private Button btnToolCheckL6;
private Button btnToolCheckL7;
private Button btnToolCheckL8;
private Button btnEnableVisibleL8;
private Button btnViewClipboard;
private Button btnToolTestTil;
private Button btnToolClearTestTil;
private ToolTip toolTip1;
// 中間 TabControl
private TabControl tabControl1;
private TabPage tabMapPreview;
private TabPage tabS32Editor;
// 地圖預覽頁籤控制項
public ZoomablePanel panel1;
public PictureBox pictureBox4;
public PictureBox pictureBox3;
public PictureBox pictureBox2;
public PictureBox pictureBox1;
public VScrollBar vScrollBar1;
public HScrollBar hScrollBar1;
// S32 編輯器頁籤控制項
private Panel s32EditorPanel;
private Panel s32LayerControlPanel;
private CheckBox chkLayer1;
private CheckBox chkLayer2;
private CheckBox chkLayer3;
private CheckBox chkLayer4;
// 浮動圖層控制面板(右上角)
private Panel layerFloatPanel;
private Label lblLayerIcon;
private Panel layerPopupPanel;
// 圖層 CheckBox - UI 由 CreateCustomLayerPanel() 動態建立
// 新增/移除圖層選項時,需同步更新 MapForm.cs 的 layerConfigs 陣列
private CheckBox chkFloatLayer1;
private CheckBox chkFloatLayer2;
private CheckBox chkFloatLayer4;
private CheckBox chkFloatPassable;
private CheckBox chkFloatGrid;
private CheckBox chkFloatS32Boundary;
private CheckBox chkFloatLayer5;
private CheckBox chkFloatSafeZones;
private CheckBox chkFloatCombatZones;
private CheckBox chkFloatMarketZones;
private CheckBox chkFloatLayer8Spr;
private CheckBox chkFloatLayer8Marker;
private CheckBox chkShowPassable;
private CheckBox chkShowLayer5;
private CheckBox chkShowGrid;
private CheckBox chkShowS32Boundary;
private Button btnCopySettings;
private Button btnRegionEdit;
private Button btnMarketRegionEdit;
private Button btnCopyMapCoords;
private Button btnImportFs32;
private Button btnEditPassable;
private Button btnEditLayer5;
private Button btnMergeL2ToL1;
private Label lblRegionEdit;
private Button btnSaveS32;
private Button btnReloadMap;
private Button btnAnalyzeAttr;
private Panel s32MapPanel;
private MapViewerControl _mapViewerControl;
private Label lblS32Info;
protected override void Dispose(bool disposing)
{
if (disposing && this.components != null)
this.components.Dispose();
base.Dispose(disposing);
}
private void InitializeComponent()
{
this.components = new System.ComponentModel.Container();
// MenuStrip
this.menuStrip1 = new MenuStrip();
// 頂級選單
this.menuFile = new ToolStripMenuItem();
this.menuEdit = new ToolStripMenuItem();
this.menuView = new ToolStripMenuItem();
this.menuTools = new ToolStripMenuItem();
this.menuHelp = new ToolStripMenuItem();
// 檔案選單項目
this.openToolStripMenuItem = new ToolStripMenuItem();
this.importMaterialToolStripMenuItem = new ToolStripMenuItem();
this.importFs32ToNewMapToolStripMenuItem = new ToolStripMenuItem();
this.menuSaveS32 = new ToolStripMenuItem();
this.menuExportFs32 = new ToolStripMenuItem();
this.exportToolStripMenuItem = new ToolStripMenuItem();
this.exportL1JToolStripMenuItem = new ToolStripMenuItem();
this.exportDIRToolStripMenuItem = new ToolStripMenuItem();
this.exportAllL1JToolStripMenuItem = new ToolStripMenuItem();
this.exportAllDIRToolStripMenuItem = new ToolStripMenuItem();
this.exportCoordSqlToolStripMenuItem = new ToolStripMenuItem();
this.menuExportMapImage = new ToolStripMenuItem();
this.menuExit = new ToolStripMenuItem();
// 編輯選單項目
this.menuUndo = new ToolStripMenuItem();
this.menuRedo = new ToolStripMenuItem();
this.menuCopy = new ToolStripMenuItem();
this.menuPaste = new ToolStripMenuItem();
this.menuDelete = new ToolStripMenuItem();
this.batchDeleteTileToolStripMenuItem = new ToolStripMenuItem();
this.menuBatchReplaceTile = new ToolStripMenuItem();
// 檢視選單項目
this.menuReloadMap = new ToolStripMenuItem();
this.menuLayers = new ToolStripMenuItem();
this.menuLayerL1 = new ToolStripMenuItem();
this.menuLayerL2 = new ToolStripMenuItem();
this.menuLayerL4 = new ToolStripMenuItem();
this.menuLayerL5 = new ToolStripMenuItem();
this.menuLayerL8 = new ToolStripMenuItem();
this.menuLayerPassable = new ToolStripMenuItem();
this.menuLayerSafe = new ToolStripMenuItem();
this.menuLayerCombat = new ToolStripMenuItem();
this.menuLayerGrid = new ToolStripMenuItem();
this.menuLayerS32Bound = new ToolStripMenuItem();
this.menuZoom = new ToolStripMenuItem();
this.menuZoomIn = new ToolStripMenuItem();
this.menuZoomOut = new ToolStripMenuItem();
this.menuZoom100 = new ToolStripMenuItem();
// 工具選單項目
this.menuPassableEdit = new ToolStripMenuItem();
this.menuRegionEdit = new ToolStripMenuItem();
this.menuLayer5Edit = new ToolStripMenuItem();
this.menuValidateMap = new ToolStripMenuItem();
this.menuCleanupTiles = new ToolStripMenuItem();
// 說明選單項目
this.discordToolStripMenuItem = new ToolStripMenuItem();
this.sourceCodeToolStripMenuItem = new ToolStripMenuItem();
this.pakViewerToolStripMenuItem = new ToolStripMenuItem();
this.languageToolStripMenuItem = new ToolStripMenuItem();
this.langZhTWToolStripMenuItem = new ToolStripMenuItem();
this.langJaJPToolStripMenuItem = new ToolStripMenuItem();
this.langEnUSToolStripMenuItem = new ToolStripMenuItem();
this.langKoKRToolStripMenuItem = new ToolStripMenuItem();
this.menuAbout = new ToolStripMenuItem();
// StatusStrip
this.statusStrip1 = new StatusStrip();
this.toolStripStatusLabel1 = new ToolStripStatusLabel();
this.toolStripStatusLabel2 = new ToolStripStatusLabel();
this.toolStripStatusLabel3 = new ToolStripStatusLabel();
this.toolStripProgressBar1 = new ToolStripProgressBar();
this.toolStripJumpLabel = new ToolStripStatusLabel();
this.toolStripJumpTextBox = new ToolStripTextBox();
this.toolStripJumpButton = new ToolStripButton();
this.toolStripShowAllL8 = new ToolStripButton();
this.toolStripCopyMoveCmd = new ToolStripButton();
// 左側面板
this.leftPanel = new Panel();
this.comboBox1 = new ComboBox();
this.miniMapPictureBox = new PictureBox();
// 左下角 TabControl 內容(TabControl 本身在 MapForm.cs 中建立)
this.txtMapSearch = new TextBox();
this.lstMaps = new ListBox();
// S32 檔案清單
this.lblS32Files = new Label();
this.btnS32SelectAll = new Button();
this.btnS32SelectNone = new Button();
this.lstS32Files = new CheckedListBox();
// 右側面板
this.rightPanel = new Panel();
this.lblTileList = new Label();
this.txtTileSearch = new TextBox();
this.lvTiles = new L1MapViewer.Controls.IconTextListControl();
this.lblMaterials = new Label();
this.lvMaterials = new L1MapViewer.Controls.IconTextListControl();
this.btnMoreMaterials = new Button();
this.lblGroupThumbnails = new Label();
this.txtGroupSearch = new TextBox();
this.cmbGroupMode = new ComboBox();
this.lvGroupThumbnails = new L1MapViewer.Controls.IconTextListControl();
// 工具列面板
this.toolbarContainer = new Panel();
this.toolbarPanel = new Panel();
this.toolbarPanel2 = new Panel();
this.btnToolCopy = new Button();
this.btnToolPaste = new Button();
this.btnToolDelete = new Button();
this.btnToolUndo = new Button();
this.btnToolRedo = new Button();
this.btnToolSave = new Button();
this.btnToolCellInfo = new Button();
this.btnToolReplaceTile = new Button();
this.btnToolAddS32 = new Button();
this.btnToolClearLayer7 = new Button();
this.btnToolClearCell = new Button();
this.btnMapValidate = new Button();
this.btnToolCheckL1 = new Button();
this.btnToolCheckL2 = new Button();
this.btnToolCheckL3 = new Button();
this.btnToolCheckL4 = new Button();
this.btnToolCheckL5 = new Button();
this.btnToolCheckL6 = new Button();
this.btnToolCheckL7 = new Button();
this.btnToolCheckL8 = new Button();
this.btnEnableVisibleL8 = new Button();
this.btnViewClipboard = new Button();
this.btnToolTestTil = new Button();
this.btnToolClearTestTil = new Button();
this.toolTip1 = new ToolTip();
// 中間 TabControl
this.tabControl1 = new TabControl();
this.tabMapPreview = new TabPage();
this.tabS32Editor = new TabPage();
// 地圖預覽頁籤
this.panel1 = new ZoomablePanel();
this.pictureBox4 = new PictureBox();
this.pictureBox3 = new PictureBox();
this.pictureBox2 = new PictureBox();
this.pictureBox1 = new PictureBox();
this.vScrollBar1 = new VScrollBar();
this.hScrollBar1 = new HScrollBar();
// S32 編輯器頁籤
this.s32EditorPanel = new Panel();
this.s32LayerControlPanel = new Panel();
this.chkLayer1 = new CheckBox();
this.chkLayer2 = new CheckBox();
this.chkLayer3 = new CheckBox();
this.chkLayer4 = new CheckBox();
this.chkShowPassable = new CheckBox();
this.chkShowGrid = new CheckBox();
this.chkShowS32Boundary = new CheckBox();
this.btnCopySettings = new Button();
this.btnCopyMapCoords = new Button();
this.btnImportFs32 = new Button();
this.btnRegionEdit = new Button();
this.btnMarketRegionEdit = new Button();
this.btnEditPassable = new Button();
this.btnEditLayer5 = new Button();
this.btnMergeL2ToL1 = new Button();
this.lblRegionEdit = new Label();
this.btnSaveS32 = new Button();
this.btnReloadMap = new Button();
this.btnAnalyzeAttr = new Button();
this.s32MapPanel = new Panel();
this._mapViewerControl = new MapViewerControl();
this.lblS32Info = new Label();
// 浮動圖層控制面板
this.layerFloatPanel = new Panel();
this.lblLayerIcon = new Label();
this.layerPopupPanel = new Panel();
this.chkFloatLayer1 = new CheckBox();
this.chkFloatLayer2 = new CheckBox();
this.chkFloatLayer4 = new CheckBox();
this.chkFloatPassable = new CheckBox();
this.chkFloatGrid = new CheckBox();
this.chkFloatS32Boundary = new CheckBox();
this.chkFloatLayer5 = new CheckBox();
this.chkFloatSafeZones = new CheckBox();
this.chkFloatCombatZones = new CheckBox();
this.chkFloatMarketZones = new CheckBox();
this.chkFloatLayer8Spr = new CheckBox();
this.chkFloatLayer8Marker = new CheckBox();
this.chkShowLayer5 = new CheckBox();
this.menuStrip1.SuspendLayout();
this.statusStrip1.SuspendLayout();
this.leftPanel.SuspendLayout();
((ISupportInitialize)this.miniMapPictureBox).BeginInit();
this.tabControl1.SuspendLayout();
this.tabS32Editor.SuspendLayout();
this.s32EditorPanel.SuspendLayout();
this.s32LayerControlPanel.SuspendLayout();
this.s32MapPanel.SuspendLayout();
((ISupportInitialize)this.pictureBox4).BeginInit();
((ISupportInitialize)this.pictureBox3).BeginInit();
((ISupportInitialize)this.pictureBox2).BeginInit();
((ISupportInitialize)this.pictureBox1).BeginInit();
this.SuspendLayout();
//
// menuStrip1 - 主選單列
//
this.menuStrip1.Items.AddRange(new ToolStripItem[] {
this.menuFile,
this.menuEdit,
this.menuView,
this.menuTools,
this.menuHelp
});
this.menuStrip1.SetLocation(new Point(0, 0));
this.menuStrip1.SetName("menuStrip1");
this.menuStrip1.Size = new Size(1200, 24);
this.menuStrip1.TabIndex = 0;
// ========== 檔案選單 ==========
this.menuFile.SetName("menuFile");
this.menuFile.Text = "檔案(&F)";
this.menuFile.DropDownItems.AddRange(new ToolStripItem[] {
this.openToolStripMenuItem,
new ToolStripSeparator(),
this.importMaterialToolStripMenuItem,
this.importFs32ToNewMapToolStripMenuItem,
new ToolStripSeparator(),
this.menuSaveS32,
this.menuExportFs32,
this.exportToolStripMenuItem,
this.exportCoordSqlToolStripMenuItem,
this.menuExportMapImage,
new ToolStripSeparator(),
this.menuExit
});
this.openToolStripMenuItem.SetName("openToolStripMenuItem");
this.openToolStripMenuItem.Text = "開啟天堂客戶端...";
this.openToolStripMenuItem.ShortcutKeys = Keys.Control | Keys.O;
this.openToolStripMenuItem.Click += new System.EventHandler(this.openToolStripMenuItem_Click);
this.importMaterialToolStripMenuItem.SetName("importMaterialToolStripMenuItem");
this.importMaterialToolStripMenuItem.Text = "匯入素材...";
this.importMaterialToolStripMenuItem.ShortcutKeys = Keys.Control | Keys.I;
this.importMaterialToolStripMenuItem.Click += new System.EventHandler(this.importMaterialToolStripMenuItem_Click);
this.importFs32ToNewMapToolStripMenuItem.SetName("importFs32ToNewMapToolStripMenuItem");
this.importFs32ToNewMapToolStripMenuItem.Text = "匯入地圖包到新地圖...";
this.importFs32ToNewMapToolStripMenuItem.Click += new System.EventHandler(this.importFs32ToNewMapToolStripMenuItem_Click);
this.menuSaveS32.SetName("menuSaveS32");
this.menuSaveS32.Text = "儲存 S32";
this.menuSaveS32.ShortcutKeys = Keys.Control | Keys.S;
this.menuSaveS32.Click += new System.EventHandler(this.btnSaveS32_Click);
this.menuExportFs32.SetName("menuExportFs32");
this.menuExportFs32.Text = "匯出 FS32 地圖包...";
this.menuExportFs32.Click += new System.EventHandler(this.ExportFs32MenuItem_Click);
this.exportToolStripMenuItem.SetName("exportToolStripMenuItem");
this.exportToolStripMenuItem.Text = "匯出通行資料";
this.exportToolStripMenuItem.DropDownItems.AddRange(new ToolStripItem[] {
this.exportL1JToolStripMenuItem,
this.exportDIRToolStripMenuItem,
new ToolStripSeparator(),
this.exportAllL1JToolStripMenuItem,
this.exportAllDIRToolStripMenuItem
});
this.exportL1JToolStripMenuItem.SetName("exportL1JToolStripMenuItem");
this.exportL1JToolStripMenuItem.Text = "L1J 格式";
this.exportL1JToolStripMenuItem.Click += new System.EventHandler(this.exportL1JToolStripMenuItem_Click);
this.exportDIRToolStripMenuItem.SetName("exportDIRToolStripMenuItem");
this.exportDIRToolStripMenuItem.Text = "DIR 格式";
this.exportDIRToolStripMenuItem.Click += new System.EventHandler(this.exportDIRToolStripMenuItem_Click);
this.exportAllL1JToolStripMenuItem.SetName("exportAllL1JToolStripMenuItem");
this.exportAllL1JToolStripMenuItem.Text = "輸出所有地圖 (L1J)";
this.exportAllL1JToolStripMenuItem.Click += new System.EventHandler(this.exportAllL1JToolStripMenuItem_Click);
this.exportAllDIRToolStripMenuItem.SetName("exportAllDIRToolStripMenuItem");
this.exportAllDIRToolStripMenuItem.Text = "輸出所有地圖 (DIR)";
this.exportAllDIRToolStripMenuItem.Click += new System.EventHandler(this.exportAllDIRToolStripMenuItem_Click);
this.exportCoordSqlToolStripMenuItem.SetName("exportCoordSqlToolStripMenuItem");
this.exportCoordSqlToolStripMenuItem.Text = "輸出座標SQL腳本...";
this.exportCoordSqlToolStripMenuItem.Click += new System.EventHandler(this.exportCoordSqlToolStripMenuItem_Click);
this.menuExportMapImage.SetName("menuExportMapImage");
this.menuExportMapImage.Text = "輸出地圖圖片...";
this.menuExportMapImage.Click += new System.EventHandler(this.menuExportMapImage_Click);
this.menuExit.SetName("menuExit");
this.menuExit.Text = "結束";
this.menuExit.Click += (s, e) => this.Close();
// ========== 編輯選單 ==========
this.menuEdit.SetName("menuEdit");
this.menuEdit.Text = "編輯(&E)";
this.menuEdit.DropDownItems.AddRange(new ToolStripItem[] {
this.menuUndo,
this.menuRedo,
new ToolStripSeparator(),
this.menuCopy,
this.menuPaste,
this.menuDelete,
new ToolStripSeparator(),
this.batchDeleteTileToolStripMenuItem,
this.menuBatchReplaceTile
});
this.menuUndo.SetName("menuUndo");
this.menuUndo.Text = "復原";
this.menuUndo.ShortcutKeys = Keys.Control | Keys.Z;
this.menuUndo.Click += new System.EventHandler(this.btnToolUndo_Click);
this.menuRedo.SetName("menuRedo");
this.menuRedo.Text = "重做";
this.menuRedo.ShortcutKeys = Keys.Control | Keys.Y;
this.menuRedo.Click += new System.EventHandler(this.btnToolRedo_Click);
this.menuCopy.SetName("menuCopy");
this.menuCopy.Text = "複製";
this.menuCopy.ShortcutKeys = Keys.Control | Keys.C;
this.menuCopy.Click += new System.EventHandler(this.btnToolCopy_Click);
this.menuPaste.SetName("menuPaste");
this.menuPaste.Text = "貼上";
this.menuPaste.ShortcutKeys = Keys.Control | Keys.V;
this.menuPaste.Click += new System.EventHandler(this.btnToolPaste_Click);
this.menuDelete.SetName("menuDelete");
this.menuDelete.Text = "刪除";
this.menuDelete.ShortcutKeys = Keys.Delete;
this.menuDelete.Click += new System.EventHandler(this.btnToolDelete_Click);
this.batchDeleteTileToolStripMenuItem.SetName("batchDeleteTileToolStripMenuItem");
this.batchDeleteTileToolStripMenuItem.Text = "批次刪除 Tile...";
this.batchDeleteTileToolStripMenuItem.Click += new System.EventHandler(this.batchDeleteTileToolStripMenuItem_Click);
this.menuBatchReplaceTile.SetName("menuBatchReplaceTile");
this.menuBatchReplaceTile.Text = "批次取代 Tile...";
this.menuBatchReplaceTile.Click += new System.EventHandler(this.btnToolReplaceTile_Click);
// ========== 檢視選單 ==========
this.menuView.SetName("menuView");
this.menuView.Text = "檢視(&V)";
this.menuView.DropDownItems.AddRange(new ToolStripItem[] {
this.menuReloadMap,
new ToolStripSeparator(),
this.menuLayers,
this.menuZoom
});
this.menuReloadMap.SetName("menuReloadMap");
this.menuReloadMap.Text = "重新載入地圖";
this.menuReloadMap.ShortcutKeys = Keys.F5;
this.menuReloadMap.Click += new System.EventHandler(this.btnReloadMap_Click);
// 圖層子選單
this.menuLayers.SetName("menuLayers");
this.menuLayers.Text = "圖層";
this.menuLayers.DropDownItems.AddRange(new ToolStripItem[] {
this.menuLayerL1,
this.menuLayerL2,
this.menuLayerL4,
this.menuLayerL5,
this.menuLayerL8,
new ToolStripSeparator(),
this.menuLayerPassable,
this.menuLayerSafe,
this.menuLayerCombat,
new ToolStripSeparator(),
this.menuLayerGrid,
this.menuLayerS32Bound
});
this.menuLayerL1.SetName("menuLayerL1");
this.menuLayerL1.Text = "Layer 1 地板";
this.menuLayerL1.Checked = true;
this.menuLayerL1.Click += (s, e) => { menuLayerL1.Checked = !menuLayerL1.Checked; chkLayer1.Checked = menuLayerL1.Checked; };
this.menuLayerL2.SetName("menuLayerL2");
this.menuLayerL2.Text = "Layer 2 裝飾";
this.menuLayerL2.Checked = true;
this.menuLayerL2.Click += (s, e) => { menuLayerL2.Checked = !menuLayerL2.Checked; chkLayer2.Checked = menuLayerL2.Checked; };
this.menuLayerL4.SetName("menuLayerL4");
this.menuLayerL4.Text = "Layer 4 物件";
this.menuLayerL4.Checked = true;
this.menuLayerL4.Click += (s, e) => { menuLayerL4.Checked = !menuLayerL4.Checked; chkLayer4.Checked = menuLayerL4.Checked; };
this.menuLayerL5.SetName("menuLayerL5");
this.menuLayerL5.Text = "Layer 5 事件";
this.menuLayerL5.Click += (s, e) => { menuLayerL5.Checked = !menuLayerL5.Checked; chkShowLayer5.Checked = menuLayerL5.Checked; };
this.menuLayerL8.SetName("menuLayerL8");
this.menuLayerL8.Text = "Layer 8 SPR";
this.menuLayerL8.Click += (s, e) => { menuLayerL8.Checked = !menuLayerL8.Checked; chkFloatLayer8Spr.Checked = menuLayerL8.Checked; };
this.menuLayerPassable.SetName("menuLayerPassable");
this.menuLayerPassable.Text = "通行性";
this.menuLayerPassable.Click += (s, e) => { menuLayerPassable.Checked = !menuLayerPassable.Checked; chkShowPassable.Checked = menuLayerPassable.Checked; };
this.menuLayerSafe.SetName("menuLayerSafe");
this.menuLayerSafe.Text = "安全區域";
this.menuLayerSafe.Click += (s, e) => { menuLayerSafe.Checked = !menuLayerSafe.Checked; chkFloatSafeZones.Checked = menuLayerSafe.Checked; };
this.menuLayerCombat.SetName("menuLayerCombat");
this.menuLayerCombat.Text = "戰鬥區域";
this.menuLayerCombat.Click += (s, e) => { menuLayerCombat.Checked = !menuLayerCombat.Checked; chkFloatCombatZones.Checked = menuLayerCombat.Checked; };
this.menuLayerGrid.SetName("menuLayerGrid");
this.menuLayerGrid.Text = "格線";
this.menuLayerGrid.Click += (s, e) => { menuLayerGrid.Checked = !menuLayerGrid.Checked; chkShowGrid.Checked = menuLayerGrid.Checked; };
this.menuLayerS32Bound.SetName("menuLayerS32Bound");
this.menuLayerS32Bound.Text = "S32 邊界";
this.menuLayerS32Bound.Click += (s, e) => { menuLayerS32Bound.Checked = !menuLayerS32Bound.Checked; chkShowS32Boundary.Checked = menuLayerS32Bound.Checked; };
// 縮放子選單
this.menuZoom.SetName("menuZoom");
this.menuZoom.Text = "縮放";
this.menuZoom.DropDownItems.AddRange(new ToolStripItem[] {
this.menuZoomIn,
this.menuZoomOut,
this.menuZoom100
});
this.menuZoomIn.SetName("menuZoomIn");
this.menuZoomIn.Text = "放大";
this.menuZoomIn.ShortcutKeys = Keys.Control | Oemplus;
this.menuZoomIn.Click += (s, e) => ZoomIn();
this.menuZoomOut.SetName("menuZoomOut");
this.menuZoomOut.Text = "縮小";
this.menuZoomOut.ShortcutKeys = Keys.Control | OemMinus;
this.menuZoomOut.Click += (s, e) => ZoomOut();
this.menuZoom100.SetName("menuZoom100");
this.menuZoom100.Text = "100%";
this.menuZoom100.ShortcutKeys = Keys.Control | Keys.D0;
this.menuZoom100.Click += (s, e) => ResetZoom();
// ========== 工具選單 ==========
this.menuTools.SetName("menuTools");
this.menuTools.Text = "工具(&T)";
this.menuTools.DropDownItems.AddRange(new ToolStripItem[] {
this.menuPassableEdit,
this.menuRegionEdit,
this.menuLayer5Edit,
new ToolStripSeparator(),
this.menuValidateMap,
new ToolStripSeparator(),
this.menuCleanupTiles
});
this.menuPassableEdit.SetName("menuPassableEdit");
this.menuPassableEdit.Text = "通行編輯模式";
this.menuPassableEdit.Click += new System.EventHandler(this.btnEditPassable_Click);
this.menuRegionEdit.SetName("menuRegionEdit");
this.menuRegionEdit.Text = "區域編輯模式";
this.menuRegionEdit.Click += new System.EventHandler(this.btnRegionEdit_Click);
this.menuLayer5Edit.SetName("menuLayer5Edit");
this.menuLayer5Edit.Text = "透明編輯模式";
this.menuLayer5Edit.Click += new System.EventHandler(this.btnEditLayer5_Click);
this.menuValidateMap.SetName("menuValidateMap");
this.menuValidateMap.Text = "驗證地圖正確性";
this.menuValidateMap.Click += new System.EventHandler(this.btnMapValidate_Click);
this.menuCleanupTiles.SetName("menuCleanupTiles");
this.menuCleanupTiles.Text = "清理未使用的 Tiles...";
this.menuCleanupTiles.ForeColor = Colors.Red;
this.menuCleanupTiles.Click += new System.EventHandler(this.menuCleanupTiles_Click);
// ========== 說明選單 ==========
this.menuHelp.SetName("menuHelp");
this.menuHelp.Text = "說明(&H)";
this.menuHelp.DropDownItems.AddRange(new ToolStripItem[] {
this.discordToolStripMenuItem,
this.sourceCodeToolStripMenuItem,
this.pakViewerToolStripMenuItem,
new ToolStripSeparator(),
this.languageToolStripMenuItem,
new ToolStripSeparator(),
this.menuAbout
});
this.discordToolStripMenuItem.SetName("discordToolStripMenuItem");
this.discordToolStripMenuItem.Text = "到 Discord 討論";
this.discordToolStripMenuItem.Click += new System.EventHandler(this.discordToolStripMenuItem_Click);
this.sourceCodeToolStripMenuItem.SetName("sourceCodeToolStripMenuItem");
this.sourceCodeToolStripMenuItem.Text = "原始碼 (GitHub)";
this.sourceCodeToolStripMenuItem.Click += new System.EventHandler(this.sourceCodeToolStripMenuItem_Click);
this.pakViewerToolStripMenuItem.SetName("pakViewerToolStripMenuItem");
this.pakViewerToolStripMenuItem.Text = "PakViewer (PAK 編輯器)";
this.pakViewerToolStripMenuItem.Click += new System.EventHandler(this.pakViewerToolStripMenuItem_Click);
this.languageToolStripMenuItem.SetName("languageToolStripMenuItem");
this.languageToolStripMenuItem.Text = "Language";
this.languageToolStripMenuItem.DropDownItems.AddRange(new ToolStripItem[] {
this.langZhTWToolStripMenuItem,
this.langJaJPToolStripMenuItem,
this.langKoKRToolStripMenuItem,
this.langEnUSToolStripMenuItem
});
this.langZhTWToolStripMenuItem.SetName("langZhTWToolStripMenuItem");
this.langZhTWToolStripMenuItem.Text = "繁體中文";
this.langZhTWToolStripMenuItem.Tag = "zh-TW";
this.langZhTWToolStripMenuItem.Click += new System.EventHandler(this.LanguageMenuItem_Click);
this.langJaJPToolStripMenuItem.SetName("langJaJPToolStripMenuItem");
this.langJaJPToolStripMenuItem.Text = "日本語";
this.langJaJPToolStripMenuItem.Tag = "ja-JP";
this.langJaJPToolStripMenuItem.Click += new System.EventHandler(this.LanguageMenuItem_Click);
this.langKoKRToolStripMenuItem.SetName("langKoKRToolStripMenuItem");
this.langKoKRToolStripMenuItem.Text = "한국어";
this.langKoKRToolStripMenuItem.Tag = "ko-KR";
this.langKoKRToolStripMenuItem.Click += new System.EventHandler(this.LanguageMenuItem_Click);
this.langEnUSToolStripMenuItem.SetName("langEnUSToolStripMenuItem");
this.langEnUSToolStripMenuItem.Text = "English";
this.langEnUSToolStripMenuItem.Tag = "en-US";
this.langEnUSToolStripMenuItem.Click += new System.EventHandler(this.LanguageMenuItem_Click);
this.menuAbout.SetName("menuAbout");
this.menuAbout.Text = "關於...";
this.menuAbout.Click += (s, e) => MessageBox.Show("L1MapViewer\n天堂地圖編輯器\n\n作者: Flyworld (Tony1223)", "關於");
//
// statusStrip1
//
this.statusStrip1.Items.AddRange(new ToolStripItem[] {
this.toolStripStatusLabel1,
this.toolStripShowAllL8,
new ToolStripSeparator(),
this.toolStripStatusLabel2,
this.toolStripStatusLabel3,
this.toolStripProgressBar1,
new ToolStripSeparator(),
this.toolStripCopyMoveCmd,
new ToolStripSeparator(),
this.toolStripJumpLabel,
this.toolStripJumpTextBox,
this.toolStripJumpButton
});
this.statusStrip1.SetLocation(new Point(0, 678));
this.statusStrip1.SetName("statusStrip1");
this.statusStrip1.Size = new Size(1200, 22);
this.statusStrip1.TabIndex = 1;
//
// toolStripStatusLabel1
//
this.toolStripStatusLabel1.SetName("toolStripStatusLabel1");
this.toolStripStatusLabel1.Size = new Size(300, 17);
this.toolStripStatusLabel1.Text = "點擊獲取座標 | Ctrl+拖拽選擇範圍";
//
// toolStripStatusLabel2
//
this.toolStripStatusLabel2.SetName("toolStripStatusLabel2");
this.toolStripStatusLabel2.Size = new Size(100, 17);
//
// toolStripStatusLabel3
//
this.toolStripStatusLabel3.SetName("toolStripStatusLabel3");
this.toolStripStatusLabel3.Size = new Size(885, 17);
this.toolStripStatusLabel3.Spring = true;
//
// toolStripProgressBar1
//
this.toolStripProgressBar1.SetName("toolStripProgressBar1");
this.toolStripProgressBar1.Size = new Size(100, 16);
this.toolStripProgressBar1.Visible = false;
//
// toolStripJumpLabel
//
this.toolStripJumpLabel.SetName("toolStripJumpLabel");
this.toolStripJumpLabel.Size = new Size(60, 17);
this.toolStripJumpLabel.Text = "跳轉座標:";
//
// toolStripJumpTextBox
//
this.toolStripJumpTextBox.SetName("toolStripJumpTextBox");
this.toolStripJumpTextBox.Size = new Size(100, 22);
this.toolStripJumpTextBox.ToolTipText = "輸入座標 (X,Y) 然後按 Enter 或點擊跳轉";
this.toolStripJumpTextBox.KeyDown += new KeyEventHandler(this.toolStripJumpTextBox_KeyDown);
//
// toolStripJumpButton
//
this.toolStripJumpButton.SetName("toolStripJumpButton");
this.toolStripJumpButton.Size = new Size(35, 20);
this.toolStripJumpButton.Text = "Go";
this.toolStripJumpButton.Click += new System.EventHandler(this.toolStripJumpButton_Click);
//
// toolStripShowAllL8
//
this.toolStripShowAllL8.SetName("toolStripShowAllL8");
this.toolStripShowAllL8.Size = new Size(80, 20);
this.toolStripShowAllL8.Text = LocalizationManager.L("L8_ShowAllL8");
this.toolStripShowAllL8.ToolTipText = LocalizationManager.L("L8_ShowAllL8");
this.toolStripShowAllL8.Click += new System.EventHandler(this.toolStripShowAllL8_Click);
//
// toolStripCopyMoveCmd
//
this.toolStripCopyMoveCmd.SetName("toolStripCopyMoveCmd");
this.toolStripCopyMoveCmd.Size = new Size(120, 20);
this.toolStripCopyMoveCmd.Text = "複製移動指令";
this.toolStripCopyMoveCmd.ToolTipText = "複製 移動 x y 地圖id 指令到剪貼簿";
this.toolStripCopyMoveCmd.Enabled = false;
this.toolStripCopyMoveCmd.Click += new System.EventHandler(this.toolStripCopyMoveCmd_Click);
//
// leftPanel
//
this.leftPanel.BorderStyle = BorderStyle.FixedSingle;
this.leftPanel.GetControls().Add(this.comboBox1);
this.leftPanel.GetControls().Add(this.miniMapPictureBox);
// leftTabControl 在 MapForm.cs 中以 Eto 原生方式建立
this.leftPanel.SetDock(DockStyle.Left);
this.leftPanel.SetLocation(new Point(0, 24));
this.leftPanel.SetName("leftPanel");
this.leftPanel.Size = new Size(280, 654);
this.leftPanel.TabIndex = 2;
//
// comboBox1 (隱藏,保留給介面相容性)
//
this.comboBox1.FormattingEnabled = true;
this.comboBox1.SetLocation(new Point(10, 10));
this.comboBox1.SetName("comboBox1");
this.comboBox1.Size = new Size(260, 23);
this.comboBox1.TabIndex = 0;
this.comboBox1.DropDownStyle = ComboBoxStyle.DropDown;
this.comboBox1.MaxDropDownItems = 20;
this.comboBox1.Visible = false; // 隱藏
this.comboBox1.SelectedIndexChanged += new System.EventHandler(this.comboBox1_SelectedIndexChanged);
this.comboBox1.TextChanged += new System.EventHandler(this.comboBox1_TextChanged);
//
// miniMapPictureBox
//
this.miniMapPictureBox.BackgroundColor = Colors.Black;
this.miniMapPictureBox.BorderStyle = BorderStyle.FixedSingle;
this.miniMapPictureBox.SetLocation(new Point(5, 5));
this.miniMapPictureBox.SetName("miniMapPictureBox");
this.miniMapPictureBox.Size = new Size(268, 268);
this.miniMapPictureBox.SetSizeMode(PictureBoxSizeMode.Normal);
this.miniMapPictureBox.TabIndex = 1;
this.miniMapPictureBox.SetTabStop(true);
this.miniMapPictureBox.Cursor = Cursors.Hand;
this.miniMapPictureBox.MouseDown += new MouseEventHandler(this.miniMapPictureBox_MouseDown);
this.miniMapPictureBox.MouseMove += new MouseEventHandler(this.miniMapPictureBox_MouseMove);
this.miniMapPictureBox.MouseUp += new MouseEventHandler(this.miniMapPictureBox_MouseUp);
this.miniMapPictureBox.MouseClick += new MouseEventHandler(this.miniMapPictureBox_MouseClick);
this.miniMapPictureBox.PreviewKeyDown += new PreviewKeyDownEventHandler(this.miniMapPictureBox_PreviewKeyDown);
this.miniMapPictureBox.KeyDown += new KeyEventHandler(this.miniMapPictureBox_KeyDown);
// leftTabControl, tabMapList, tabS32Files 在 MapForm.cs 中以 Eto 原生方式建立
//
// txtMapSearch
//
this.txtMapSearch.SetLocation(new Point(3, 3));
this.txtMapSearch.SetName("txtMapSearch");
this.txtMapSearch.Size = new Size(254, 23);
this.txtMapSearch.TabIndex = 0;
this.txtMapSearch.PlaceholderText = "搜尋地圖 (ID 或名稱)...";
this.txtMapSearch.TextChanged += new System.EventHandler(this.txtMapSearch_TextChanged);
//
// lstMaps (地圖列表 ListBox)
//
this.lstMaps.SetLocation(new Point(3, 30));
this.lstMaps.SetName("lstMaps");
this.lstMaps.Size = new Size(254, 304);
this.lstMaps.TabIndex = 1;
this.lstMaps.SelectedIndexChanged += new System.EventHandler(this.lstMaps_SelectedIndexChanged);
this.lstMaps.MouseUp += new MouseEventHandler(this.lstMaps_MouseUp);
//
// lblS32Files
//
this.lblS32Files.SetLocation(new Point(3, 3));
this.lblS32Files.SetName("lblS32Files");
this.lblS32Files.Size = new Size(100, 20);
this.lblS32Files.TabIndex = 2;
this.lblS32Files.Text = "S32 檔案清單";
this.lblS32Files.SetTextAlign(ContentAlignment.MiddleLeft);
//
// btnS32SelectAll
//
this.btnS32SelectAll.SetLocation(new Point(150, 3));
this.btnS32SelectAll.SetName("btnS32SelectAll");
this.btnS32SelectAll.Size = new Size(50, 20);
this.btnS32SelectAll.TabIndex = 20;
this.btnS32SelectAll.Text = "全選";
this.btnS32SelectAll.Click += new System.EventHandler(this.btnS32SelectAll_Click);
//
// btnS32SelectNone
//
this.btnS32SelectNone.SetLocation(new Point(205, 3));
this.btnS32SelectNone.SetName("btnS32SelectNone");
this.btnS32SelectNone.Size = new Size(50, 20);
this.btnS32SelectNone.TabIndex = 21;
this.btnS32SelectNone.Text = "全不選";
this.btnS32SelectNone.Click += new System.EventHandler(this.btnS32SelectNone_Click);
//
// lstS32Files
//
this.lstS32Files.SetLocation(new Point(3, 26));
this.lstS32Files.SetName("lstS32Files");
this.lstS32Files.Size = new Size(254, 305);
this.lstS32Files.TabIndex = 3;
this.lstS32Files.CheckOnClick = true;
this.lstS32Files.SelectedIndexChanged += new System.EventHandler(this.lstS32Files_SelectedIndexChanged);
this.lstS32Files.ItemCheck += new ItemCheckEventHandler(this.lstS32Files_ItemCheck);
this.lstS32Files.MouseUp += new MouseEventHandler(this.lstS32Files_MouseUp);
this.lstS32Files.DrawItem += new DrawItemEventHandler(this.lstS32Files_DrawItem);
//
// tabControl1
//
this.tabControl1.GetControls().Add(this.tabS32Editor);
this.tabControl1.SetLocation(new Point(290, 34));
this.tabControl1.SetName("tabControl1");
// Defer SelectedIndex to avoid NSRangeException on macOS native (tabs not yet added to NSTabView)
if (this.tabControl1.Pages.Count > 0)
this.tabControl1.SelectedIndex = 0; // S32 編輯器
this.tabControl1.Size = new Size(710, 640);
this.tabControl1.TabIndex = 3;
//
// tabMapPreview
//
this.tabMapPreview.BackgroundColor = Colors.Black;
this.tabMapPreview.GetControls().Add(this.panel1);
this.tabMapPreview.GetControls().Add(this.vScrollBar1);
this.tabMapPreview.GetControls().Add(this.hScrollBar1);
this.tabMapPreview.SetLocation(new Point(4, 22));
this.tabMapPreview.SetName("tabMapPreview");
this.tabMapPreview.Padding = new Padding(3);
this.tabMapPreview.Size = new Size(702, 614);
this.tabMapPreview.TabIndex = 0;
this.tabMapPreview.Text = "地圖預覽";
//
// tabS32Editor
//