1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42
|
If tm.GetState = 2 Then
LastTimeLabel.Caption = "NO VALUE AVAILABLE"
If lt2 = -1 Then
LastTimeValideLabel.Caption = "NO VALUE AVAILABLE"
Else
LastTimeValideLabel.Caption = CStr(lt2) & " s" & ", " & CStr(lt2 / LastDealCount) & " s/deal"
End If
Frame2.Enabled = True
Frame2.Caption = "Lot en cours - " & tm.GetCurrentTKBlockID
'Frame3.Enabled = True
'LogGrid.Visible = True
StatusLabel.ForeColor = &HC000&
StatusLabel.Caption = "(2) TRANSACTING"
CreateBtn.Enabled = False
InitBtn.Enabled = False
BeginBtn.Enabled = False
PriceBtn.Enabled = True
RollbackBtn.Enabled = True
CommitBtn.Enabled = False
CancelPriceBtn.Enabled = False
DestroyBtn.Enabled = True
SaveBtn.Enabled = True
LoadBtn.Enabled = True
CopyBtn.Enabled = True
PasteBtn.Enabled = True
LoadDealBtn.Enabled = True
UpdateDealBtn.Enabled = False
RemoveDealBtn.Visible = True
AddDealBtn.Visible = True
AddDealBtn.Enabled = True
InstrCombo.Visible = True
DealList.Visible = True
ViewerBtn.Visible = True
Viewer2Btn.Visible = True
Exit Sub |
Partager