Commit c92d680b authored by Michael Alexander's avatar Michael Alexander
Browse files

correct tradebox

parent 88bd6cd6
......@@ -124,6 +124,7 @@ Public Class Offer
If (recvjson.status = "ok") Then
RefreshInventory()
MsgBox("Success")
ElseIf (recvjson.status = "fail") Then
MsgBox(recvjson.description)
Else
......
......@@ -49,10 +49,12 @@ Partial Class Tradebox
Me.TradeboxPanel.Controls.Add(Me.Label2, 1, 0)
Me.TradeboxPanel.Controls.Add(Me.Label1, 0, 0)
Me.TradeboxPanel.Location = New System.Drawing.Point(12, 12)
Me.TradeboxPanel.MaximumSize = New System.Drawing.Size(481, 450)
Me.TradeboxPanel.MinimumSize = New System.Drawing.Size(481, 0)
Me.TradeboxPanel.Name = "TradeboxPanel"
Me.TradeboxPanel.RowCount = 1
Me.TradeboxPanel.RowStyles.Add(New System.Windows.Forms.RowStyle(System.Windows.Forms.SizeType.Absolute, 30.0!))
Me.TradeboxPanel.Size = New System.Drawing.Size(573, 34)
Me.TradeboxPanel.Size = New System.Drawing.Size(481, 34)
Me.TradeboxPanel.TabIndex = 0
'
'Label5
......
......@@ -95,7 +95,7 @@ Public Class Tradebox
Dim Btn As New Button
Btn.Width = 100
Btn.Height = 30
If recvjson.Offers(i)(4) = False Then
If recvjson.Offers(i)(4) = True Then
Btn.Text = "Cancel Offer"
AddHandler Btn.Click, AddressOf CancelOffer
Else
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment