コード例 #1
0
        public CustomPropertiesEditor(CustomPropertySchema schema, CustomProperties properties, CustomPropertyAppliesTo showPropertiesThatApplyTo)
        {
            InitializeComponent();
            _properties = properties;
            _schema     = schema;
            _showPropertiesThatApplyTo = showPropertiesThatApplyTo;

            propertyGrid.SelectedObject = new CustomPropertyBag(schema, _properties, _showPropertiesThatApplyTo);
        }
コード例 #2
0
        public CustomPropertiesEditor(CustomPropertySchema schema, CustomProperties properties, CustomPropertyAppliesTo showPropertiesThatApplyTo)
        {
            InitializeComponent();
            _properties = properties;
            _schema = schema;
            _showPropertiesThatApplyTo = showPropertiesThatApplyTo;

            propertyGrid.SelectedObject = new CustomPropertyBag(schema, _properties, _showPropertiesThatApplyTo);
        }
コード例 #3
0
 public CustomPropertyBag(CustomPropertySchema schema, CustomProperties properties, CustomPropertyAppliesTo showPropertiesThatApplyTo)
 {
     _properties = properties;
     _schema     = schema;
     _showPropertiesThatApplyTo = showPropertiesThatApplyTo;
 }
コード例 #4
0
ファイル: GUIController.cs プロジェクト: CisBetter/ags
 public void CustomPropertiesEditor(CustomProperties properties, CustomPropertyAppliesTo showPropertiesOfType)
 {
     AGS.Editor.CustomPropertiesEditor editor = new CustomPropertiesEditor(_agsEditor.CurrentGame.PropertySchema, properties, showPropertiesOfType);
     editor.ShowDialog();
     editor.Dispose();
 }
コード例 #5
0
ファイル: CustomPropertyBag.cs プロジェクト: smarinel/ags-web
 public CustomPropertyBag(CustomPropertySchema schema, CustomProperties properties, CustomPropertyAppliesTo showPropertiesThatApplyTo)
 {
     _properties = properties;
     _schema = schema;
     _showPropertiesThatApplyTo = showPropertiesThatApplyTo;
 }