Ignore:
Timestamp:
Jun 25, 2024, 11:10:44 AM (4 months ago)
Author:
chronos
Message:
  • Modified: Removed U prefix from unit names.
Location:
Generics/TemplateGenerics/Demo
Files:
1 edited
1 moved

Legend:

Unmodified
Added
Removed
  • Generics/TemplateGenerics/Demo

    • Property svn:ignore
      •  

        old new  
        33heaptrclog.trc
        44Demo
         5backup
  • Generics/TemplateGenerics/Demo/FormMain.pas

    r573 r574  
    1 unit UMainForm;
    2 
    3 {$mode delphi}{$H+}
     1unit FormMain;
    42
    53interface
     
    1210type
    1311
    14   { TMainForm }
    15 
    16   TMainForm = class(TForm)
     12  { TFormMain }
     13
     14  TFormMain = class(TForm)
    1715    ButtonStreamByte: TButton;
    1816    ButtonBenchmarkDictionary: TButton;
     
    5048
    5149var
    52   MainForm: TMainForm;
     50  FormMain: TFormMain;
     51
    5352
    5453implementation
     
    5655{$R *.lfm}
    5756
    58 { TMainForm }
    59 
    60 procedure TMainForm.FormCreate(Sender: TObject);
     57{ TFormMain }
     58
     59procedure TFormMain.FormCreate(Sender: TObject);
    6160begin
    6261  MeasureDuration := 100 * OneMillisecond;
    6362end;
    6463
    65 procedure TMainForm.ButtonIntegerListClick(Sender: TObject);
     64procedure TFormMain.ButtonIntegerListClick(Sender: TObject);
    6665var
    6766  List: TListInteger;
     
    105104end;
    106105
    107 procedure TMainForm.ButtonMatrixIntegerClick(Sender: TObject);
     106procedure TFormMain.ButtonMatrixIntegerClick(Sender: TObject);
    108107var
    109108  Matrix: TMatrixInteger;
     
    129128end;
    130129
    131 procedure TMainForm.ButtonStreamByteClick(Sender: TObject);
     130procedure TFormMain.ButtonStreamByteClick(Sender: TObject);
    132131var
    133132  Stream: TMemoryStreamByte;
     
    171170end;
    172171
    173 procedure TMainForm.ButtonListObjectClick(Sender: TObject);
     172procedure TFormMain.ButtonListObjectClick(Sender: TObject);
    174173var
    175174  List: TListObject;
     
    196195end;
    197196
    198 procedure TMainForm.ButtonQueueIntegerClick(Sender: TObject);
     197procedure TFormMain.ButtonQueueIntegerClick(Sender: TObject);
    199198var
    200199  Queue: TQueueInteger;
     
    223222end;
    224223
    225 procedure TMainForm.ButtonDictionaryStringClick(Sender: TObject);
     224procedure TFormMain.ButtonDictionaryStringClick(Sender: TObject);
    226225var
    227226  Dictionary: TDictionaryStringString;
     
    251250end;
    252251
    253 procedure TMainForm.ButtonCharListClick(Sender: TObject);
     252procedure TFormMain.ButtonCharListClick(Sender: TObject);
    254253var
    255254  List: TListChar;
     
    283282end;
    284283
    285 procedure TMainForm.ButtonBenchmarkListStringClick(Sender: TObject);
     284procedure TFormMain.ButtonBenchmarkListStringClick(Sender: TObject);
    286285var
    287286  List: TListString;
     
    431430end;
    432431
    433 procedure TMainForm.ButtonBenchmarkDictionaryClick(Sender: TObject);
     432procedure TFormMain.ButtonBenchmarkDictionaryClick(Sender: TObject);
    434433var
    435434  Dictionary: TDictionaryStringString;
     
    526525end;
    527526
    528 procedure TMainForm.ButtonBenchmarkListPointerClick(Sender: TObject);
     527procedure TFormMain.ButtonBenchmarkListPointerClick(Sender: TObject);
    529528var
    530529  List: TListPointer;
     
    726725end;
    727726
    728 procedure TMainForm.ButtonStringListClick(Sender: TObject);
     727procedure TFormMain.ButtonStringListClick(Sender: TObject);
    729728var
    730729  List: TListString;
     
    753752end;
    754753
    755 procedure TMainForm.FormDestroy(Sender: TObject);
    756 begin
    757 end;
    758 
    759 procedure TMainForm.UpdateButtonState(Enabled: Boolean);
     754procedure TFormMain.FormDestroy(Sender: TObject);
     755begin
     756end;
     757
     758procedure TFormMain.UpdateButtonState(Enabled: Boolean);
    760759begin
    761760  ButtonBenchmarkDictionary.Enabled := Enabled;
     
    770769end;
    771770
    772 procedure TMainForm.WriteOutput(Text1: string = ''; Text2: string = '');
     771procedure TFormMain.WriteOutput(Text1: string = ''; Text2: string = '');
    773772var
    774773  NewItem: TListItem;
Note: See TracChangeset for help on using the changeset viewer.