public AdaptersView(Adapters aEngine, IRunForm form, ListView list) { _aEngine = aEngine; _list = list; _form = form; _aEngine.OnUpdate += onUpdateAdapters; }
// ConcurrentQueue<> public SpeedChart(IRunForm form, Adapters aEngine, PictureBox box) { _form = form; _box = box; _aEngine = aEngine; _aEngine.OnUpdate += OnStatsUpdate; _box.SizeChanged += OnResize; initChartBitmap(); }
public ConnectionsView(Connections cEngine, IRunForm form, ListView listView) { _cEngine = cEngine; _listView = listView; _form = form; _cEngine.OnUpdate += OnUpdateConnections; _listView.SmallImageList = _images; _listView.LargeImageList = _images; _images.ImageSize = new Size(20, 20); _images.ColorDepth = ColorDepth.Depth32Bit; }