10-08
This commit is contained in:
@@ -23,6 +23,13 @@ namespace Project
|
||||
}
|
||||
else sbBWRun.BackColor = Color.Red;
|
||||
sbBCD.BackColor = Pub.barcode.IsInit ? Color.Lime : Color.Red;
|
||||
if (redisConnection == null) this.sbRedis.ForeColor = Color.DimGray;
|
||||
else if (redisConnection.IsConnected)
|
||||
{
|
||||
if (db == null) this.sbRedis.ForeColor = Color.Blue;
|
||||
else this.sbRedis.ForeColor = Color.Green;
|
||||
}
|
||||
else this.sbRedis.ForeColor = Color.Red;
|
||||
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user