Wrapper class for ProjectInfo
상속: IWrapper
        /// <summary>
        /// Initialize PropertyGrid
        /// </summary>
        /// <param name="projectInfoWrapper">ProjectInfo wrapper</param>
        public ProjectInfoForm(ProjectInfoWrapper projectInfoWrapper)
            : this()
        {
            m_projectInfoWrapper = projectInfoWrapper;

            // Initialize propertyGrid with CustomDescriptor
            propertyGrid1.SelectedObject = new WrapperCustomDescriptor(m_projectInfoWrapper);
        }
예제 #2
0
        /// <summary>
        /// Initialize PropertyGrid
        /// </summary>
        /// <param name="projectInfoWrapper">ProjectInfo wrapper</param>
        public ProjectInfoForm(ProjectInfoWrapper projectInfoWrapper)
            : this()
        {
            m_projectInfoWrapper = projectInfoWrapper;

            // Initialize propertyGrid with CustomDescriptor
            propertyGrid1.SelectedObject = new WrapperCustomDescriptor(m_projectInfoWrapper);
        }