Changeset 10 for trunk/UFormProject.pas


Ignore:
Timestamp:
Apr 2, 2016, 12:02:59 AM (8 years ago)
Author:
chronos
Message:
  • Added support for continue previous stopped scan.
  • Modified: Allow to scan only part of drive by specifiing start and end sector.
  • Added: Table showing list of operations in project.
  • Added: Allow to create new project and close project.
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/UFormProject.pas

    r1 r10  
    1616    Button1: TButton;
    1717    Button2: TButton;
     18    Edit1: TEdit;
    1819    Label1: TLabel;
    1920    Label2: TLabel;
    20     Label3: TLabel;
    2121    SpinEditSectorSize: TSpinEdit;
    22     SpinEditFirstSector: TSpinEdit;
    23     SpinEditLastSector: TSpinEdit;
    2422  private
    25     { private declarations }
    2623  public
    2724    procedure Load(Project: TProject);
     
    4037procedure TFormProject.Load(Project: TProject);
    4138begin
     39  Edit1.Text := Project.Name;
    4240  SpinEditSectorSize.Value := Project.SectorSize;
    43   SpinEditFirstSector.Value := Project.FirstSector;
    44   SpinEditLastSector.Value := Project.LastSector;
    4541end;
    4642
    4743procedure TFormProject.Save(Project: TProject);
    4844begin
     45  Project.Name := Edit1.Text;
    4946  Project.SectorSize := SpinEditSectorSize.Value;
    50   Project.FirstSector := SpinEditFirstSector.Value;
    51   Project.LastSector := SpinEditLastSector.Value;
    5247end;
    5348
Note: See TracChangeset for help on using the changeset viewer.