58 lines
1.4 KiB
C#
58 lines
1.4 KiB
C#
// Copyright (c) 2017- schick Informatik
|
|
// Description: Dialog to confirm values during excel import (e.g. CREW/PAS)
|
|
//
|
|
|
|
using System;
|
|
using System.Collections.Generic;
|
|
using System.Linq;
|
|
using System.Text;
|
|
using System.Threading.Tasks;
|
|
using System.Windows;
|
|
using System.Windows.Controls;
|
|
using System.Windows.Data;
|
|
using System.Windows.Documents;
|
|
using System.Windows.Input;
|
|
using System.Windows.Media;
|
|
using System.Windows.Media.Imaging;
|
|
using System.Windows.Shapes;
|
|
|
|
using ENI2.Controls;
|
|
|
|
namespace ENI2.EditControls
|
|
{
|
|
/// <summary>
|
|
/// Interaction logic for FixImportDialog.xaml
|
|
/// </summary>
|
|
public partial class FixImportDialog : EditWindowBase
|
|
{
|
|
public FixImportDialog()
|
|
{
|
|
InitializeComponent();
|
|
this.comboBoxValues.ItemsSource = this.SelectionValues;
|
|
}
|
|
|
|
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.textBlockValue.Text; }
|
|
set { this.textBlockValue.Text = value; }
|
|
}
|
|
|
|
public Dictionary<string, string> SelectionValues { get; set; }
|
|
|
|
}
|
|
}
|