Tech Off Post

Single Post Permalink

View Thread: Microsoft Visual C# (today error)
  • User profile image
    Ion Todirel

    Beetlejuice wrote:

    private void InitializeComponent()
            {
                System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(Form1));
                this.statusStrip1 = new System.Windows.Forms.StatusStrip();
                this.toolStripSplitButton1 = new System.Windows.Forms.ToolStripSplitButton();
                this.statusStrip1.SuspendLayout();
                this.SuspendLayout();
                //
                // statusStrip1
                // 


                this.statusStrip1.Items.AddRange(new System.Windows.Forms.ToolStripItem[] {
                this.toolStripSplitButton1});
                this.statusStrip1.Location = new System.Drawing.Point(0, 121);
                this.statusStrip1.Name = "statusStrip1";
                this.statusStrip1.Size = new System.Drawing.Size(263, 22);
                this.statusStrip1.TabIndex = 0;
                this.statusStrip1.Text = "statusStrip1";
                //
                // toolStripSplitButton1
                //
                this.toolStripSplitButton1.DisplayStyle = System.Windows.Forms.ToolStripItemDisplayStyle.Image;
                this.toolStripSplitButton1.Image = ((System.Drawing.Image)(resources.GetObject("toolStripSplitButton1.Image")));
                this.toolStripSplitButton1.ImageTransparentColor = System.Drawing.Color.Magenta;
                this.toolStripSplitButton1.Name = "toolStripSplitButton1";
                this.toolStripSplitButton1.Size = new System.Drawing.Size(32, 20);
                this.toolStripSplitButton1.Text = "toolStripSplitButton1";
                //
                // Form1
                //
                this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F);
                this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
                this.ClientSize = new System.Drawing.Size(263, 143);
                this.Controls.Add(this.statusStrip1);
                this.Name = "Form1";
                this.Text = "Form1";
                this.statusStrip1.ResumeLayout(false);
                this.statusStrip1.PerformLayout();
                this.ResumeLayout(false);
                this.PerformLayout();

            }

    works on me. May check different versions of that project if you use a source control and ...