/// <summary> /// Fired when the DirectX device is reset. /// </summary> /// <param name="args">The <see cref="EventArgs" /> instance containing the event data.</param> private static void DrawingOnOnPostReset(EventArgs args) { BoxLine.OnResetDevice(); TextFont.OnResetDevice(); }