MCPcopy Create free account
hub / github.com/MaxBelkov/visualsyslog / AddFileButtonClick

Method AddFileButtonClick

source/setup.cpp:328–336  ·  view source on GitHub ↗

---------------------------------------------------------------------------

Source from the content-addressed store, hash-verified

326}
327//---------------------------------------------------------------------------
328void __fastcall TSetupForm::AddFileButtonClick(TObject *Sender)
329{
330 TStorageFile * p = new TStorageFile;
331 p->number = localSFL->GetNewNumber();
332 localSFL->Add(p);
333 DrawGrid->RowCount = 1 + localSFL->Count;
334 DrawGrid->Row = DrawGrid->RowCount - 1;
335 DrawGrid->FixedRows = 1;
336}
337//---------------------------------------------------------------------------
338void __fastcall TSetupForm::DelFileButtonClick(TObject *Sender)
339{

Callers

nothing calls this directly

Calls 2

GetNewNumberMethod · 0.80
AddMethod · 0.45

Tested by

no test coverage detected