-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathDriverClass.cs
1921 lines (1836 loc) · 74.4 KB
/
DriverClass.cs
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: TransmissionLine.DriverClass
// Assembly: TransmissionLine, Version=3.6.3.5, Culture=neutral, PublicKeyToken=null
// MVID: 92E11920-ED50-4C1F-99A1-3CFB7DCC3364
// Assembly location: C:\Users\Home\AppData\Local\Apps\2.0\477AE5HX.86E\PEE3MCH4.84B\tran..tion_127a55d62cc03faa_0003.0006_03fd5c6fef0309f2\TransmissionLine.exe
using Microsoft.VisualBasic;
using Microsoft.VisualBasic.CompilerServices;
using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Diagnostics;
using System.Drawing;
using System.Globalization;
using System.IO;
using System.Runtime.CompilerServices;
using System.Security;
using System.Windows.Forms;
using TransmissionLine.My;
namespace TransmissionLine
{
[DesignerGenerated]
public class DriverClass : Form
{
private static List<WeakReference> __ENCList = new List<WeakReference>();
private IContainer components;
[AccessedThroughProperty("GroupBox1")]
private GroupBox _GroupBox1;
[AccessedThroughProperty("LvcBox")]
private TextBox _LvcBox;
[AccessedThroughProperty("Label8")]
private Label _Label8;
[AccessedThroughProperty("SdBox")]
private TextBox _SdBox;
[AccessedThroughProperty("BlBox")]
private TextBox _BlBox;
[AccessedThroughProperty("Label9")]
private Label _Label9;
[AccessedThroughProperty("MmsBox")]
private TextBox _MmsBox;
[AccessedThroughProperty("Label7")]
private Label _Label7;
[AccessedThroughProperty("QesBox")]
private TextBox _QesBox;
[AccessedThroughProperty("CmsBox")]
private TextBox _CmsBox;
[AccessedThroughProperty("Label10")]
private Label _Label10;
[AccessedThroughProperty("Label3")]
private Label _Label3;
[AccessedThroughProperty("Label11")]
private Label _Label11;
[AccessedThroughProperty("QmsBox")]
private TextBox _QmsBox;
[AccessedThroughProperty("Label5")]
private Label _Label5;
[AccessedThroughProperty("Label4")]
private Label _Label4;
[AccessedThroughProperty("ReBox")]
private TextBox _ReBox;
[AccessedThroughProperty("UpdateButton")]
private Button _UpdateButton;
[AccessedThroughProperty("QtsBox")]
private TextBox _QtsBox;
[AccessedThroughProperty("Label1")]
private Label _Label1;
[AccessedThroughProperty("VasBox")]
private TextBox _VasBox;
[AccessedThroughProperty("FsBox")]
private TextBox _FsBox;
[AccessedThroughProperty("Label2")]
private Label _Label2;
[AccessedThroughProperty("Label6")]
private Label _Label6;
[AccessedThroughProperty("ToolTip1")]
private ToolTip _ToolTip1;
[AccessedThroughProperty("IsobaricBox")]
private CheckBox _IsobaricBox;
[AccessedThroughProperty("RmsBox")]
private TextBox _RmsBox;
[AccessedThroughProperty("Label12")]
private Label _Label12;
[AccessedThroughProperty("IsobaricParallelBox")]
private RadioButton _IsobaricParallelBox;
[AccessedThroughProperty("IsobaricSeriesBox")]
private RadioButton _IsobaricSeriesBox;
[AccessedThroughProperty("GroupBox2")]
private GroupBox _GroupBox2;
[AccessedThroughProperty("DriverLibListbox")]
private ListBox _DriverLibListbox;
[AccessedThroughProperty("DriverTitleBox")]
private TextBox _DriverTitleBox;
[AccessedThroughProperty("DriverLibraryGroup")]
private GroupBox _DriverLibraryGroup;
[AccessedThroughProperty("SaveAsButton")]
private Button _SaveAsButton;
[AccessedThroughProperty("SaveButton")]
private Button _SaveButton;
[AccessedThroughProperty("Label23")]
private Label _Label23;
[AccessedThroughProperty("VasUnitLabel")]
private Label _VasUnitLabel;
[AccessedThroughProperty("FsUnitLabel")]
private Label _FsUnitLabel;
[AccessedThroughProperty("Label20")]
private Label _Label20;
[AccessedThroughProperty("Label19")]
private Label _Label19;
[AccessedThroughProperty("MmsUnitLabel")]
private Label _MmsUnitLabel;
[AccessedThroughProperty("Label17")]
private Label _Label17;
[AccessedThroughProperty("LvcUnitLabel")]
private Label _LvcUnitLabel;
[AccessedThroughProperty("SdUnitLabel")]
private Label _SdUnitLabel;
private bool FormShown;
private int LvcUnit;
private int FsUnit;
private int SdUnit;
private int VasUnit;
private int MmsUnit;
private DriverParameters[] DriverLibrary;
private DriverParameters DriverParameterEdit;
private DriverSetup DriverSetupParameterEdit;
private SettingsParameters SettingsParameterEdit;
[DebuggerNonUserCode]
static DriverClass()
{
}
[DebuggerNonUserCode]
private static void __ENCAddToList(object value)
{
lock (DriverClass.__ENCList)
{
if (DriverClass.__ENCList.Count == DriverClass.__ENCList.Capacity)
{
int index1 = 0;
int num = checked (DriverClass.__ENCList.Count - 1);
int index2 = 0;
while (index2 <= num)
{
if (DriverClass.__ENCList[index2].IsAlive)
{
if (index2 != index1)
DriverClass.__ENCList[index1] = DriverClass.__ENCList[index2];
checked { ++index1; }
}
checked { ++index2; }
}
DriverClass.__ENCList.RemoveRange(index1, checked (DriverClass.__ENCList.Count - index1));
DriverClass.__ENCList.Capacity = DriverClass.__ENCList.Count;
}
DriverClass.__ENCList.Add(new WeakReference(RuntimeHelpers.GetObjectValue(value)));
}
}
[DebuggerNonUserCode]
protected override void Dispose(bool disposing)
{
try
{
if (!disposing || this.components == null)
return;
this.components.Dispose();
}
finally
{
base.Dispose(disposing);
}
}
[DebuggerStepThrough]
private void InitializeComponent()
{
this.components = (IContainer) new System.ComponentModel.Container();
this.GroupBox1 = new GroupBox();
this.DriverTitleBox = new TextBox();
this.RmsBox = new TextBox();
this.VasBox = new TextBox();
this.FsBox = new TextBox();
this.QtsBox = new TextBox();
this.LvcBox = new TextBox();
this.Label8 = new Label();
this.SdBox = new TextBox();
this.BlBox = new TextBox();
this.Label23 = new Label();
this.Label9 = new Label();
this.MmsBox = new TextBox();
this.VasUnitLabel = new Label();
this.Label6 = new Label();
this.FsUnitLabel = new Label();
this.Label2 = new Label();
this.Label20 = new Label();
this.Label7 = new Label();
this.QesBox = new TextBox();
this.CmsBox = new TextBox();
this.Label19 = new Label();
this.Label12 = new Label();
this.MmsUnitLabel = new Label();
this.Label10 = new Label();
this.Label17 = new Label();
this.LvcUnitLabel = new Label();
this.Label3 = new Label();
this.Label11 = new Label();
this.QmsBox = new TextBox();
this.Label1 = new Label();
this.SdUnitLabel = new Label();
this.Label5 = new Label();
this.Label4 = new Label();
this.ReBox = new TextBox();
this.IsobaricBox = new CheckBox();
this.UpdateButton = new Button();
this.ToolTip1 = new ToolTip(this.components);
this.IsobaricSeriesBox = new RadioButton();
this.IsobaricParallelBox = new RadioButton();
this.GroupBox2 = new GroupBox();
this.DriverLibListbox = new ListBox();
this.DriverLibraryGroup = new GroupBox();
this.SaveAsButton = new Button();
this.SaveButton = new Button();
this.GroupBox1.SuspendLayout();
this.GroupBox2.SuspendLayout();
this.DriverLibraryGroup.SuspendLayout();
this.SuspendLayout();
this.GroupBox1.Controls.Add((Control) this.DriverTitleBox);
this.GroupBox1.Controls.Add((Control) this.RmsBox);
this.GroupBox1.Controls.Add((Control) this.VasBox);
this.GroupBox1.Controls.Add((Control) this.FsBox);
this.GroupBox1.Controls.Add((Control) this.QtsBox);
this.GroupBox1.Controls.Add((Control) this.LvcBox);
this.GroupBox1.Controls.Add((Control) this.Label8);
this.GroupBox1.Controls.Add((Control) this.SdBox);
this.GroupBox1.Controls.Add((Control) this.BlBox);
this.GroupBox1.Controls.Add((Control) this.Label23);
this.GroupBox1.Controls.Add((Control) this.Label9);
this.GroupBox1.Controls.Add((Control) this.MmsBox);
this.GroupBox1.Controls.Add((Control) this.VasUnitLabel);
this.GroupBox1.Controls.Add((Control) this.Label6);
this.GroupBox1.Controls.Add((Control) this.FsUnitLabel);
this.GroupBox1.Controls.Add((Control) this.Label2);
this.GroupBox1.Controls.Add((Control) this.Label20);
this.GroupBox1.Controls.Add((Control) this.Label7);
this.GroupBox1.Controls.Add((Control) this.QesBox);
this.GroupBox1.Controls.Add((Control) this.CmsBox);
this.GroupBox1.Controls.Add((Control) this.Label19);
this.GroupBox1.Controls.Add((Control) this.Label12);
this.GroupBox1.Controls.Add((Control) this.MmsUnitLabel);
this.GroupBox1.Controls.Add((Control) this.Label10);
this.GroupBox1.Controls.Add((Control) this.Label17);
this.GroupBox1.Controls.Add((Control) this.LvcUnitLabel);
this.GroupBox1.Controls.Add((Control) this.Label3);
this.GroupBox1.Controls.Add((Control) this.Label11);
this.GroupBox1.Controls.Add((Control) this.QmsBox);
this.GroupBox1.Controls.Add((Control) this.Label1);
this.GroupBox1.Controls.Add((Control) this.SdUnitLabel);
this.GroupBox1.Controls.Add((Control) this.Label5);
this.GroupBox1.Controls.Add((Control) this.Label4);
this.GroupBox1.Controls.Add((Control) this.ReBox);
GroupBox groupBox1_1 = this.GroupBox1;
Point point1 = new Point(12, 12);
Point point2 = point1;
groupBox1_1.Location = point2;
this.GroupBox1.Name = "GroupBox1";
GroupBox groupBox1_2 = this.GroupBox1;
Size size1 = new Size(147, 362);
Size size2 = size1;
groupBox1_2.Size = size2;
this.GroupBox1.TabIndex = 11;
this.GroupBox1.TabStop = false;
this.GroupBox1.Text = "Driver Parameters";
TextBox driverTitleBox1 = this.DriverTitleBox;
point1 = new Point(4, 19);
Point point3 = point1;
driverTitleBox1.Location = point3;
this.DriverTitleBox.Name = "DriverTitleBox";
TextBox driverTitleBox2 = this.DriverTitleBox;
size1 = new Size(126, 20);
Size size3 = size1;
driverTitleBox2.Size = size3;
this.DriverTitleBox.TabIndex = 0;
this.DriverTitleBox.Text = "0";
TextBox rmsBox1 = this.RmsBox;
point1 = new Point(39, 334);
Point point4 = point1;
rmsBox1.Location = point4;
this.RmsBox.Name = "RmsBox";
this.RmsBox.ReadOnly = true;
TextBox rmsBox2 = this.RmsBox;
size1 = new Size(56, 20);
Size size4 = size1;
rmsBox2.Size = size4;
this.RmsBox.TabIndex = 12;
this.RmsBox.Text = "0";
this.ToolTip1.SetToolTip((Control) this.RmsBox, "Mechanical resistance of the driver's moving parts");
TextBox vasBox1 = this.VasBox;
point1 = new Point(39, 308);
Point point5 = point1;
vasBox1.Location = point5;
this.VasBox.Name = "VasBox";
TextBox vasBox2 = this.VasBox;
size1 = new Size(56, 20);
Size size5 = size1;
vasBox2.Size = size5;
this.VasBox.TabIndex = 11;
this.VasBox.Text = "0";
this.ToolTip1.SetToolTip((Control) this.VasBox, "Volume of air having the same stiffness as the driver's suspension.");
TextBox fsBox1 = this.FsBox;
point1 = new Point(39, 281);
Point point6 = point1;
fsBox1.Location = point6;
this.FsBox.Name = "FsBox";
TextBox fsBox2 = this.FsBox;
size1 = new Size(56, 20);
Size size6 = size1;
fsBox2.Size = size6;
this.FsBox.TabIndex = 10;
this.FsBox.Text = "0";
this.ToolTip1.SetToolTip((Control) this.FsBox, "Driver resonant frequency.");
TextBox qtsBox1 = this.QtsBox;
point1 = new Point(39, 149);
Point point7 = point1;
qtsBox1.Location = point7;
this.QtsBox.Name = "QtsBox";
this.QtsBox.ReadOnly = true;
TextBox qtsBox2 = this.QtsBox;
size1 = new Size(56, 20);
Size size7 = size1;
qtsBox2.Size = size7;
this.QtsBox.TabIndex = 5;
this.QtsBox.Text = "0";
this.ToolTip1.SetToolTip((Control) this.QtsBox, "Unitless measurement, describing the combined electric and mechanical damping");
TextBox lvcBox1 = this.LvcBox;
point1 = new Point(38, 228);
Point point8 = point1;
lvcBox1.Location = point8;
this.LvcBox.Name = "LvcBox";
TextBox lvcBox2 = this.LvcBox;
size1 = new Size(57, 20);
Size size8 = size1;
lvcBox2.Size = size8;
this.LvcBox.TabIndex = 8;
this.LvcBox.Text = "0";
this.ToolTip1.SetToolTip((Control) this.LvcBox, "Voice coil inductance");
this.Label8.AutoSize = true;
this.Label8.Font = new Font("Calibri", 8.25f, FontStyle.Regular, GraphicsUnit.Point, (byte) 0);
Label label8_1 = this.Label8;
point1 = new Point(6, 126);
Point point9 = point1;
label8_1.Location = point9;
this.Label8.Name = "Label8";
Label label8_2 = this.Label8;
size1 = new Size(28, 13);
Size size9 = size1;
label8_2.Size = size9;
this.Label8.TabIndex = 3;
this.Label8.Text = "Qms";
TextBox sdBox1 = this.SdBox;
point1 = new Point(38, 71);
Point point10 = point1;
sdBox1.Location = point10;
this.SdBox.Name = "SdBox";
TextBox sdBox2 = this.SdBox;
size1 = new Size(57, 20);
Size size10 = size1;
sdBox2.Size = size10;
this.SdBox.TabIndex = 2;
this.SdBox.Text = "0";
this.ToolTip1.SetToolTip((Control) this.SdBox, "Projected area of the driver diaphragm.");
TextBox blBox1 = this.BlBox;
point1 = new Point(38, 45);
Point point11 = point1;
blBox1.Location = point11;
this.BlBox.Name = "BlBox";
this.BlBox.ReadOnly = true;
TextBox blBox2 = this.BlBox;
size1 = new Size(57, 20);
Size size11 = size1;
blBox2.Size = size11;
this.BlBox.TabIndex = 1;
this.BlBox.Text = "0";
this.ToolTip1.SetToolTip((Control) this.BlBox, "Force Factor:\r\nProduct of the magnet field strength in the voice coil gap\r\n and the length of wire in the magnetic field.");
this.Label23.AutoSize = true;
this.Label23.Font = new Font("Calibri", 8.25f, FontStyle.Regular, GraphicsUnit.Point, (byte) 0);
Label label23_1 = this.Label23;
point1 = new Point(101, 178);
Point point12 = point1;
label23_1.Location = point12;
this.Label23.Name = "Label23";
Label label23_2 = this.Label23;
size1 = new Size(27, 13);
Size size12 = size1;
label23_2.Size = size12;
this.Label23.TabIndex = 3;
this.Label23.Text = "m/N";
this.Label9.AutoSize = true;
this.Label9.Font = new Font("Calibri", 8.25f, FontStyle.Regular, GraphicsUnit.Point, (byte) 0);
Label label9_1 = this.Label9;
point1 = new Point(6, 178);
Point point13 = point1;
label9_1.Location = point13;
this.Label9.Name = "Label9";
Label label9_2 = this.Label9;
size1 = new Size(27, 13);
Size size13 = size1;
label9_2.Size = size13;
this.Label9.TabIndex = 3;
this.Label9.Text = "Cms";
TextBox mmsBox1 = this.MmsBox;
point1 = new Point(38, 201);
Point point14 = point1;
mmsBox1.Location = point14;
this.MmsBox.Name = "MmsBox";
this.MmsBox.ReadOnly = true;
TextBox mmsBox2 = this.MmsBox;
size1 = new Size(57, 20);
Size size14 = size1;
mmsBox2.Size = size14;
this.MmsBox.TabIndex = 7;
this.MmsBox.Text = "0";
this.ToolTip1.SetToolTip((Control) this.MmsBox, "Mechanical mass of the driver's moving parts");
this.VasUnitLabel.AutoSize = true;
this.VasUnitLabel.Font = new Font("Calibri", 8.25f, FontStyle.Regular, GraphicsUnit.Point, (byte) 0);
Label vasUnitLabel1 = this.VasUnitLabel;
point1 = new Point(101, 312);
Point point15 = point1;
vasUnitLabel1.Location = point15;
this.VasUnitLabel.Name = "VasUnitLabel";
Label vasUnitLabel2 = this.VasUnitLabel;
size1 = new Size(20, 13);
Size size15 = size1;
vasUnitLabel2.Size = size15;
this.VasUnitLabel.TabIndex = 3;
this.VasUnitLabel.Text = "m\u00B3";
this.Label6.AutoSize = true;
this.Label6.Font = new Font("Calibri", 8.25f, FontStyle.Regular, GraphicsUnit.Point, (byte) 0);
Label label6_1 = this.Label6;
point1 = new Point(6, 312);
Point point16 = point1;
label6_1.Location = point16;
this.Label6.Name = "Label6";
Label label6_2 = this.Label6;
size1 = new Size(23, 13);
Size size16 = size1;
label6_2.Size = size16;
this.Label6.TabIndex = 3;
this.Label6.Text = "Vas";
this.FsUnitLabel.AutoSize = true;
this.FsUnitLabel.Font = new Font("Calibri", 8.25f, FontStyle.Regular, GraphicsUnit.Point, (byte) 0);
Label fsUnitLabel1 = this.FsUnitLabel;
point1 = new Point(101, 285);
Point point17 = point1;
fsUnitLabel1.Location = point17;
this.FsUnitLabel.Name = "FsUnitLabel";
Label fsUnitLabel2 = this.FsUnitLabel;
size1 = new Size(18, 13);
Size size17 = size1;
fsUnitLabel2.Size = size17;
this.FsUnitLabel.TabIndex = 3;
this.FsUnitLabel.Text = "Hz";
this.Label2.AutoSize = true;
this.Label2.Font = new Font("Calibri", 8.25f, FontStyle.Regular, GraphicsUnit.Point, (byte) 0);
Label label2_1 = this.Label2;
point1 = new Point(6, 285);
Point point18 = point1;
label2_1.Location = point18;
this.Label2.Name = "Label2";
Label label2_2 = this.Label2;
size1 = new Size(17, 13);
Size size18 = size1;
label2_2.Size = size18;
this.Label2.TabIndex = 3;
this.Label2.Text = "Fs";
this.Label20.AutoSize = true;
this.Label20.Font = new Font("Calibri", 8.25f, FontStyle.Regular, GraphicsUnit.Point, (byte) 0);
Label label20_1 = this.Label20;
point1 = new Point(101, 257);
Point point19 = point1;
label20_1.Location = point19;
this.Label20.Name = "Label20";
Label label20_2 = this.Label20;
size1 = new Size(14, 13);
Size size19 = size1;
label20_2.Size = size19;
this.Label20.TabIndex = 3;
this.Label20.Text = "Ω";
this.Label7.AutoSize = true;
this.Label7.Font = new Font("Calibri", 8.25f, FontStyle.Regular, GraphicsUnit.Point, (byte) 0);
Label label7_1 = this.Label7;
point1 = new Point(6, 257);
Point point20 = point1;
label7_1.Location = point20;
this.Label7.Name = "Label7";
Label label7_2 = this.Label7;
size1 = new Size(19, 13);
Size size20 = size1;
label7_2.Size = size20;
this.Label7.TabIndex = 3;
this.Label7.Text = "Re";
TextBox qesBox1 = this.QesBox;
point1 = new Point(38, 97);
Point point21 = point1;
qesBox1.Location = point21;
this.QesBox.Name = "QesBox";
TextBox qesBox2 = this.QesBox;
size1 = new Size(57, 20);
Size size21 = size1;
qesBox2.Size = size21;
this.QesBox.TabIndex = 3;
this.QesBox.Text = "0";
this.ToolTip1.SetToolTip((Control) this.QesBox, "Unitless measurement, describing electrical damping");
TextBox cmsBox1 = this.CmsBox;
point1 = new Point(38, 175);
Point point22 = point1;
cmsBox1.Location = point22;
this.CmsBox.Name = "CmsBox";
this.CmsBox.ReadOnly = true;
TextBox cmsBox2 = this.CmsBox;
size1 = new Size(57, 20);
Size size22 = size1;
cmsBox2.Size = size22;
this.CmsBox.TabIndex = 6;
this.CmsBox.Text = "0";
this.ToolTip1.SetToolTip((Control) this.CmsBox, "Mechanical compliance of the driver suspension.");
this.Label19.AutoSize = true;
this.Label19.Font = new Font("Calibri", 8.25f, FontStyle.Regular, GraphicsUnit.Point, (byte) 0);
Label label19_1 = this.Label19;
point1 = new Point(101, 338);
Point point23 = point1;
label19_1.Location = point23;
this.Label19.Name = "Label19";
Label label19_2 = this.Label19;
size1 = new Size(35, 13);
Size size23 = size1;
label19_2.Size = size23;
this.Label19.TabIndex = 3;
this.Label19.Text = "N.s/m";
this.Label12.AutoSize = true;
this.Label12.Font = new Font("Calibri", 8.25f, FontStyle.Regular, GraphicsUnit.Point, (byte) 0);
Label label12_1 = this.Label12;
point1 = new Point(6, 338);
Point point24 = point1;
label12_1.Location = point24;
this.Label12.Name = "Label12";
Label label12_2 = this.Label12;
size1 = new Size(27, 13);
Size size24 = size1;
label12_2.Size = size24;
this.Label12.TabIndex = 3;
this.Label12.Text = "Rms";
this.MmsUnitLabel.AutoSize = true;
this.MmsUnitLabel.Font = new Font("Calibri", 8.25f, FontStyle.Regular, GraphicsUnit.Point, (byte) 0);
Label mmsUnitLabel1 = this.MmsUnitLabel;
point1 = new Point(101, 204);
Point point25 = point1;
mmsUnitLabel1.Location = point25;
this.MmsUnitLabel.Name = "MmsUnitLabel";
Label mmsUnitLabel2 = this.MmsUnitLabel;
size1 = new Size(17, 13);
Size size25 = size1;
mmsUnitLabel2.Size = size25;
this.MmsUnitLabel.TabIndex = 3;
this.MmsUnitLabel.Text = "kg";
this.Label10.AutoSize = true;
this.Label10.Font = new Font("Calibri", 8.25f, FontStyle.Regular, GraphicsUnit.Point, (byte) 0);
Label label10_1 = this.Label10;
point1 = new Point(6, 204);
Point point26 = point1;
label10_1.Location = point26;
this.Label10.Name = "Label10";
Label label10_2 = this.Label10;
size1 = new Size(30, 13);
Size size26 = size1;
label10_2.Size = size26;
this.Label10.TabIndex = 3;
this.Label10.Text = "Mms";
this.Label17.AutoSize = true;
this.Label17.Font = new Font("Calibri", 8.25f, FontStyle.Regular, GraphicsUnit.Point, (byte) 0);
Label label17_1 = this.Label17;
point1 = new Point(101, 52);
Point point27 = point1;
label17_1.Location = point27;
this.Label17.Name = "Label17";
Label label17_2 = this.Label17;
size1 = new Size(23, 13);
Size size27 = size1;
label17_2.Size = size27;
this.Label17.TabIndex = 3;
this.Label17.Text = "T.m";
this.LvcUnitLabel.AutoSize = true;
this.LvcUnitLabel.Font = new Font("Calibri", 8.25f, FontStyle.Regular, GraphicsUnit.Point, (byte) 0);
Label lvcUnitLabel1 = this.LvcUnitLabel;
point1 = new Point(101, 231);
Point point28 = point1;
lvcUnitLabel1.Location = point28;
this.LvcUnitLabel.Name = "LvcUnitLabel";
Label lvcUnitLabel2 = this.LvcUnitLabel;
size1 = new Size(14, 13);
Size size28 = size1;
lvcUnitLabel2.Size = size28;
this.LvcUnitLabel.TabIndex = 3;
this.LvcUnitLabel.Text = "H";
this.Label3.AutoSize = true;
this.Label3.Font = new Font("Calibri", 8.25f, FontStyle.Regular, GraphicsUnit.Point, (byte) 0);
Label label3_1 = this.Label3;
point1 = new Point(6, 52);
Point point29 = point1;
label3_1.Location = point29;
this.Label3.Name = "Label3";
Label label3_2 = this.Label3;
size1 = new Size(16, 13);
Size size29 = size1;
label3_2.Size = size29;
this.Label3.TabIndex = 3;
this.Label3.Text = "Bl";
this.Label11.AutoSize = true;
this.Label11.Font = new Font("Calibri", 8.25f, FontStyle.Regular, GraphicsUnit.Point, (byte) 0);
Label label11_1 = this.Label11;
point1 = new Point(6, 231);
Point point30 = point1;
label11_1.Location = point30;
this.Label11.Name = "Label11";
Label label11_2 = this.Label11;
size1 = new Size(22, 13);
Size size30 = size1;
label11_2.Size = size30;
this.Label11.TabIndex = 3;
this.Label11.Text = "Lvc";
TextBox qmsBox1 = this.QmsBox;
point1 = new Point(38, 123);
Point point31 = point1;
qmsBox1.Location = point31;
this.QmsBox.Name = "QmsBox";
TextBox qmsBox2 = this.QmsBox;
size1 = new Size(57, 20);
Size size31 = size1;
qmsBox2.Size = size31;
this.QmsBox.TabIndex = 4;
this.QmsBox.Text = "0";
this.ToolTip1.SetToolTip((Control) this.QmsBox, "Unitless measurement, describing mechanical damping");
this.Label1.AutoSize = true;
this.Label1.Font = new Font("Calibri", 8.25f, FontStyle.Regular, GraphicsUnit.Point, (byte) 0);
Label label1_1 = this.Label1;
point1 = new Point(6, 153);
Point point32 = point1;
label1_1.Location = point32;
this.Label1.Name = "Label1";
Label label1_2 = this.Label1;
size1 = new Size(23, 13);
Size size32 = size1;
label1_2.Size = size32;
this.Label1.TabIndex = 3;
this.Label1.Text = "Qts";
this.SdUnitLabel.AutoSize = true;
this.SdUnitLabel.Font = new Font("Calibri", 8.25f, FontStyle.Regular, GraphicsUnit.Point, (byte) 0);
Label sdUnitLabel1 = this.SdUnitLabel;
point1 = new Point(101, 74);
Point point33 = point1;
sdUnitLabel1.Location = point33;
this.SdUnitLabel.Name = "SdUnitLabel";
Label sdUnitLabel2 = this.SdUnitLabel;
size1 = new Size(20, 13);
Size size33 = size1;
sdUnitLabel2.Size = size33;
this.SdUnitLabel.TabIndex = 3;
this.SdUnitLabel.Text = "m\u00B2";
this.Label5.AutoSize = true;
this.Label5.Font = new Font("Calibri", 8.25f, FontStyle.Regular, GraphicsUnit.Point, (byte) 0);
Label label5_1 = this.Label5;
point1 = new Point(6, 100);
Point point34 = point1;
label5_1.Location = point34;
this.Label5.Name = "Label5";
Label label5_2 = this.Label5;
size1 = new Size(25, 13);
Size size34 = size1;
label5_2.Size = size34;
this.Label5.TabIndex = 3;
this.Label5.Text = "Qes";
this.Label4.AutoSize = true;
this.Label4.Font = new Font("Calibri", 8.25f, FontStyle.Regular, GraphicsUnit.Point, (byte) 0);
Label label4_1 = this.Label4;
point1 = new Point(6, 74);
Point point35 = point1;
label4_1.Location = point35;
this.Label4.Name = "Label4";
Label label4_2 = this.Label4;
size1 = new Size(18, 13);
Size size35 = size1;
label4_2.Size = size35;
this.Label4.TabIndex = 3;
this.Label4.Text = "Sd";
TextBox reBox1 = this.ReBox;
point1 = new Point(38, 254);
Point point36 = point1;
reBox1.Location = point36;
this.ReBox.Name = "ReBox";
TextBox reBox2 = this.ReBox;
size1 = new Size(57, 20);
Size size36 = size1;
reBox2.Size = size36;
this.ReBox.TabIndex = 9;
this.ReBox.Text = "0";
this.ToolTip1.SetToolTip((Control) this.ReBox, "DC resistance of the voice coil.");
this.IsobaricBox.AutoSize = true;
CheckBox isobaricBox1 = this.IsobaricBox;
point1 = new Point(6, 19);
Point point37 = point1;
isobaricBox1.Location = point37;
this.IsobaricBox.Name = "IsobaricBox";
CheckBox isobaricBox2 = this.IsobaricBox;
size1 = new Size(104, 17);
Size size37 = size1;
isobaricBox2.Size = size37;
this.IsobaricBox.TabIndex = 13;
this.IsobaricBox.Text = "Isobaric Loading";
this.IsobaricBox.UseVisualStyleBackColor = true;
Button updateButton1 = this.UpdateButton;
point1 = new Point(12, 486);
Point point38 = point1;
updateButton1.Location = point38;
this.UpdateButton.Name = "UpdateButton";
Button updateButton2 = this.UpdateButton;
size1 = new Size(75, 23);
Size size38 = size1;
updateButton2.Size = size38;
this.UpdateButton.TabIndex = 17;
this.UpdateButton.Text = "Update";
this.UpdateButton.UseVisualStyleBackColor = true;
this.IsobaricSeriesBox.AutoSize = true;
this.IsobaricSeriesBox.Checked = true;
RadioButton isobaricSeriesBox1 = this.IsobaricSeriesBox;
point1 = new Point(6, 43);
Point point39 = point1;
isobaricSeriesBox1.Location = point39;
this.IsobaricSeriesBox.Name = "IsobaricSeriesBox";
RadioButton isobaricSeriesBox2 = this.IsobaricSeriesBox;
size1 = new Size(54, 17);
Size size39 = size1;
isobaricSeriesBox2.Size = size39;
this.IsobaricSeriesBox.TabIndex = 14;
this.IsobaricSeriesBox.TabStop = true;
this.IsobaricSeriesBox.Text = "Series";
this.IsobaricSeriesBox.UseVisualStyleBackColor = true;
this.IsobaricParallelBox.AutoSize = true;
RadioButton isobaricParallelBox1 = this.IsobaricParallelBox;
point1 = new Point(6, 66);
Point point40 = point1;
isobaricParallelBox1.Location = point40;
this.IsobaricParallelBox.Name = "IsobaricParallelBox";
RadioButton isobaricParallelBox2 = this.IsobaricParallelBox;
size1 = new Size(59, 17);
Size size40 = size1;
isobaricParallelBox2.Size = size40;
this.IsobaricParallelBox.TabIndex = 15;
this.IsobaricParallelBox.Text = "Parallel";
this.IsobaricParallelBox.UseVisualStyleBackColor = true;
this.GroupBox2.Controls.Add((Control) this.IsobaricBox);
this.GroupBox2.Controls.Add((Control) this.IsobaricParallelBox);
this.GroupBox2.Controls.Add((Control) this.IsobaricSeriesBox);
GroupBox groupBox2_1 = this.GroupBox2;
point1 = new Point(12, 380);
Point point41 = point1;
groupBox2_1.Location = point41;
this.GroupBox2.Name = "GroupBox2";
GroupBox groupBox2_2 = this.GroupBox2;
size1 = new Size(136, 100);
Size size41 = size1;
groupBox2_2.Size = size41;
this.GroupBox2.TabIndex = 16;
this.GroupBox2.TabStop = false;
this.GroupBox2.Text = "Configuration";
this.DriverLibListbox.FormattingEnabled = true;
ListBox driverLibListbox1 = this.DriverLibListbox;
point1 = new Point(6, 18);
Point point42 = point1;
driverLibListbox1.Location = point42;
this.DriverLibListbox.Name = "DriverLibListbox";
ListBox driverLibListbox2 = this.DriverLibListbox;
size1 = new Size(124, 303);
Size size42 = size1;
driverLibListbox2.Size = size42;
this.DriverLibListbox.TabIndex = 16;
this.DriverLibraryGroup.Controls.Add((Control) this.SaveAsButton);
this.DriverLibraryGroup.Controls.Add((Control) this.SaveButton);
this.DriverLibraryGroup.Controls.Add((Control) this.DriverLibListbox);
GroupBox driverLibraryGroup1 = this.DriverLibraryGroup;
point1 = new Point(165, 13);
Point point43 = point1;
driverLibraryGroup1.Location = point43;
this.DriverLibraryGroup.Name = "DriverLibraryGroup";
GroupBox driverLibraryGroup2 = this.DriverLibraryGroup;
size1 = new Size(136, 361);
Size size43 = size1;
driverLibraryGroup2.Size = size43;
this.DriverLibraryGroup.TabIndex = 18;
this.DriverLibraryGroup.TabStop = false;
this.DriverLibraryGroup.Text = "Driver Library";
Button saveAsButton1 = this.SaveAsButton;
point1 = new Point(61, 327);
Point point44 = point1;
saveAsButton1.Location = point44;
this.SaveAsButton.Name = "SaveAsButton";
Button saveAsButton2 = this.SaveAsButton;
size1 = new Size(69, 23);
Size size44 = size1;
saveAsButton2.Size = size44;
this.SaveAsButton.TabIndex = 18;
this.SaveAsButton.Text = "Save As";
this.SaveAsButton.UseVisualStyleBackColor = true;
Button saveButton1 = this.SaveButton;
point1 = new Point(6, 327);
Point point45 = point1;
saveButton1.Location = point45;
this.SaveButton.Name = "SaveButton";
Button saveButton2 = this.SaveButton;
size1 = new Size(49, 23);
Size size45 = size1;
saveButton2.Size = size45;
this.SaveButton.TabIndex = 18;
this.SaveButton.Text = "Save";
this.SaveButton.UseVisualStyleBackColor = true;
this.AutoScaleDimensions = new SizeF(6f, 13f);
this.AutoScaleMode = AutoScaleMode.Font;
size1 = new Size(309, 520);
this.ClientSize = size1;
this.Controls.Add((Control) this.DriverLibraryGroup);
this.Controls.Add((Control) this.GroupBox2);
this.Controls.Add((Control) this.UpdateButton);
this.Controls.Add((Control) this.GroupBox1);
this.DataBindings.Add(new Binding("Location", (object) MySettings.Default, "DriverLocation", true, DataSourceUpdateMode.OnPropertyChanged));
this.FormBorderStyle = FormBorderStyle.FixedToolWindow;
this.Location = MySettings.Default.DriverLocation;
this.Name = nameof (DriverClass);
this.ShowIcon = false;
this.ShowInTaskbar = false;
this.Text = "Driver";
this.GroupBox1.ResumeLayout(false);
this.GroupBox1.PerformLayout();
this.GroupBox2.ResumeLayout(false);
this.GroupBox2.PerformLayout();
this.DriverLibraryGroup.ResumeLayout(false);
this.ResumeLayout(false);
}
internal GroupBox GroupBox1
{
[DebuggerNonUserCode] get => this._GroupBox1;
[DebuggerNonUserCode, MethodImpl(MethodImplOptions.Synchronized)] set => this._GroupBox1 = value;
}
internal TextBox LvcBox
{
[DebuggerNonUserCode] get => this._LvcBox;
[DebuggerNonUserCode, MethodImpl(MethodImplOptions.Synchronized)] set
{
EventHandler eventHandler = new EventHandler(this.LvcBox_LostFocus);
if (this._LvcBox != null)
this._LvcBox.LostFocus -= eventHandler;
this._LvcBox = value;
if (this._LvcBox == null)
return;
this._LvcBox.LostFocus += eventHandler;
}
}
internal Label Label8
{
[DebuggerNonUserCode] get => this._Label8;
[DebuggerNonUserCode, MethodImpl(MethodImplOptions.Synchronized)] set => this._Label8 = value;
}
internal TextBox SdBox
{
[DebuggerNonUserCode] get => this._SdBox;
[DebuggerNonUserCode, MethodImpl(MethodImplOptions.Synchronized)] set
{
EventHandler eventHandler = new EventHandler(this.SdBox_LostFocus);
if (this._SdBox != null)
this._SdBox.LostFocus -= eventHandler;
this._SdBox = value;
if (this._SdBox == null)
return;
this._SdBox.LostFocus += eventHandler;
}
}
internal TextBox BlBox
{
[DebuggerNonUserCode] get => this._BlBox;
[DebuggerNonUserCode, MethodImpl(MethodImplOptions.Synchronized)] set => this._BlBox = value;
}
internal Label Label9
{
[DebuggerNonUserCode] get => this._Label9;
[DebuggerNonUserCode, MethodImpl(MethodImplOptions.Synchronized)] set => this._Label9 = value;
}
internal TextBox MmsBox
{
[DebuggerNonUserCode] get => this._MmsBox;
[DebuggerNonUserCode, MethodImpl(MethodImplOptions.Synchronized)] set => this._MmsBox = value;
}
internal Label Label7
{
[DebuggerNonUserCode] get => this._Label7;
[DebuggerNonUserCode, MethodImpl(MethodImplOptions.Synchronized)] set => this._Label7 = value;
}
internal TextBox QesBox
{
[DebuggerNonUserCode] get => this._QesBox;
[DebuggerNonUserCode, MethodImpl(MethodImplOptions.Synchronized)] set
{
EventHandler eventHandler = new EventHandler(this.QesBox_LostFocus);
if (this._QesBox != null)
this._QesBox.LostFocus -= eventHandler;
this._QesBox = value;
if (this._QesBox == null)
return;
this._QesBox.LostFocus += eventHandler;
}
}
internal TextBox CmsBox
{
[DebuggerNonUserCode] get => this._CmsBox;
[DebuggerNonUserCode, MethodImpl(MethodImplOptions.Synchronized)] set => this._CmsBox = value;
}
internal Label Label10
{
[DebuggerNonUserCode] get => this._Label10;
[DebuggerNonUserCode, MethodImpl(MethodImplOptions.Synchronized)] set => this._Label10 = value;
}
internal Label Label3
{
[DebuggerNonUserCode] get => this._Label3;
[DebuggerNonUserCode, MethodImpl(MethodImplOptions.Synchronized)] set => this._Label3 = value;
}
internal Label Label11
{
[DebuggerNonUserCode] get => this._Label11;
[DebuggerNonUserCode, MethodImpl(MethodImplOptions.Synchronized)] set => this._Label11 = value;
}
internal TextBox QmsBox
{
[DebuggerNonUserCode] get => this._QmsBox;
[DebuggerNonUserCode, MethodImpl(MethodImplOptions.Synchronized)] set
{
EventHandler eventHandler = new EventHandler(this.QmsBox_LostFocus);
if (this._QmsBox != null)
this._QmsBox.LostFocus -= eventHandler;
this._QmsBox = value;
if (this._QmsBox == null)
return;
this._QmsBox.LostFocus += eventHandler;
}
}
internal Label Label5
{
[DebuggerNonUserCode] get => this._Label5;
[DebuggerNonUserCode, MethodImpl(MethodImplOptions.Synchronized)] set => this._Label5 = value;
}
internal Label Label4
{
[DebuggerNonUserCode] get => this._Label4;
[DebuggerNonUserCode, MethodImpl(MethodImplOptions.Synchronized)] set => this._Label4 = value;
}
internal TextBox ReBox
{
[DebuggerNonUserCode] get => this._ReBox;
[DebuggerNonUserCode, MethodImpl(MethodImplOptions.Synchronized)] set
{
EventHandler eventHandler = new EventHandler(this.ReBox_LostFocus);
if (this._ReBox != null)
this._ReBox.LostFocus -= eventHandler;
this._ReBox = value;
if (this._ReBox == null)
return;
this._ReBox.LostFocus += eventHandler;
}
}
internal Button UpdateButton
{
[DebuggerNonUserCode] get => this._UpdateButton;
[DebuggerNonUserCode, MethodImpl(MethodImplOptions.Synchronized)] set
{