Exemplo n.º 1
0
        public CharacteristicQuantificationDetailsWpfControl(AimTemplateTreeCharacteristicQuantification characteristicQuantification)
        {
            CharacteristicQuantification = characteristicQuantification;

            InitializeComponent();

            _originalBackground = Background;

            _charQuantifiactionName.Text = string.IsNullOrEmpty(characteristicQuantification.Name) ? @"Characteristic name is missing:" : "Characteristic for " + characteristicQuantification.Name + ":";
            _quantificationType          = IdentifyCharQuantificationType();

            Loaded += CharacteristicQuantificationDetailsWpfControlLoaded;
        }
        public CharacteristicQuantificationDetailsWpfControl(AimTemplateTreeCharacteristicQuantification characteristicQuantification)
        {
            CharacteristicQuantification = characteristicQuantification;

            InitializeComponent();

            _originalBackground = Background;

            _charQuantifiactionName.Text = string.IsNullOrEmpty(characteristicQuantification.Name) ? @"Characteristic name is missing:" : "Characteristic for " + characteristicQuantification.Name + ":";
            _quantificationType = IdentifyCharQuantificationType();

            Loaded += CharacteristicQuantificationDetailsWpfControlLoaded;
        }