Exemplo n.º 1
0
        public override void Init()
        {
            base.Init();
            _ignoreChanged = true;
            textBox1.Text  = "";
            textBox2.Text  = "";

            _associatedProperties = Configuration.Instance.GetAssociatedProperties(_associatedItem, AdminTabPluginDefinition.AdminTabPluginTabPlugin);
            if (_associatedProperties.Properties.ContainsKey("Property1"))
            {
                textBox1.Text = _associatedProperties.Properties["Property1"];
            }

            if (_associatedProperties.Properties.ContainsKey("Property2"))
            {
                textBox2.Text = _associatedProperties.Properties["Property2"];
            }
            _ignoreChanged = false;
        }
Exemplo n.º 2
0
        public override Dictionary <string, string> GetConfigurationReportProperties(Item item)
        {
            AssociatedProperties associatedProperties = new AssociatedProperties(item, _id);

            return(associatedProperties.Properties);
        }