Changeset 12 for trunk/UMainWindow.pas


Ignore:
Timestamp:
Feb 11, 2008, 11:37:07 AM (16 years ago)
Author:
george
Message:

Aktualizace: Vyměněna jednotka UWaitingDialog za novější UJobProgressView.
Opraveno: Chyba při vytváření souboru Error.txt.

Location:
trunk
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk

    • Property svn:ignore
      •  

        old new  
        55*.~dsk
        66Network.cfg
         7Error.txt
  • trunk/UMainWindow.pas

    r11 r12  
    251251    { Private declarations }
    252252  public
    253     SunriseChatNetworkCore1: TSunriseChatNEtworkCore;
     253    SunriseChatNetworkCore1: TSunriseChatNetworkCore;
    254254    UserEventsImagesEnabled: Boolean;
    255255    FirstStart: Boolean;
     
    331331
    332332uses UInfoWindow, UAboutWindow, UOptionsWindow, UNetworkTest, UNewRoom,
    333   DateUtils, ULocalization, UWaitingDialog, MMSystem;
     333  DateUtils, ULocalization, UJobProgressView, MMSystem;
    334334
    335335{$R *.dfm}
     
    14061406    if I<Length(AppUserEvents) then AppUserEventsOptions[I].SaveToRegistry;
    14071407    //AppUserEventsOptions[I].Free;
    1408     if Assigned(WaitingDialog) then WaitingDialog.Pozice := I/Max*100;
     1408    if Assigned(JobProgressView) then JobProgressView.Progress := I/Max;
    14091409  end;
    14101410  //SetLength(AppUserEventsOptions,0);
     
    14871487      LoadFromRegistry;
    14881488    end;
    1489     if Assigned(WaitingDialog) then WaitingDialog.Pozice := I/AppUserEventsCount*100;
     1489    if Assigned(JobProgressView) then JobProgressView.Progress := I / AppUserEventsCount;
    14901490  end;
    14911491end;
Note: See TracChangeset for help on using the changeset viewer.