... hallo liebe coder, ich bin verzweifelt.
es kann doch nicht sein, dass ich bei VS2008 mit dem designer einen button auf meine Form ziehe und dieser nach dem kompilieren nicht angezeigt wird. Eigentlich wollte ich ein contextmenu erstellen, bis ich schließlich gemerkt habe, dass kein tool, control oder was auch immer angezeigt wird, was ich auf die form ziehe...
es ist doch alles gesetzt,
auch mit .Show() und .Visible=true habe ich schon gearbeitet, lächerlich...
hiiiilfe...
wo ist der fehler?
1: 2: 3: 4: 5: 6: 7: 8: 9: 10: 11: 12: 13: 14: 15: 16: 17: 18: 19: 20: 21: 22: 23: 24: 25: 26: 27: 28: 29: 30: 31: 32: 33: 34: 35: 36: 37: 38: 39: 40: 41: 42: 43: 44: 45: 46: 47: 48: 49: 50: 51: 52: 53: 54: 55: 56: 57: 58: 59: 60: 61: 62: 63: 64:
| namespace WindowsFormsApplication1 { partial class Form1 { private System.ComponentModel.IContainer components = null;
protected override void Dispose(bool disposing) { if (disposing && (components != null)) { components.Dispose(); } base.Dispose(disposing); }
#region Vom Windows Form-Designer generierter Code
private void InitializeComponent() { this.button1 = new System.Windows.Forms.Button(); this.SuspendLayout(); this.button1.Location = new System.Drawing.Point(96, 97); this.button1.Name = "button1"; this.button1.Size = new System.Drawing.Size(75, 23); this.button1.TabIndex = 0; this.button1.Text = "button1"; this.button1.UseVisualStyleBackColor = true; this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F); this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font; this.ClientSize = new System.Drawing.Size(292, 273); this.Controls.Add(this.button1); this.Name = "Form1"; this.Text = "Form1"; this.Load += new System.EventHandler(this.Form1_Load); this.ResumeLayout(false);
}
#endregion
private System.Windows.Forms.Button button1;
} } |
Moderiert von
Narses: Titel geändert.