mirror of
https://github.com/farcasclaudiu/SmartThreadPool.git
synced 2026-06-22 15:01:24 +03:00
v2.0
SmartThreadPool v2.0
This commit is contained in:
@@ -0,0 +1,49 @@
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Text;
|
||||
using System.Drawing;
|
||||
|
||||
namespace UsageControl
|
||||
{
|
||||
public partial class QueueUsageControl
|
||||
{
|
||||
public class QueueUsageEntry
|
||||
{
|
||||
private string _text;
|
||||
private Color _color;
|
||||
private bool _isExecuting;
|
||||
|
||||
public QueueUsageEntry(
|
||||
string text,
|
||||
Color color) : this (text, color, false)
|
||||
{
|
||||
}
|
||||
|
||||
public QueueUsageEntry(
|
||||
string text,
|
||||
Color color,
|
||||
bool blink)
|
||||
{
|
||||
_text = text;
|
||||
_color = color;
|
||||
_isExecuting = blink;
|
||||
}
|
||||
|
||||
public Color Color
|
||||
{
|
||||
get { return _color; }
|
||||
}
|
||||
|
||||
public string Text
|
||||
{
|
||||
get { return _text; }
|
||||
}
|
||||
|
||||
public bool IsExecuting
|
||||
{
|
||||
get { return _isExecuting; }
|
||||
set { _isExecuting = value; }
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user