예제 #1
0
        /// <summary>
        /// Initialise a new propertyform, customizing the supplied object.
        /// </summary>
        /// <param name="customisedObject"></param>
        public PropertyGridForm(object customisedObject)
        {
            InitializeComponent();

            this.CustomisedObject = customisedObject;
            propertyGrid.CollapseAllGridItems();
        }
예제 #2
0
 private void Sample_Properties_Load(object sender, System.EventArgs e)
 {
     propGrid.CollapseAllGridItems();
 }