mirror of
https://github.com/danbulant/Cosmos
synced 2026-05-20 21:08:51 +00:00
24 lines
565 B
C#
24 lines
565 B
C#
using System;
|
|
using System.Collections.Generic;
|
|
using System.Linq;
|
|
using System.Text;
|
|
using System.Windows.Threading;
|
|
using System.Windows.Controls;
|
|
|
|
namespace Cosmos.VS.Windows {
|
|
public class DebuggerUC : UserControl {
|
|
protected byte[] mData = new byte[0];
|
|
|
|
public void Update(string aTag, byte[] aData) {
|
|
mData = aData;
|
|
Dispatcher.Invoke(DispatcherPriority.Normal,
|
|
(Action)delegate() {
|
|
DoUpdate(aTag);
|
|
}
|
|
);
|
|
}
|
|
|
|
protected virtual void DoUpdate(string aTag) {
|
|
}
|
|
}
|
|
}
|