private void displayNextMsgInvoker(GetNextMessageCallback getNextMsgCb) { DisplayNextMsgCallback cb = new DisplayNextMsgCallback(displayNextMsg); SafeInvoker si = new SafeInvoker(this); si.Invoke(cb, new object[] { getNextMsgCb }); }
// Methods to add text to backup richtextbox private void displayNextMsg(GetNextMessageCallback getNextMsgCb) { MsgDisplayInfo di = getNextMsgCb(); di.MsgFunction(di.MsgText); }