-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathFormLotEditor.cs
More file actions
4937 lines (4741 loc) · 191 KB
/
FormLotEditor.cs
File metadata and controls
4937 lines (4741 loc) · 191 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
// Decompiled with JetBrains decompiler
// Type: SC4Tool.FormLotEditor
// Assembly: SC4Tool, Version=2.2.7.0, Culture=neutral, PublicKeyToken=null
// MVID: 69A50BC4-87A5-4C5E-BEFC-08274BC6D498
// Assembly location: C:\Program Files (x86)\SC4 Utilities\SC4Tool\SC4Tool.exe
using Microsoft.VisualBasic;
using Microsoft.VisualBasic.CompilerServices;
using sr_Resources;
using sr_SC4Lib;
using sr_SourceGrid;
using sr_SourceGrid.BehaviorModels;
using sr_SourceGrid.Cells;
using sr_SourceGrid.Cells.Real;
using sr_SourceGrid.DataModels;
using sr_SourceGrid.VisualModels;
using System;
using System.Collections;
using System.ComponentModel;
using System.Diagnostics;
using System.Drawing;
using System.Resources;
using System.Runtime.CompilerServices;
using System.Windows.Forms;
using TD.Eyefinder;
using TD.SandBar;
using TD.SandDock;
namespace SC4Tool
{
public class FormLotEditor : Form
{
[AccessedThroughProperty("ModusMenuItem2")]
private MenuButtonItem _ModusMenuItem2;
[AccessedThroughProperty("ModusMenuItem1")]
private MenuButtonItem _ModusMenuItem1;
[AccessedThroughProperty("DockControl3")]
private DockControl _DockControl3;
[AccessedThroughProperty("ModusMenu")]
private DropDownMenuItem _ModusMenu;
[AccessedThroughProperty("TransitSwitchGrid")]
private Grid _TransitSwitchGrid;
[AccessedThroughProperty("TransitSwitchButton1")]
private ButtonItem _TransitSwitchButton1;
[AccessedThroughProperty("PictureBox4")]
private PictureBox _PictureBox4;
[AccessedThroughProperty("TreeView1")]
private TreeView _TreeView1;
[AccessedThroughProperty("PictureBox5")]
private PictureBox _PictureBox5;
[AccessedThroughProperty("TransitSwitchToolBar")]
private TD.SandBar.ToolBar _TransitSwitchToolBar;
[AccessedThroughProperty("ToolBar1")]
private TD.SandBar.ToolBar _ToolBar1;
[AccessedThroughProperty("Splitter1")]
private Splitter _Splitter1;
[AccessedThroughProperty("PictureBox6")]
private PictureBox _PictureBox6;
[AccessedThroughProperty("TransitSwitchPanel")]
private Panel _TransitSwitchPanel;
[AccessedThroughProperty("Panel1")]
private Panel _Panel1;
[AccessedThroughProperty("PictureBox7")]
private PictureBox _PictureBox7;
[AccessedThroughProperty("ToolTip1")]
private ToolTip _ToolTip1;
[AccessedThroughProperty("DockControl7")]
private DockControl _DockControl7;
[AccessedThroughProperty("PictureBox8")]
private PictureBox _PictureBox8;
[AccessedThroughProperty("TextureGrid")]
private Grid _TextureGrid;
[AccessedThroughProperty("ButtonShowReps")]
private ButtonItem _ButtonShowReps;
[AccessedThroughProperty("MainToolBar")]
private TD.SandBar.ToolBar _MainToolBar;
[AccessedThroughProperty("T1_Picture_1")]
private PictureBox _T1_Picture_1;
[AccessedThroughProperty("T2_Picture_1")]
private PictureBox _T2_Picture_1;
[AccessedThroughProperty("ButtonDeleteTile")]
private ButtonItem _ButtonDeleteTile;
[AccessedThroughProperty("ButtonSave")]
private ButtonItem _ButtonSave;
[AccessedThroughProperty("T3_Picture_1")]
private PictureBox _T3_Picture_1;
[AccessedThroughProperty("StatusBar1")]
private StatusBar _StatusBar1;
[AccessedThroughProperty("ButtonMinus")]
private ButtonItem _ButtonMinus;
[AccessedThroughProperty("StatusBarPanel1")]
private StatusBarPanel _StatusBarPanel1;
[AccessedThroughProperty("StatusBarPanel2")]
private StatusBarPanel _StatusBarPanel2;
[AccessedThroughProperty("T8_Picture_1")]
private PictureBox _T8_Picture_1;
[AccessedThroughProperty("PictureBox2")]
private PictureBox _PictureBox2;
[AccessedThroughProperty("T7_Picture_1")]
private PictureBox _T7_Picture_1;
[AccessedThroughProperty("ButtonPlus")]
private ButtonItem _ButtonPlus;
[AccessedThroughProperty("PictureBox1")]
private PictureBox _PictureBox1;
[AccessedThroughProperty("T9_Picture_1")]
private PictureBox _T9_Picture_1;
[AccessedThroughProperty("T_Label_3")]
private Label _T_Label_3;
[AccessedThroughProperty("ButtonOpen")]
private ButtonItem _ButtonOpen;
[AccessedThroughProperty("T_Label_1")]
private Label _T_Label_1;
[AccessedThroughProperty("T_Label_2")]
private Label _T_Label_2;
[AccessedThroughProperty("T_Label_7")]
private Label _T_Label_7;
[AccessedThroughProperty("ButtonLeave")]
private ButtonItem _ButtonLeave;
[AccessedThroughProperty("T_Label_8")]
private Label _T_Label_8;
[AccessedThroughProperty("T_Label_9")]
private Label _T_Label_9;
[AccessedThroughProperty("GroupBox1")]
private GroupBox _GroupBox1;
[AccessedThroughProperty("PictureBox11")]
private PictureBox _PictureBox11;
[AccessedThroughProperty("DirButton1")]
private RadioButton _DirButton1;
[AccessedThroughProperty("CheckSouth")]
private System.Windows.Forms.CheckBox _CheckSouth;
[AccessedThroughProperty("StatusBarPanel3")]
private StatusBarPanel _StatusBarPanel3;
[AccessedThroughProperty("CheckWest")]
private System.Windows.Forms.CheckBox _CheckWest;
[AccessedThroughProperty("DirButton2")]
private RadioButton _DirButton2;
[AccessedThroughProperty("T4_Picture_1")]
private PictureBox _T4_Picture_1;
[AccessedThroughProperty("CheckEast")]
private System.Windows.Forms.CheckBox _CheckEast;
[AccessedThroughProperty("mnuContextMenu")]
private System.Windows.Forms.ContextMenu _mnuContextMenu;
[AccessedThroughProperty("RWButton1")]
private RadioButton _RWButton1;
[AccessedThroughProperty("CheckNorth")]
private System.Windows.Forms.CheckBox _CheckNorth;
[AccessedThroughProperty("HeaderControl1")]
private HeaderControl _HeaderControl1;
[AccessedThroughProperty("GroupBox2")]
private GroupBox _GroupBox2;
[AccessedThroughProperty("CommonPanel")]
private Panel _CommonPanel;
[AccessedThroughProperty("GroupBox3")]
private GroupBox _GroupBox3;
[AccessedThroughProperty("GroupBox4")]
private GroupBox _GroupBox4;
[AccessedThroughProperty("GrowthText")]
private TextBox _GrowthText;
[AccessedThroughProperty("T5_Picture_1")]
private PictureBox _T5_Picture_1;
[AccessedThroughProperty("T6_Picture_1")]
private PictureBox _T6_Picture_1;
[AccessedThroughProperty("DockControl1")]
private DockControl _DockControl1;
[AccessedThroughProperty("Label13")]
private Label _Label13;
[AccessedThroughProperty("T_Label_4")]
private Label _T_Label_4;
[AccessedThroughProperty("RWButton3")]
private RadioButton _RWButton3;
[AccessedThroughProperty("DocumentContainer1")]
private DocumentContainer _DocumentContainer1;
[AccessedThroughProperty("T_Label_5")]
private Label _T_Label_5;
[AccessedThroughProperty("T_Label_6")]
private Label _T_Label_6;
[AccessedThroughProperty("TransitPanel")]
private Panel _TransitPanel;
[AccessedThroughProperty("LotMinText")]
private TextBox _LotMinText;
[AccessedThroughProperty("GroupBox5")]
private GroupBox _GroupBox5;
[AccessedThroughProperty("Splitter4")]
private Splitter _Splitter4;
[AccessedThroughProperty("LotPanel")]
private Panel _LotPanel;
[AccessedThroughProperty("Splitter3")]
private Splitter _Splitter3;
[AccessedThroughProperty("RepGrid")]
private Grid _RepGrid;
[AccessedThroughProperty("RepPanel")]
private Panel _RepPanel;
[AccessedThroughProperty("MenuDisplayItem2")]
private MenuButtonItem _MenuDisplayItem2;
[AccessedThroughProperty("RWButton5")]
private RadioButton _RWButton5;
[AccessedThroughProperty("MenuDisplayItem1")]
private MenuButtonItem _MenuDisplayItem1;
[AccessedThroughProperty("ImageList1")]
private ImageList _ImageList1;
[AccessedThroughProperty("MenuDisplay")]
private DropDownMenuItem _MenuDisplay;
[AccessedThroughProperty("LotMaxText")]
private TextBox _LotMaxText;
[AccessedThroughProperty("Label14")]
private Label _Label14;
[AccessedThroughProperty("Label15")]
private Label _Label15;
[AccessedThroughProperty("Graphicgrid1")]
private graphicgrid _Graphicgrid1;
[AccessedThroughProperty("CornerButton3")]
private RadioButton _CornerButton3;
[AccessedThroughProperty("CornerButton2")]
private RadioButton _CornerButton2;
[AccessedThroughProperty("CornerButton1")]
private RadioButton _CornerButton1;
[AccessedThroughProperty("PictureBox3")]
private PictureBox _PictureBox3;
[AccessedThroughProperty("TRPicture3")]
private PictureBox _TRPicture3;
[AccessedThroughProperty("RWButton6")]
private RadioButton _RWButton6;
[AccessedThroughProperty("TRPicture2")]
private PictureBox _TRPicture2;
[AccessedThroughProperty("TRPicture1")]
private PictureBox _TRPicture1;
[AccessedThroughProperty("Label12")]
private Label _Label12;
[AccessedThroughProperty("FoundationText")]
private TextBox _FoundationText;
[AccessedThroughProperty("ErrorProvider1")]
private ErrorProvider _ErrorProvider1;
[AccessedThroughProperty("ThresholdText")]
private TextBox _ThresholdText;
[AccessedThroughProperty("Label11")]
private Label _Label11;
[AccessedThroughProperty("Label10")]
private Label _Label10;
[AccessedThroughProperty("RWButton2")]
private RadioButton _RWButton2;
[AccessedThroughProperty("RWButton4")]
private RadioButton _RWButton4;
private bool ExpertModus;
private bool ShowTransitString;
private ArrayList LotExemplarArray;
private ArrayList BuildingExemplarArray;
private ArrayList LotExemplarInstanceArray;
private ArrayList BuildingExemplarInstanceArray;
private ArrayList LotIndexArray;
private ArrayList ExemplarIndexArray;
private ArrayList NodeArray;
private MainReader.Exemplar LotExemplar;
private MainReader.Exemplar BuildingExemplar;
private string LeseDatei;
private Point AktuellerGridPoint;
private int AktuellerLotIndex;
private int AktuellerTileIndex;
private sr_SourceGrid.VisualModels.Common l_TitleModel;
private sr_SourceGrid.VisualModels.Common l_CenterModel;
private Lot AktuellesLot;
private Lot.LotDefinition myDefs;
private ArrayList ChainTable1;
private ArrayList ChainTable2;
private object ActiveTrafficArt;
private bool hasNotSavedChanges;
private MenuItem mnuItemAdd;
private MenuItem mnuItemDummy;
private MenuItem mnuItemRemove;
private MenuItem mnuItemDummy1;
private MenuItem mnuItemChangeDirection;
private MenuItem mnuItemDummy2;
private MenuItem mnuItemEditTransit;
private IContainer components;
public FormLotEditor()
{
this.Load += new EventHandler(this.FormLotEditor_Load);
this.Closed += new EventHandler(this.FormLotEditor_Closed);
this.ExpertModus = false;
this.ShowTransitString = false;
this.LotExemplarArray = new ArrayList();
this.BuildingExemplarArray = new ArrayList();
this.LotExemplarInstanceArray = new ArrayList();
this.BuildingExemplarInstanceArray = new ArrayList();
this.LotIndexArray = new ArrayList();
this.ExemplarIndexArray = new ArrayList();
this.NodeArray = new ArrayList();
this.AktuellerTileIndex = -1;
this.l_TitleModel = new sr_SourceGrid.VisualModels.Common(false);
this.l_CenterModel = new sr_SourceGrid.VisualModels.Common(false);
this.ChainTable1 = new ArrayList();
this.ChainTable2 = new ArrayList();
this.ActiveTrafficArt = (object) "";
this.hasNotSavedChanges = false;
this.InitializeComponent();
if (ClassThisProg.DefReader.HasReadTextures || ClassThisProg.frmProgress != null)
return;
ClassThisProg.frmProgress = new FormProgress("T");
ClassThisProg.frmProgress.MdiParent = (Form) ClassThisProg.frmMain;
int num = (int) ClassThisProg.frmProgress.ShowDialog();
}
protected override void Dispose(bool disposing)
{
if (disposing && this.components != null)
this.components.Dispose();
base.Dispose(disposing);
ClassThisProg.frmLotEditor = (FormLotEditor) null;
}
internal virtual System.Windows.Forms.ContextMenu mnuContextMenu
{
[MethodImpl(MethodImplOptions.Synchronized)] set
{
if (this._mnuContextMenu == null)
;
this._mnuContextMenu = value;
if (this._mnuContextMenu == null)
;
}
get => this._mnuContextMenu;
}
internal virtual ImageList ImageList1
{
get => this._ImageList1;
[MethodImpl(MethodImplOptions.Synchronized)] set
{
if (this._ImageList1 == null)
;
this._ImageList1 = value;
if (this._ImageList1 == null)
;
}
}
internal virtual StatusBar StatusBar1
{
[MethodImpl(MethodImplOptions.Synchronized)] set
{
if (this._StatusBar1 == null)
;
this._StatusBar1 = value;
if (this._StatusBar1 == null)
;
}
get => this._StatusBar1;
}
internal virtual Panel Panel1
{
get => this._Panel1;
[MethodImpl(MethodImplOptions.Synchronized)] set
{
if (this._Panel1 != null)
this._Panel1.Resize -= new EventHandler(this.Panel1_Resize);
this._Panel1 = value;
if (this._Panel1 == null)
return;
this._Panel1.Resize += new EventHandler(this.Panel1_Resize);
}
}
internal virtual HeaderControl HeaderControl1
{
[MethodImpl(MethodImplOptions.Synchronized)] set
{
if (this._HeaderControl1 == null)
;
this._HeaderControl1 = value;
if (this._HeaderControl1 == null)
;
}
get => this._HeaderControl1;
}
internal virtual DocumentContainer DocumentContainer1
{
[MethodImpl(MethodImplOptions.Synchronized)] set
{
if (this._DocumentContainer1 == null)
;
this._DocumentContainer1 = value;
if (this._DocumentContainer1 == null)
;
}
get => this._DocumentContainer1;
}
internal virtual DockControl DockControl1
{
[MethodImpl(MethodImplOptions.Synchronized)] set
{
if (this._DockControl1 == null)
;
this._DockControl1 = value;
if (this._DockControl1 == null)
;
}
get => this._DockControl1;
}
internal virtual Panel CommonPanel
{
get => this._CommonPanel;
[MethodImpl(MethodImplOptions.Synchronized)] set
{
if (this._CommonPanel == null)
;
this._CommonPanel = value;
if (this._CommonPanel == null)
;
}
}
internal virtual GroupBox GroupBox4
{
[MethodImpl(MethodImplOptions.Synchronized)] set
{
if (this._GroupBox4 == null)
;
this._GroupBox4 = value;
if (this._GroupBox4 == null)
;
}
get => this._GroupBox4;
}
internal virtual TextBox GrowthText
{
get => this._GrowthText;
[MethodImpl(MethodImplOptions.Synchronized)] set
{
if (this._GrowthText != null)
{
this._GrowthText.Validating -= new CancelEventHandler(this.GrowthText_Validating);
this._GrowthText.TextChanged -= new EventHandler(this.GrowthText_TextChanged);
}
this._GrowthText = value;
if (this._GrowthText == null)
return;
this._GrowthText.Validating += new CancelEventHandler(this.GrowthText_Validating);
this._GrowthText.TextChanged += new EventHandler(this.GrowthText_TextChanged);
}
}
internal virtual Label Label13
{
[MethodImpl(MethodImplOptions.Synchronized)] set
{
if (this._Label13 == null)
;
this._Label13 = value;
if (this._Label13 == null)
;
}
get => this._Label13;
}
internal virtual GroupBox GroupBox3
{
get => this._GroupBox3;
[MethodImpl(MethodImplOptions.Synchronized)] set
{
if (this._GroupBox3 == null)
;
this._GroupBox3 = value;
if (this._GroupBox3 == null)
;
}
}
internal virtual TextBox LotMinText
{
get => this._LotMinText;
[MethodImpl(MethodImplOptions.Synchronized)] set
{
if (this._LotMinText != null)
{
this._LotMinText.Validating -= new CancelEventHandler(this.LotMinText_Validating);
this._LotMinText.TextChanged -= new EventHandler(this.LotMinText_TextChanged);
}
this._LotMinText = value;
if (this._LotMinText == null)
return;
this._LotMinText.Validating += new CancelEventHandler(this.LotMinText_Validating);
this._LotMinText.TextChanged += new EventHandler(this.LotMinText_TextChanged);
}
}
internal virtual TextBox LotMaxText
{
get => this._LotMaxText;
[MethodImpl(MethodImplOptions.Synchronized)] set
{
if (this._LotMaxText != null)
{
this._LotMaxText.Validating -= new CancelEventHandler(this.LotMaxText_Validating);
this._LotMaxText.TextChanged -= new EventHandler(this.LotMaxText_TextChanged);
}
this._LotMaxText = value;
if (this._LotMaxText == null)
return;
this._LotMaxText.Validating += new CancelEventHandler(this.LotMaxText_Validating);
this._LotMaxText.TextChanged += new EventHandler(this.LotMaxText_TextChanged);
}
}
internal virtual Label Label14
{
[MethodImpl(MethodImplOptions.Synchronized)] set
{
if (this._Label14 == null)
;
this._Label14 = value;
if (this._Label14 == null)
;
}
get => this._Label14;
}
internal virtual Label Label15
{
get => this._Label15;
[MethodImpl(MethodImplOptions.Synchronized)] set
{
if (this._Label15 == null)
;
this._Label15 = value;
if (this._Label15 == null)
;
}
}
internal virtual GroupBox GroupBox1
{
get => this._GroupBox1;
[MethodImpl(MethodImplOptions.Synchronized)] set
{
if (this._GroupBox1 == null)
;
this._GroupBox1 = value;
if (this._GroupBox1 == null)
;
}
}
internal virtual RadioButton CornerButton3
{
[MethodImpl(MethodImplOptions.Synchronized)] set
{
if (this._CornerButton3 != null)
this._CornerButton3.CheckedChanged -= new EventHandler(this.CornerButton3_CheckedChanged);
this._CornerButton3 = value;
if (this._CornerButton3 == null)
return;
this._CornerButton3.CheckedChanged += new EventHandler(this.CornerButton3_CheckedChanged);
}
get => this._CornerButton3;
}
internal virtual RadioButton CornerButton2
{
get => this._CornerButton2;
[MethodImpl(MethodImplOptions.Synchronized)] set
{
if (this._CornerButton2 != null)
this._CornerButton2.CheckedChanged -= new EventHandler(this.CornerButton2_CheckedChanged);
this._CornerButton2 = value;
if (this._CornerButton2 == null)
return;
this._CornerButton2.CheckedChanged += new EventHandler(this.CornerButton2_CheckedChanged);
}
}
internal virtual RadioButton CornerButton1
{
get => this._CornerButton1;
[MethodImpl(MethodImplOptions.Synchronized)] set
{
if (this._CornerButton1 != null)
this._CornerButton1.CheckedChanged -= new EventHandler(this.CornerButton1_CheckedChanged);
this._CornerButton1 = value;
if (this._CornerButton1 == null)
return;
this._CornerButton1.CheckedChanged += new EventHandler(this.CornerButton1_CheckedChanged);
}
}
internal virtual PictureBox TRPicture3
{
[MethodImpl(MethodImplOptions.Synchronized)] set
{
if (this._TRPicture3 == null)
;
this._TRPicture3 = value;
if (this._TRPicture3 == null)
;
}
get => this._TRPicture3;
}
internal virtual PictureBox TRPicture2
{
get => this._TRPicture2;
[MethodImpl(MethodImplOptions.Synchronized)] set
{
if (this._TRPicture2 == null)
;
this._TRPicture2 = value;
if (this._TRPicture2 == null)
;
}
}
internal virtual PictureBox TRPicture1
{
get => this._TRPicture1;
[MethodImpl(MethodImplOptions.Synchronized)] set
{
if (this._TRPicture1 == null)
;
this._TRPicture1 = value;
if (this._TRPicture1 == null)
;
}
}
internal virtual GroupBox GroupBox2
{
get => this._GroupBox2;
[MethodImpl(MethodImplOptions.Synchronized)] set
{
if (this._GroupBox2 == null)
;
this._GroupBox2 = value;
if (this._GroupBox2 == null)
;
}
}
internal virtual Label Label12
{
get => this._Label12;
[MethodImpl(MethodImplOptions.Synchronized)] set
{
if (this._Label12 == null)
;
this._Label12 = value;
if (this._Label12 == null)
;
}
}
internal virtual TextBox FoundationText
{
get => this._FoundationText;
[MethodImpl(MethodImplOptions.Synchronized)] set
{
if (this._FoundationText != null)
{
this._FoundationText.Validated -= new EventHandler(this.FoundationText_Validated);
this._FoundationText.Validating -= new CancelEventHandler(this.FoundationText_Validating);
this._FoundationText.TextChanged -= new EventHandler(this.FoundationText_TextChanged);
}
this._FoundationText = value;
if (this._FoundationText == null)
return;
this._FoundationText.Validated += new EventHandler(this.FoundationText_Validated);
this._FoundationText.Validating += new CancelEventHandler(this.FoundationText_Validating);
this._FoundationText.TextChanged += new EventHandler(this.FoundationText_TextChanged);
}
}
internal virtual TextBox ThresholdText
{
get => this._ThresholdText;
[MethodImpl(MethodImplOptions.Synchronized)] set
{
if (this._ThresholdText != null)
{
this._ThresholdText.Validating -= new CancelEventHandler(this.ThresholdText_Validating);
this._ThresholdText.TextChanged -= new EventHandler(this.ThresholdText_TextChanged);
}
this._ThresholdText = value;
if (this._ThresholdText == null)
return;
this._ThresholdText.Validating += new CancelEventHandler(this.ThresholdText_Validating);
this._ThresholdText.TextChanged += new EventHandler(this.ThresholdText_TextChanged);
}
}
internal virtual Label Label11
{
get => this._Label11;
[MethodImpl(MethodImplOptions.Synchronized)] set
{
if (this._Label11 == null)
;
this._Label11 = value;
if (this._Label11 == null)
;
}
}
internal virtual Label Label10
{
[MethodImpl(MethodImplOptions.Synchronized)] set
{
if (this._Label10 == null)
;
this._Label10 = value;
if (this._Label10 == null)
;
}
get => this._Label10;
}
internal virtual RadioButton RWButton2
{
get => this._RWButton2;
[MethodImpl(MethodImplOptions.Synchronized)] set
{
if (this._RWButton2 != null)
this._RWButton2.CheckedChanged -= new EventHandler(this.RWButton2_CheckedChanged);
this._RWButton2 = value;
if (this._RWButton2 == null)
return;
this._RWButton2.CheckedChanged += new EventHandler(this.RWButton2_CheckedChanged);
}
}
internal virtual PictureBox PictureBox6
{
get => this._PictureBox6;
[MethodImpl(MethodImplOptions.Synchronized)] set
{
if (this._PictureBox6 == null)
;
this._PictureBox6 = value;
if (this._PictureBox6 == null)
;
}
}
internal virtual RadioButton RWButton4
{
[MethodImpl(MethodImplOptions.Synchronized)] set
{
if (this._RWButton4 != null)
this._RWButton4.CheckedChanged -= new EventHandler(this.RWButton4_CheckedChanged);
this._RWButton4 = value;
if (this._RWButton4 == null)
return;
this._RWButton4.CheckedChanged += new EventHandler(this.RWButton4_CheckedChanged);
}
get => this._RWButton4;
}
internal virtual PictureBox PictureBox5
{
[MethodImpl(MethodImplOptions.Synchronized)] set
{
if (this._PictureBox5 == null)
;
this._PictureBox5 = value;
if (this._PictureBox5 == null)
;
}
get => this._PictureBox5;
}
internal virtual RadioButton RWButton6
{
[MethodImpl(MethodImplOptions.Synchronized)] set
{
if (this._RWButton6 != null)
this._RWButton6.CheckedChanged -= new EventHandler(this.RWButton6_CheckedChanged);
this._RWButton6 = value;
if (this._RWButton6 == null)
return;
this._RWButton6.CheckedChanged += new EventHandler(this.RWButton6_CheckedChanged);
}
get => this._RWButton6;
}
internal virtual PictureBox PictureBox4
{
get => this._PictureBox4;
[MethodImpl(MethodImplOptions.Synchronized)] set
{
if (this._PictureBox4 == null)
;
this._PictureBox4 = value;
if (this._PictureBox4 == null)
;
}
}
internal virtual RadioButton RWButton5
{
get => this._RWButton5;
[MethodImpl(MethodImplOptions.Synchronized)] set
{
if (this._RWButton5 != null)
this._RWButton5.CheckedChanged -= new EventHandler(this.RWButton5_CheckedChanged);
this._RWButton5 = value;
if (this._RWButton5 == null)
return;
this._RWButton5.CheckedChanged += new EventHandler(this.RWButton5_CheckedChanged);
}
}
internal virtual PictureBox PictureBox3
{
get => this._PictureBox3;
[MethodImpl(MethodImplOptions.Synchronized)] set
{
if (this._PictureBox3 == null)
;
this._PictureBox3 = value;
if (this._PictureBox3 == null)
;
}
}
internal virtual RadioButton RWButton3
{
get => this._RWButton3;
[MethodImpl(MethodImplOptions.Synchronized)] set
{
if (this._RWButton3 != null)
this._RWButton3.CheckedChanged -= new EventHandler(this.RWButton3_CheckedChanged);
this._RWButton3 = value;
if (this._RWButton3 == null)
return;
this._RWButton3.CheckedChanged += new EventHandler(this.RWButton3_CheckedChanged);
}
}
internal virtual PictureBox PictureBox2
{
get => this._PictureBox2;
[MethodImpl(MethodImplOptions.Synchronized)] set
{
if (this._PictureBox2 == null)
;
this._PictureBox2 = value;
if (this._PictureBox2 == null)
;
}
}
internal virtual RadioButton RWButton1
{
[MethodImpl(MethodImplOptions.Synchronized)] set
{
if (this._RWButton1 != null)
this._RWButton1.CheckedChanged -= new EventHandler(this.RWButton1_CheckedChanged);
this._RWButton1 = value;
if (this._RWButton1 == null)
return;
this._RWButton1.CheckedChanged += new EventHandler(this.RWButton1_CheckedChanged);
}
get => this._RWButton1;
}
internal virtual PictureBox PictureBox1
{
get => this._PictureBox1;
[MethodImpl(MethodImplOptions.Synchronized)] set
{
if (this._PictureBox1 == null)
;
this._PictureBox1 = value;
if (this._PictureBox1 == null)
;
}
}
internal virtual DockControl DockControl3
{
[MethodImpl(MethodImplOptions.Synchronized)] set
{
if (this._DockControl3 == null)
;
this._DockControl3 = value;
if (this._DockControl3 == null)
;
}
get => this._DockControl3;
}
internal virtual TreeView TreeView1
{
get => this._TreeView1;
[MethodImpl(MethodImplOptions.Synchronized)] set
{
if (this._TreeView1 != null)
this._TreeView1.AfterSelect -= new TreeViewEventHandler(this.TreeView1_AfterSelect);
this._TreeView1 = value;
if (this._TreeView1 == null)
return;
this._TreeView1.AfterSelect += new TreeViewEventHandler(this.TreeView1_AfterSelect);
}
}
internal virtual ButtonItem ButtonLeave
{
[MethodImpl(MethodImplOptions.Synchronized)] set
{
if (this._ButtonLeave != null)
this._ButtonLeave.Activate -= new EventHandler(this.ButtonLeave_Activate);
this._ButtonLeave = value;
if (this._ButtonLeave == null)
return;
this._ButtonLeave.Activate += new EventHandler(this.ButtonLeave_Activate);
}
get => this._ButtonLeave;
}
internal virtual ButtonItem ButtonOpen
{
get => this._ButtonOpen;
[MethodImpl(MethodImplOptions.Synchronized)] set
{
if (this._ButtonOpen != null)
this._ButtonOpen.Activate -= new EventHandler(this.ButtonOpen_Activate);
this._ButtonOpen = value;
if (this._ButtonOpen == null)
return;
this._ButtonOpen.Activate += new EventHandler(this.ButtonOpen_Activate);
}
}
internal virtual ButtonItem ButtonSave
{
get => this._ButtonSave;
[MethodImpl(MethodImplOptions.Synchronized)] set
{
if (this._ButtonSave != null)
this._ButtonSave.Activate -= new EventHandler(this.ButtonSave_Activate);
this._ButtonSave = value;
if (this._ButtonSave == null)
return;
this._ButtonSave.Activate += new EventHandler(this.ButtonSave_Activate);
}
}
internal virtual ButtonItem ButtonPlus
{
get => this._ButtonPlus;
[MethodImpl(MethodImplOptions.Synchronized)] set
{
if (this._ButtonPlus != null)
this._ButtonPlus.Activate -= new EventHandler(this.ButtonPlus_Activate);
this._ButtonPlus = value;
if (this._ButtonPlus == null)
return;
this._ButtonPlus.Activate += new EventHandler(this.ButtonPlus_Activate);
}
}
internal virtual ButtonItem ButtonMinus
{
get => this._ButtonMinus;
[MethodImpl(MethodImplOptions.Synchronized)] set
{
if (this._ButtonMinus != null)
this._ButtonMinus.Activate -= new EventHandler(this.ButtonMinus_Activate);
this._ButtonMinus = value;
if (this._ButtonMinus == null)
return;
this._ButtonMinus.Activate += new EventHandler(this.ButtonMinus_Activate);
}
}
internal virtual ButtonItem ButtonDeleteTile
{
[MethodImpl(MethodImplOptions.Synchronized)] set
{
if (this._ButtonDeleteTile != null)
this._ButtonDeleteTile.Activate -= new EventHandler(this.ButtonDeleteTile_Activate);
this._ButtonDeleteTile = value;
if (this._ButtonDeleteTile == null)
return;
this._ButtonDeleteTile.Activate += new EventHandler(this.ButtonDeleteTile_Activate);
}
get => this._ButtonDeleteTile;
}
internal virtual TD.SandBar.ToolBar MainToolBar
{
[MethodImpl(MethodImplOptions.Synchronized)] set
{
if (this._MainToolBar == null)
;
this._MainToolBar = value;
if (this._MainToolBar == null)
;