I have added a System.Windows.Forms.StatusStrip to a dialog:
this.stsStrip = new System.Windows.Forms.StatusStrip();
this.lblStsStrip = new System.Windows.Forms.ToolStripStatusLabel();
...
this.stsStrip.ImageScalingSize = new System.Drawing.Size(20,20);
this.stsStrip.Items.AddRange(new System.Windows.Forms.ToolStripItem[] {
this.lblStsStrip});
this.stsStrip.Location = new System.Drawing.Point(0, 529);
this.stsStrip.Name = "stsStrip";
this.stsStrip.Padding = new System.Windows.Forms.Padding(1, 0, 10, 0);
this.stsStrip.Size = new System.Drawing.Size(596,22);
this.stsStrip.TabIndex = 1;
...
this.lblStsStrip.Name = "lblStsStrip";
this.lblStsStrip.Size = new System.Drawing.Sie(118, 17);
this.lblStsStrip.Text = "...";
The above code is generated by the IDE. The problem I have is that when I assign text to the status label lblStsStrip it seems to be automatically removed after a couple of seconds, I’ve searched my code and I cannot see why this is happening, is this some automatic feature I don’t know about and can I stop it?