Esempio n. 1
0
        public Title_Panel_Element()
        {
            alternateTitles = new Element_Collection();

            // Set the type of this object
            base.type            = Element_Type.Title;
            base.display_subtype = "panel";

            // Set some immutable characteristics
            always_single    = true;
            always_mandatory = false;

            // Create the title element
            titleElement          = new Title_Element();
            titleElement.Location = new Point(0, 0);
            titleElement.Set_Font(Font);
            titleElement.Help_Requested += subElement_Help_Requested;
            titleElement.Data_Changed   += titleElement_Data_Changed;
            Controls.Add(titleElement);

            title = "Titles";
        }
Esempio n. 2
0
 /// <summary> Constructore creates a new abstract_Element_Collection_Enumerator to iterate through
 /// the <see cref="Element_Collection"/>. </summary>
 /// <param name="elementCollection"> <see cref="Element_Collection"/> to iterate through </param>
 public abstract_Element_Collection_Enumerator(Element_Collection elementCollection)
 {
     elements = elementCollection;
 }