Ejemplo n.º 1
0
 /// <summary>
 /// Requests the UI Thread, through the BackgroundWorker (bw), to log the received message in the specified Label (label).
 /// </summary>
 public static void Log(BackgroundWorker bw, string message, ProgressiveWidgetsEnum.Label label)
 {
     bw.ReportProgress(0, new LabelWrapper(label, message));
 }
Ejemplo n.º 2
0
 /// <summary>
 /// Initializes a new instance of the <c>LabelWrapper</c> class with the specified <c>ProgressiveWidgetsEnum.Label</c> and value.
 /// </summary>
 public LabelWrapper(ProgressiveWidgetsEnum.Label label, string value)
 {
     Label = label;
     Value = value;
 }