-
Notifications
You must be signed in to change notification settings - Fork 2
/
Unit1.dfm
730 lines (730 loc) · 18.8 KB
/
Unit1.dfm
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
object Form1: TForm1
Left = 230
Top = 160
HorzScrollBar.Visible = False
VertScrollBar.Visible = False
Caption = 'Primfaktoren'
ClientHeight = 646
ClientWidth = 894
Color = clBtnFace
Constraints.MinHeight = 605
Constraints.MinWidth = 902
Font.Charset = DEFAULT_CHARSET
Font.Color = clWindowText
Font.Height = -11
Font.Name = 'MS Sans Serif'
Font.Style = []
OldCreateOrder = False
OnActivate = FormActivate
OnCanResize = FormCanResize
OnClose = FormClose
OnCreate = FormCreate
OnKeyDown = FormKeyDown
DesignSize = (
894
646)
PixelsPerInch = 96
TextHeight = 13
object Label1: TLabel
Left = 8
Top = 16
Width = 399
Height = 16
Caption =
'Gib hier eine Zahl ein um Sie in die Primfaktoren zerlegen zu la' +
'ssen.'
Font.Charset = DEFAULT_CHARSET
Font.Color = clWindowText
Font.Height = -13
Font.Name = 'MS Sans Serif'
Font.Style = []
ParentFont = False
end
object Label2: TLabel
Left = 519
Top = 42
Width = 6
Height = 20
Font.Charset = DEFAULT_CHARSET
Font.Color = clWindowText
Font.Height = -16
Font.Name = 'MS Sans Serif'
Font.Style = [fsBold]
ParentFont = False
end
object Label5: TLabel
Left = 584
Top = 560
Width = 122
Height = 16
Anchors = [akTop, akRight]
Caption = 'Gefundene Faktoren'
Font.Charset = DEFAULT_CHARSET
Font.Color = clWindowText
Font.Height = -13
Font.Name = 'MS Sans Serif'
Font.Style = []
ParentFont = False
end
object Label7: TLabel
Left = 584
Top = 576
Width = 95
Height = 16
Anchors = [akTop, akRight]
Caption = 'H'#246'chster Faktor'
Font.Charset = DEFAULT_CHARSET
Font.Color = clWindowText
Font.Height = -13
Font.Name = 'MS Sans Serif'
Font.Style = []
ParentFont = False
end
object Label111: TLabel
Left = 720
Top = 576
Width = 3
Height = 16
Anchors = [akTop, akRight]
Caption = ' '
Font.Charset = DEFAULT_CHARSET
Font.Color = clWindowText
Font.Height = -13
Font.Name = 'MS Sans Serif'
Font.Style = []
ParentFont = False
ParentShowHint = False
ShowHint = True
end
object Label3: TLabel
Left = 584
Top = 464
Width = 114
Height = 16
Anchors = [akTop, akRight]
Caption = 'Aktuelle pot. Faktor'
Font.Charset = DEFAULT_CHARSET
Font.Color = clWindowText
Font.Height = -13
Font.Name = 'MS Sans Serif'
Font.Style = []
ParentFont = False
end
object Label120: TLabel
Left = 720
Top = 464
Width = 3
Height = 16
Anchors = [akTop, akRight]
Caption = ' '
Font.Charset = DEFAULT_CHARSET
Font.Color = clWindowText
Font.Height = -13
Font.Name = 'MS Sans Serif'
Font.Style = []
ParentFont = False
ParentShowHint = False
ShowHint = True
end
object Label4: TLabel
Left = 584
Top = 496
Width = 57
Height = 16
Anchors = [akTop, akRight]
Caption = 'Rest Zahl'
Font.Charset = DEFAULT_CHARSET
Font.Color = clWindowText
Font.Height = -13
Font.Name = 'MS Sans Serif'
Font.Style = []
ParentFont = False
end
object Label130: TLabel
Left = 719
Top = 495
Width = 3
Height = 16
Anchors = [akTop, akRight]
Caption = ' '
Font.Charset = DEFAULT_CHARSET
Font.Color = clWindowText
Font.Height = -13
Font.Name = 'MS Sans Serif'
Font.Style = []
ParentFont = False
ParentShowHint = False
ShowHint = True
WordWrap = True
end
object Label6: TLabel
Left = 584
Top = 528
Width = 75
Height = 16
Anchors = [akTop, akRight]
Caption = 'Wurzel(Zahl)'
Font.Charset = DEFAULT_CHARSET
Font.Color = clWindowText
Font.Height = -13
Font.Name = 'MS Sans Serif'
Font.Style = []
ParentFont = False
end
object Label132: TLabel
Left = 720
Top = 528
Width = 3
Height = 16
Anchors = [akTop, akRight]
Caption = ' '
Font.Charset = DEFAULT_CHARSET
Font.Color = clWindowText
Font.Height = -13
Font.Name = 'MS Sans Serif'
Font.Style = []
ParentFont = False
ParentShowHint = False
ShowHint = True
end
object Label8: TLabel
Left = 584
Top = 608
Width = 77
Height = 16
Anchors = [akTop, akRight]
Caption = 'Schritte pro s'
Font.Charset = DEFAULT_CHARSET
Font.Color = clWindowText
Font.Height = -13
Font.Name = 'MS Sans Serif'
Font.Style = []
ParentFont = False
end
object Label140: TLabel
Left = 720
Top = 608
Width = 3
Height = 16
Anchors = [akTop, akRight]
Caption = ' '
Font.Charset = DEFAULT_CHARSET
Font.Color = clWindowText
Font.Height = -13
Font.Name = 'MS Sans Serif'
Font.Style = []
ParentFont = False
ParentShowHint = False
ShowHint = True
end
object Label9: TLabel
Left = 607
Top = 440
Width = 187
Height = 13
Anchors = [akTop, akRight]
Caption = 'Wenn Fermat Pseudo Primzahl dann rot'
Font.Charset = DEFAULT_CHARSET
Font.Color = clRed
Font.Height = -11
Font.Name = 'MS Sans Serif'
Font.Style = []
ParentFont = False
end
object Label110: TLabel
Left = 720
Top = 560
Width = 3
Height = 16
Anchors = [akTop, akRight]
Caption = ' '
Font.Charset = DEFAULT_CHARSET
Font.Color = clWindowText
Font.Height = -13
Font.Name = 'MS Sans Serif'
Font.Style = []
ParentFont = False
ParentShowHint = False
ShowHint = True
end
object Label10: TLabel
Left = 584
Top = 624
Width = 104
Height = 16
Anchors = [akTop, akRight]
Caption = 'Ben'#246'tigte Schritte'
Font.Charset = DEFAULT_CHARSET
Font.Color = clWindowText
Font.Height = -13
Font.Name = 'MS Sans Serif'
Font.Style = []
ParentFont = False
end
object Label150: TLabel
Left = 720
Top = 624
Width = 3
Height = 16
Anchors = [akTop, akRight]
Caption = ' '
Font.Charset = DEFAULT_CHARSET
Font.Color = clWindowText
Font.Height = -13
Font.Name = 'MS Sans Serif'
Font.Style = []
ParentFont = False
ParentShowHint = False
ShowHint = True
end
object LNowProbierverfahren: TLabel
Left = 632
Top = 32
Width = 100
Height = 16
Anchors = [akTop, akRight]
Caption = 'Probierverfahren'
Font.Charset = ANSI_CHARSET
Font.Color = clWindowText
Font.Height = -13
Font.Name = 'MS Sans Serif'
Font.Style = []
ParentFont = False
end
object LNowPollard: TLabel
Left = 632
Top = 56
Width = 129
Height = 16
Anchors = [akTop, akRight]
Caption = 'Pollard-Rho-Methode'
Font.Charset = ANSI_CHARSET
Font.Color = clWindowText
Font.Height = -13
Font.Name = 'MS Sans Serif'
Font.Style = []
ParentFont = False
end
object Edit1: TEdit
Left = 8
Top = 40
Width = 385
Height = 24
Font.Charset = DEFAULT_CHARSET
Font.Color = clWindowText
Font.Height = -13
Font.Name = 'MS Sans Serif'
Font.Style = []
ParentFont = False
ParentShowHint = False
ShowHint = True
TabOrder = 0
Text = '0'
OnChange = Edit1Change
OnKeyDown = Edit1KeyDown
OnKeyPress = Edit1KeyPress
end
object Button1: TButton
Left = 400
Top = 32
Width = 105
Height = 41
Caption = 'Start'
Font.Charset = DEFAULT_CHARSET
Font.Color = clWindowText
Font.Height = -13
Font.Name = 'MS Sans Serif'
Font.Style = []
ParentFont = False
TabOrder = 1
OnClick = Button1Click
OnKeyDown = FormKeyDown
end
object JvOutlookBar1: TJvOutlookBar
Left = 615
Top = 160
Width = 210
Height = 265
Pages = <
item
Buttons = <
item
Caption = 'Eine sehr gro'#223'e'
ImageIndex = 0
Tag = 0
AutoToggle = False
OnClick = JvOutlookBarMain0Button0
end
item
Caption = '20 x 5 Stellig'
ImageIndex = 0
Tag = 0
AutoToggle = False
OnClick = JvOutlookBarMain0Button5
end
item
Caption = '20 x 10 Stellig'
ImageIndex = 0
Tag = 0
AutoToggle = False
OnClick = JvOutlookBarMain0Button2
end
item
Caption = '20 x 15 Stellig'
ImageIndex = 0
Tag = 0
AutoToggle = False
OnClick = JvOutlookBarMain0Button3
end
item
Caption = '100 Stellig - Extra viele Faktoren'
ImageIndex = 0
Tag = 0
AutoToggle = False
OnClick = JvOutlookBarMain0Button4
end>
ButtonSize = olbsLarge
Caption = 'Zufallszahlen'
DownFont.Charset = DEFAULT_CHARSET
DownFont.Color = clWindowText
DownFont.Height = -11
DownFont.Name = 'MS Sans Serif'
DownFont.Style = []
Font.Charset = DEFAULT_CHARSET
Font.Color = clWhite
Font.Height = -11
Font.Name = 'MS Sans Serif'
Font.Style = []
ParentColor = True
TopButtonIndex = 0
end
item
Buttons = <
item
Caption = 'Primzahlbereich auflisten'
ImageIndex = 0
Tag = 0
AutoToggle = False
OnClick = JvOutlookBarMain1Button0
end
item
Caption = 'zuf'#228'llige Primzahlen finden'
ImageIndex = 0
Tag = 0
AutoToggle = False
OnClick = JvOutlookBarMain1Button1
end
item
Caption = 'Primorial bilden'
ImageIndex = 0
Tag = 0
AutoToggle = False
OnClick = JvOutlookBar1Pages1Buttons2Click
end>
ButtonSize = olbsLarge
Caption = 'Primzahlen'
DownFont.Charset = DEFAULT_CHARSET
DownFont.Color = clWindowText
DownFont.Height = -11
DownFont.Name = 'MS Sans Serif'
DownFont.Style = []
Font.Charset = DEFAULT_CHARSET
Font.Color = clWhite
Font.Height = -11
Font.Name = 'MS Sans Serif'
Font.Style = []
ParentColor = True
TopButtonIndex = 0
end
item
Buttons = <
item
Caption = 'GGT (Gr'#246#223'ter gemeinsamer Teiler)'
ImageIndex = 0
Tag = 0
AutoToggle = False
OnClick = JvOutlookBarMain2Button0
end
item
Caption = 'KGV (kleinstes gemeinsames Vielfaches)'
ImageIndex = 0
Tag = 0
AutoToggle = False
OnClick = JvOutlookBarMain2Button1
end
item
Caption = 'Liste perfekte Zahlen auf'
ImageIndex = 0
Tag = 0
AutoToggle = False
OnClick = JvOutlookBarMain2Button2
end
item
Caption = 'Fibbonacci-Zahlen'
ImageIndex = 0
Tag = 0
AutoToggle = False
OnClick = JvOutlookBarMain2Button3
end
item
Caption = 'Goldener Schnitt'
ImageIndex = 0
Tag = 0
AutoToggle = False
OnClick = JvOutlookBarMain2Button4
end
item
Caption = 'Fakult'#228't berechnen'
ImageIndex = 0
Tag = 0
AutoToggle = False
OnClick = JvOutlookBarMain2Button5
end
item
Caption = 'Fakult'#228't zerlegen lassen'
ImageIndex = 0
Tag = 0
AutoToggle = False
OnClick = JvOutlookBar1Pages2Buttons6Click
end
item
Caption = 'Fakulat'#228'ten zerlegen lassen'
ImageIndex = 0
Tag = 0
AutoToggle = False
OnClick = JvOutlookBarMain2Button6
end>
ButtonSize = olbsLarge
Caption = 'Mathematisches'
DownFont.Charset = DEFAULT_CHARSET
DownFont.Color = clWindowText
DownFont.Height = -11
DownFont.Name = 'MS Sans Serif'
DownFont.Style = []
Font.Charset = DEFAULT_CHARSET
Font.Color = clWhite
Font.Height = -11
Font.Name = 'MS Sans Serif'
Font.Style = []
ParentColor = True
TopButtonIndex = 0
end
item
Buttons = <
item
Caption = 'L'#252'gende Pseudo Primzahlen aufsp'#252'ren'
ImageIndex = 0
Tag = 0
AutoToggle = False
OnClick = JvOutlookBarMain3Button0
end
item
Caption = 'Startwerte bei der Pollard-Rho Methode'
ImageIndex = 0
Tag = 0
AutoToggle = False
OnClick = JvOutlookBarMain3Button1
end
item
Caption = 'Fermat + Euler <---> GGT'
ImageIndex = 0
Tag = 0
AutoToggle = False
OnClick = JvOutlookBarMain3Button2
end
item
Caption = 'Fermat <---> Euler'
ImageIndex = 0
Tag = 0
AutoToggle = False
OnClick = JvOutlookBarMain3Button3
end
item
Caption = 'Primfaktorzerlegung mit und ohne Primarray'
ImageIndex = 0
Tag = 0
AutoToggle = False
OnClick = JvOutlookBarMain3Button4
end>
ButtonSize = olbsLarge
Caption = 'Untersuchungen'
DownFont.Charset = DEFAULT_CHARSET
DownFont.Color = clWindowText
DownFont.Height = -11
DownFont.Name = 'MS Sans Serif'
DownFont.Style = []
Font.Charset = DEFAULT_CHARSET
Font.Color = clWhite
Font.Height = -11
Font.Name = 'MS Sans Serif'
Font.Style = []
ParentColor = True
TopButtonIndex = 0
end
item
Buttons = <
item
Caption = 'Eine Quadratische Formel testen'
ImageIndex = 0
Tag = 0
AutoToggle = False
OnClick = JvOutlookBarMain4Button0
end
item
Caption = 'Zuf'#228'llige quadratische Formeln testen'
ImageIndex = 0
Tag = 0
AutoToggle = False
OnClick = JvOutlookBarMain4Button1
end
item
Caption = 'Alle quadratische Formeln durchtesten'
ImageIndex = 0
Tag = 0
AutoToggle = False
OnClick = JvOutlookBarMain4Button2
end>
ButtonSize = olbsLarge
Caption = 'Quadratische Primzahlformeln'
DownFont.Charset = DEFAULT_CHARSET
DownFont.Color = clWindowText
DownFont.Height = -11
DownFont.Name = 'MS Sans Serif'
DownFont.Style = []
Font.Charset = DEFAULT_CHARSET
Font.Color = clWhite
Font.Height = -11
Font.Name = 'MS Sans Serif'
Font.Style = []
ParentColor = True
TopButtonIndex = 0
end>
ActivePageIndex = 4
Anchors = [akTop, akRight]
TabOrder = 2
end
object CheckDetail: TCheckBox
Left = 626
Top = 112
Width = 161
Height = 17
Anchors = [akTop, akRight]
Caption = 'Detailierte Ausgabe'
Font.Charset = DEFAULT_CHARSET
Font.Color = clWindowText
Font.Height = -13
Font.Name = 'MS Sans Serif'
Font.Style = []
ParentFont = False
TabOrder = 3
OnClick = CheckDetailClick
OnKeyDown = FormKeyDown
end
object JvImgBtn1: TJvImgBtn
Left = 816
Top = 8
Width = 75
Height = 75
Anchors = [akTop, akRight]
Caption = 'Info'
Font.Charset = DEFAULT_CHARSET
Font.Color = clWindowText
Font.Height = -32
Font.Name = 'MS Sans Serif'
Font.Style = [fsBold]
ParentFont = False
TabOrder = 4
OnClick = JvImgBtn1Click
OnKeyDown = FormKeyDown
Color = clLime
HotTrackFont.Charset = DEFAULT_CHARSET
HotTrackFont.Color = clWindowText
HotTrackFont.Height = -32
HotTrackFont.Name = 'MS Sans Serif'
HotTrackFont.Style = []
end
object StringGrid1: TStringGrid
Left = 1
Top = 79
Width = 577
Height = 562
Anchors = [akLeft, akTop, akRight, akBottom]
ColCount = 4
DefaultRowHeight = 19
FixedCols = 0
Font.Charset = DEFAULT_CHARSET
Font.Color = clBlack
Font.Height = -13
Font.Name = 'MS Sans Serif'
Font.Style = []
Options = [goFixedVertLine, goFixedHorzLine, goVertLine, goHorzLine, goRangeSelect, goColSizing, goEditing]
ParentFont = False
TabOrder = 5
OnKeyDown = FormKeyDown
OnMouseUp = StringGrid1MouseUp
ColWidths = (
303
242
64
64)
end
object CheckPrimeArray: TCheckBox
Left = 626
Top = 88
Width = 161
Height = 17
Anchors = [akTop, akRight]
Caption = 'Primearray benutzen'
Checked = True
Font.Charset = DEFAULT_CHARSET
Font.Color = clWindowText
Font.Height = -13
Font.Name = 'MS Sans Serif'
Font.Style = []
ParentFont = False
State = cbChecked
TabOrder = 6
OnClick = CheckPrimeArrayClick
OnKeyDown = FormKeyDown
end
object BVorausberechnung: TButton
Left = 776
Top = 88
Width = 97
Height = 17
Anchors = [akTop, akRight]
Caption = 'Vorausberechnung'
TabOrder = 7
OnClick = BVorausberechnungClick
OnKeyDown = FormKeyDown
end
object PopupMenu1: TPopupMenu
Left = 248
Top = 424
object abelleinDateispeichern1: TMenuItem
Caption = 'Tabelle in Datei speichern'
ShortCut = 16467
OnClick = abelleinDateispeichern1Click
end
object N1: TMenuItem
Caption = ' '
end
object NormaleSpaltenbreite1: TMenuItem
Caption = 'Normale Spaltenbreite'
OnClick = NormaleSpaltenbreite1Click
end
object GleichgroeSpaltenbreite1: TMenuItem
Caption = 'Gleich gro'#223'e Spaltenbreite'
OnClick = GleichgroeSpaltenbreite1Click
end
end
object SaveDialog1: TSaveDialog
DefaultExt = 'txt'
Filter = 'csv|*.csv|Alle Dateien|*.*'
Options = [ofOverwritePrompt, ofHideReadOnly, ofEnableSizing]
Title = 'Speichern der Tabelle in eine Txt Datei'
OnCanClose = SaveDialog1CanClose
Left = 288
Top = 424
end
end