Changeset 15
- Timestamp:
- Mar 19, 2013, 8:52:43 PM (12 years ago)
- Location:
- trunk
- Files:
-
- 6 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/Forms/UFormMain.lfm
r14 r15 238 238 ParentColor = False 239 239 end 240 object ButtonGetState: TButton 241 Left = 358 242 Height = 25 243 Top = 7 244 Width = 112 245 Caption = 'Get' 246 OnClick = ButtonGetStateClick 247 TabOrder = 0 248 end 240 249 end 241 250 end -
trunk/Forms/UFormMain.lrt
r12 r15 19 19 TFORMMAIN.LABEL6.CAPTION=Balance: 20 20 TFORMMAIN.LABELBALANCE.CAPTION= 21 TFORMMAIN.BUTTONGETSTATE.CAPTION=Get -
trunk/Forms/UFormMain.pas
r14 r15 17 17 ButtonNew: TButton; 18 18 ButtonNew1: TButton; 19 ButtonGetState: TButton; 19 20 ButtonSettings: TButton; 20 21 ButtonInterval: TButton; … … 38 39 SpinEditYear: TSpinEdit; 39 40 SpinEditId: TSpinEdit; 41 procedure ButtonGetStateClick(Sender: TObject); 40 42 procedure ButtonIntervalClick(Sender: TObject); 41 43 procedure ButtonMonthlyClick(Sender: TObject); … … 82 84 procedure TFormMain.ComboBoxAccountsChange(Sender: TObject); 83 85 begin 86 Core.SelectedAccountIndex := ComboBoxAccounts.ItemIndex; 84 87 if ComboBoxAccounts.ItemIndex <> -1 then 85 88 Core.CurrentAccount := TAccount(Core.Accounts[ComboBoxAccounts.ItemIndex]) 86 89 else Core.CurrentAccount := nil; 87 90 LoadInterface; 88 Core.SelectedAccountIndex := ComboBoxAccounts.ItemIndex;89 91 end; 90 92 … … 105 107 SaveInterface; 106 108 Core.ADownloadInterval.Execute; 109 end; 110 111 procedure TFormMain.ButtonGetStateClick(Sender: TObject); 112 begin 113 if Assigned(Core.CurrentAccount) then begin 114 Core.LoadAccount(Core.CurrentAccount); 115 LoadInterface; 116 end; 107 117 end; 108 118 -
trunk/Languages/FioInfo.cs.po
r14 r15 118 118 msgstr "Token" 119 119 120 #: tformmain.buttongetstate.caption 121 msgid "Get" 122 msgstr "" 123 120 124 #: tformmain.buttoninterval.caption 121 125 msgctxt "TFORMMAIN.BUTTONINTERVAL.CAPTION" -
trunk/Languages/FioInfo.po
r14 r15 109 109 msgstr "" 110 110 111 #: tformmain.buttongetstate.caption 112 msgid "Get" 113 msgstr "" 114 111 115 #: tformmain.buttoninterval.caption 112 116 msgctxt "TFORMMAIN.BUTTONINTERVAL.CAPTION" -
trunk/UCore.pas
r14 r15 224 224 ApplicationInfo1.RegistryKey); 225 225 LoadFromRegistry(RegistryContext); 226 LoadAccounts;227 226 end; 228 227 … … 317 316 WriteInteger('ReportId', ReportId); 318 317 WriteString('Language', CoolTranslator1.Language.Code); 319 WriteString('FileNameFormat', OutputFormat);318 WriteString('FileNameFormat', UTF8Decode(OutputFormat)); 320 319 WriteInteger('SelectedAccountIndex', SelectedAccountIndex); 321 320 finally
Note:
See TracChangeset
for help on using the changeset viewer.