// Copyright (c) 2017- schick Informatik
// Description: Dialog to confirm values during excel import (e.g. CREW/PAS)
//
using ENI2.Controls;
using System.Collections.Generic;
using System.Windows;
namespace ENI2.EditControls
{
///
/// Interaction logic for FixImportDialog.xaml
///
public partial class FixImportDialog : EditWindowBase
{
public FixImportDialog()
{
InitializeComponent();
}
public string SelectedValue
{
get
{
return this.comboBoxValues.SelectedValue as string;
}
}
public string Value
{
get { return this.textBlockValue.Text; }
set { this.textBlockValue.Text = value.Trim(); }
}
public string ValueType
{
get { return this.textBlockType.Text; }
set { this.textBlockType.Text = value; }
}
public Dictionary SelectionValues { get; set; }
private void EditWindowBase_Loaded(object sender, RoutedEventArgs e)
{
this.comboBoxValues.ItemsSource = this.SelectionValues;
this.comboBoxValues.Focus();
}
}
}