/// <summary>
        /// 
        /// </summary>
        /// <param name="element">The ElementRuntime that is selected</param>
        public EntityControlControls(ElementRuntime element, RuntimeOptions runtimeOptions)
        {
            mRuntimeOptions = runtimeOptions;
            InitializeComponent();

            TypeOfAction = ActionType.None;
            unselectedButtonColor = noneButton.BackColor;
            noneButton.BackColor = Color.Red;

            currentElementRuntime = element;

            mPropertyGridManager = new PropertyGridManager(propertyGrid1, runtimeOptions);
        }
Ejemplo n.º 2
0
        /// <summary>
        ///
        /// </summary>
        /// <param name="element">The ElementRuntime that is selected</param>
        public EntityControlControls(ElementRuntime element, RuntimeOptions runtimeOptions)
        {
            mRuntimeOptions = runtimeOptions;
            InitializeComponent();

            TypeOfAction          = ActionType.None;
            unselectedButtonColor = noneButton.BackColor;
            noneButton.BackColor  = Color.Red;

            currentElementRuntime = element;

            mPropertyGridManager = new PropertyGridManager(propertyGrid1, runtimeOptions);
        }