public LinManipulator(LinViewer lvForm, OutputView ovForm) { mainForm = lvForm; outForm = ovForm; busOnEvent = new EventWaitHandle(false, EventResetMode.ManualReset); busOffEvent = new EventWaitHandle(false, EventResetMode.ManualReset); shutdownEvent = new EventWaitHandle(false, EventResetMode.ManualReset); adjustParamsEvent = new EventWaitHandle(false, EventResetMode.AutoReset); }
// constructor public OutputView(LinViewer lvForm) { InitializeComponent(); addMsgDelegate = new AddMsgDataDelegate(this.AddMessageData); this.FormClosing += new FormClosingEventHandler(this.FormClosingHandler); this.Resize += new EventHandler(this.ResizeHandler); HeaderLabel.Text = "Dir Ch Msg Id Flags Len CkSum Parity Data: 1 2 3 4 5 6 7 8 Time"; mainForm = lvForm; }