Skip to content

Commit

Permalink
MP1-5005: IRtrans fix color server status
Browse files Browse the repository at this point in the history
thank @framug
  • Loading branch information
Azzuro committed Apr 20, 2020
1 parent 72e12d1 commit 903184f
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions mediaportal/Configuration/Sections/Remote.cs
Expand Up @@ -1996,7 +1996,7 @@ private void InitializeComponent()
// labelIrTransStatus
//
this.labelIrTransStatus.AutoSize = true;
this.labelIrTransStatus.Location = new System.Drawing.Point(16, 48);
this.labelIrTransStatus.Location = new System.Drawing.Point(16, 44);
this.labelIrTransStatus.Name = "labelIrTransStatus";
this.labelIrTransStatus.Size = new System.Drawing.Size(0, 13);
this.labelIrTransStatus.TabIndex = 8;
Expand Down Expand Up @@ -2452,7 +2452,7 @@ private void buttonIrTransTest_Click(object sender, EventArgs e)
byte[] sendData = BitConverter.GetBytes(clientID);
m_Socket.Send(sendData, sendData.Length, SocketFlags.None);
m_Socket.Close();
labelIrTransStatus.ForeColor = Color.Blue;
labelIrTransStatus.ForeColor = Color.Green;
labelIrTransStatus.Text = "IRTrans server up and running.";
}
catch (SocketException)
Expand Down

0 comments on commit 903184f

Please sign in to comment.