mirror of
https://github.com/ArduPilot/ardupilot
synced 2025-01-05 15:38:29 -04:00
43b4359b28
fixup mode names in joystick and flight data add mavlink 0.9/1.0 error message
23 lines
486 B
C#
23 lines
486 B
C#
using System;
|
|
using System.Collections.Generic;
|
|
using System.Linq;
|
|
using System.Text;
|
|
|
|
namespace System.Windows.Forms
|
|
{
|
|
/// <summary>
|
|
/// This is a mono fix, windows handles this error, mono crashs
|
|
/// </summary>
|
|
public class MyUserControl : System.Windows.Forms.UserControl
|
|
{
|
|
protected override void WndProc(ref Message m)
|
|
{
|
|
try
|
|
{
|
|
base.WndProc(ref m);
|
|
}
|
|
catch { }
|
|
}
|
|
}
|
|
}
|