示例#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;
        }
示例#2
0
        public override Dictionary <string, string> GetConfigurationReportProperties(Item item)
        {
            AssociatedProperties associatedProperties = new AssociatedProperties(item, _id);

            return(associatedProperties.Properties);
        }