>using System; >using System.Collections.Generic; >using System.Text; >using System.Windows.Forms; >using System.Drawing; >using System.ComponentModel; > >namespace EGClases >{ > public class FormaBase:Form > { > private string m_FormCaption; > > public FormaBase() > { > } > > // Caption > [DefaultValue("Formabase1")] > public string FormCaption > { > get {return this.m_FormCaption;} > set { this.m_FormCaption = value; > base.Text = value; > } > } > > private void InitializeComponent() > { > System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(FormaBase)); > this.SuspendLayout(); > // > // FormaBase > // > this.ClientSize = new System.Drawing.Size(479, 313); > this.Icon = ((System.Drawing.Icon)(resources.GetObject("$this.Icon"))); > this.Name = "FormaBase"; > this.Text = "Formabase"; > this.Load += new System.EventHandler(this.FormaBase_Load); > this.ResumeLayout(false); > > } > > private void FormaBase_Load(object sender, EventArgs e) > { > > } > > > } >} >>