private void Btn_C1_C4_Click(object sender, RoutedEventArgs e)
        {
            MaterialEndofLifePicker materialEndofLifePicker = new MaterialEndofLifePicker(txt_C1_C4_Setting.Text, Utils.ConvertMeToDouble(txt_C1_C4.Text));

            materialEndofLifePicker.ShowDialog();
            if (materialEndofLifePicker.isAccepted == true)
            {
                //selectedMaterial.Category = materialTransportPicker.selectedBaseMaterial.Category;
                selectedMaterial.ECI_C1C4 = materialEndofLifePicker.Value;
                selectedMaterial.SetProperty("ECI_C1C4_Settings", materialEndofLifePicker.Settings);
            }
            UpdateMaterialSettings();
        }
        private void Btn_C1_C4_Click(object sender, RoutedEventArgs e)
        {
            MaterialEndofLifePicker materialEndofLifePicker = new MaterialEndofLifePicker(selectedMaterial);

            materialEndofLifePicker.ShowDialog();
            if (materialEndofLifePicker.isAccepted == true)
            {
                chx_C1_C4_Manual.IsChecked         = false;
                selectedMaterial.ECI_C1C4_Override = false;

                selectedMaterial.materialC1C4Properties = materialEndofLifePicker.eolProperties;
                selectedMaterial.ECI_C1C4 = selectedMaterial.materialC1C4Properties.value;
            }
            UpdateMaterialSettings();
        }