using System; using System.Collections.Generic; using System.Text; using System.ComponentModel; using System.Windows.Forms; using System.Drawing; namespace EGCL2 { // Forma base public class WinFormaBase:Form { public WinFormaBase() { this.Width = 511; this.Height = 371; this.Text = "WinFormaBase"; // Añado un boton // egButton btnSalir = new egButton(); // btnSalir.Left = 414; // btnSalir.Top = 297; // this.Controls.Add(btnSalir); } private void InitializeComponent() { this.SuspendLayout(); // // WinFormaBase // this.ClientSize = new System.Drawing.Size(503, 337); this.Name = "WinFormaBase"; this.Load += new System.EventHandler(this.WinFormaBase_Load); this.ResumeLayout(false); } private void WinFormaBase_Load(object sender, EventArgs e) { } } // fin winformabase }Enmanuel