Show the "starting scan" message without getting stomped by server start message on configurator

This commit is contained in:
Ron Pedde 2006-05-07 10:23:04 +00:00
parent cf1f862e9c
commit d9e536fc55
1 changed files with 7 additions and 0 deletions

View File

@ -278,6 +278,13 @@ namespace FireflyConfig
(received[10] << 16) | (received[10] << 16) |
(received[11] << 24); (received[11] << 24);
/* we are clearly running... */
iState = ServiceStatus.Running;
menuItemStart.Enabled = false;
menuItemStop.Enabled = true;
notifyIcon.Icon = icnRunning;
notifyIcon.Text = "Firefly Media Server is running";
string strval = encoding.GetString(received,12,bytesReceived < size ? bytesReceived - 12 : size - 12).Replace("\n","\r\n"); string strval = encoding.GetString(received,12,bytesReceived < size ? bytesReceived - 12 : size - 12).Replace("\n","\r\n");
if(id == 0) if(id == 0)
{ {