Here's how this exception was created. Collapsing the display, switching to
Panafall and then back to Panadapter.
************** Exception Text **************
System.IndexOutOfRangeException: Index was outside the bounds of the array.
at PowerSDR.Console.AdjustDisplayDataForBandEdge(Single[]& display_data)
at PowerSDR.Display.DrawPanadapter(Graphics g, Int32 W, Int32 H, Int32 rx, Boolean bottom)
at PowerSDR.Display.RenderGDIPlus(PaintEventArgs& e)
at PowerSDR.Console.picDisplay_Paint(Object sender, PaintEventArgs e)
at System.Windows.Forms.Control.OnPaint(PaintEventArgs e)
at System.Windows.Forms.PictureBox.OnPaint(PaintEventArgs pe)
at System.Windows.Forms.Control.PaintWithErrorHandling(PaintEventArgs e, Int16 layer, Boolean disposeEventArgs)
at System.Windows.Forms.Control.WmPaint(Message& m)
at System.Windows.Forms.Control.WndProc(Message& m)
at System.Windows.Forms.Control.ControlNativeWindow.OnMessage(Message& m)
at System.Windows.Forms.Control.ControlNativeWindow.WndProc(Message& m)
at System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)
Original issue reported on code.google.com by Gary.Her...@gmail.com on 10 Mar 2012 at 7:58
Original issue reported on code.google.com by
Gary.Her...@gmail.com
on 10 Mar 2012 at 7:58