public ConEmuControl()
{
SetStyle(ControlStyles.AllPaintingInWmPaint | ControlStyles.UserPaint | ControlStyles.Opaque | ControlStyles.Selectable, true);
// Prevent downsizing to zero because the current ConEmu implementation asserts on its HWND having positive dimensions
#pragma warning disable once VirtualMemberCallInContructor
MinimumSize = new Size(1, 1);
}