I have a program that contains a statusbar (ToolStripStatusLabel
) which while testing one day, the program threw the "index out of range" exception and told me I could either continue or quit. I clicked continue and the status bar turned into a blank control with a red cross through it.
I think it may be related to this question here: "Red Cross" problem on MenuStrip and ToolStrip
But I don't understand the answer, nor do I really know what the cause of it was, as I really do not do anything to the status strip besides assigning the text to some error message or notice to tell the user what is going on with the program.
Any information is greatly appreciated. It happened only once but it's gonna bother me for the next while if I don't know why it did that.
I'm using .NET 3.5 SP1 C#