private void btn_EditDescription_Click(object sender, RoutedEventArgs e)
        {
            DescriptionEditor editor = new DescriptionEditor(txt_Description.Text);

            editor.ShowDialog();
            if (editor.isAccepted == true)
            {
                txt_Description.Text = editor.description;
            }
        }
        private void btn_EditDescription_Click(object sender, RoutedEventArgs e)
        {
            DescriptionEditor editor = new DescriptionEditor(txt_Description.Text);

            editor.ShowDialog();
            if (editor.isAccepted == true)
            {
                if (selectedMaterial != null)
                {
                    selectedMaterial.Description = editor.description;
                    UpdateMaterialSettings();
                }
            }
        }