private void OnUpdateFlagAndString(uint flag, StringBuilder str) { if ((flag == UpdateAnimClear || flag == UpdateAnimAdd)) { //AnimListBox.BeginInvoke(new PFN_UpdateFlagAndString(UpdateAnimList), flag, str); } else if (flag == UpdateMonitorTargetName) { MonitorPanel.BeginInvoke(new PFN_UpdateFlagAndString(UpdateMonitorTarget), flag, str); } else { throw new NotImplementedException(); } }
private void OnUpdatePosAndRot(float x, float y, float z, float pitch, float yaw, float roll) { MonitorPanel.BeginInvoke(new PFN_UpdatePosAndRot(InvokeUpdatePosAndRot), x, y, z, pitch, yaw, roll); }