Пример #1
0
        /// <summary>
        /// Open the editor form of property
        /// </summary>
        /// <param name="propertyName">Property name</param>
        /// <param name="value">PropertyValue</param>
        /// <returns>Value after configure</returns>
        public static object EditValue(string propertyName, PropertyClonableClass value)
        {
            PropertiesEditorForm form = new PropertiesEditorForm();

            form.BindData(propertyName, value);
            form.ShowDialog();
            return(form.GetValue());
        }