Esempio n. 1
0
        public override bool SetProperty(string propertyName, string value, string[] source, ref int line)
        {
            // Derived classes should attempt to SetProperty first, and call into this class if they can't
            switch (propertyName)
            {
            case "Event Header":
                m_header = new EventHeader();
                m_header.Parse(source, ref line, OwnerProject);
                break;

            default:
                return(false);
            }

            return(true);
        }
Esempio n. 2
0
		public override bool SetProperty( string propertyName, string value, string[] source, ref int line )
		{
			// Derived classes should attempt to SetProperty first, and call into this class if they can't
			switch ( propertyName )
			{
				case "Event Header":
					m_header = new EventHeader();
					m_header.Parse( source, ref line, OwnerProject );
					break;

				default:
					return false;
			}

			return true;
		}