public void myDispose() { recvr.onUpdate -= recvr_onUpdate; recvr.bRunThread = false; recvr.Dispose(); recvr = null; base.Dispose(); }
public void myDispose() { dataAccess.Dispose(); recvr.onUpdate -= recvr_onUpdate; recvr.StopReceive(); recvr.Dispose(); recvr = null; base.Dispose(); }
public cpuMonRcvForm() { InitializeComponent(); //dataGridView1.AutoGenerateColumns = false; //DataColumn dc = new DataColumn("ProcID"); //dataGridView1.Columns.Add(dc); //dataGridView1. //the plot graph c2DPushGraph1.MaxLabel = "3000"; c2DPushGraph1.MaxPeekMagnitude = 3000; c2DPushGraph1.MinPeekMagnitude = 0; c2DPushGraph1.MinLabel = "0"; dataQueue = new Queue<ProcessStatistics.process_statistics>(); dataAccess = new DataAccess(this.dataGridView1, ref dataQueue); recvr = new RecvBroadcst(); recvr.onUpdate += new RecvBroadcst.delegateUpdate(recvr_onUpdate); recvr.onEndOfTransfer += new RecvBroadcst.delegateEndOfTransfer(recvr_onEndOfTransfer); }
public cpuMonRcvForm() { InitializeComponent(); //dataGridView1.AutoGenerateColumns = false; //DataColumn dc = new DataColumn("ProcID"); //dataGridView1.Columns.Add(dc); //dataGridView1. //the plot graph c2DPushGraph1.MaxLabel = "3000"; c2DPushGraph1.MaxPeekMagnitude = 3000; c2DPushGraph1.MinPeekMagnitude = 0; c2DPushGraph1.MinLabel = "0"; dataQueue = new Queue <ProcessStatistics.process_statistics>(); dataAccess = new DataAccess(this.dataGridView1, ref dataQueue); recvr = new RecvBroadcst(); recvr.onUpdate += new RecvBroadcst.delegateUpdate(recvr_onUpdate); recvr.onEndOfTransfer += new RecvBroadcst.delegateEndOfTransfer(recvr_onEndOfTransfer); }
public frmMain() { InitializeComponent(); //the plot graph c2DPushGraph1.AutoAdjustPeek = true; c2DPushGraph1.MaxLabel = "32"; c2DPushGraph1.MaxPeekMagnitude = 32; c2DPushGraph1.MinPeekMagnitude = 0; c2DPushGraph1.MinLabel = "0"; dataQueue = new Queue<VMusage.procVMinfo>(); dataAccess = new DataAccess(this.dataGridView1, ref dataQueue); recvr = new RecvBroadcst(); recvr.onUpdate += new RecvBroadcst.delegateUpdate(recvr_onUpdate); recvr.onUpdateBulk += new RecvBroadcst.delegateUpdateBulk(recvr_onUpdateBulk); recvr.onEndOfTransfer += new RecvBroadcst.delegateEndOfTransfer(recvr_onEndOfTransfer); recvr.onUpdateMem += new RecvBroadcst.delegateUpdateMem(recvr_onUpdateMem); dataAccess.newMsgEvent += new DataAccess.NewMessageEventHandler(dataAccess_newMsgEvent); }
public frmMain() { InitializeComponent(); //the plot graph c2DPushGraph1.AutoAdjustPeek = true; c2DPushGraph1.MaxLabel = "32"; c2DPushGraph1.MaxPeekMagnitude = 32; c2DPushGraph1.MinPeekMagnitude = 0; c2DPushGraph1.MinLabel = "0"; dataQueue = new Queue <VMusage.procVMinfo>(); dataAccess = new DataAccess(this.dataGridView1, ref dataQueue); recvr = new RecvBroadcst(); recvr.onUpdate += new RecvBroadcst.delegateUpdate(recvr_onUpdate); recvr.onUpdateBulk += new RecvBroadcst.delegateUpdateBulk(recvr_onUpdateBulk); recvr.onEndOfTransfer += new RecvBroadcst.delegateEndOfTransfer(recvr_onEndOfTransfer); recvr.onUpdateMem += new RecvBroadcst.delegateUpdateMem(recvr_onUpdateMem); dataAccess.newMsgEvent += new DataAccess.NewMessageEventHandler(dataAccess_newMsgEvent); }
public void myDispose() { recvr.onUpdate -= recvr_onUpdate; recvr.bRunThread = false; recvr.Dispose(); recvr = null; base.Dispose(); }
public void myDispose() { dataAccess.Dispose(); recvr.onUpdate -= recvr_onUpdate; recvr.StopReceive(); recvr.Dispose(); recvr = null; base.Dispose(); }