Example #1
0
        /// <summary>
        /// Construtor
        /// </summary>
        public MainWindow()
        {
            InitializeComponent();
            DataContext = this;

#if DEBUG
            Title += "    Debug Version " + System.Reflection.Assembly.GetExecutingAssembly().GetName().Version;
#else
            Title += "    Release Version " + System.Reflection.Assembly.GetExecutingAssembly().GetName().Version;
#endif
            DataContext = this;

            ItemListToXml             = new ItemListToXml();
            ItemList                  = ItemListToXml.Load(ref selectedRegularExpression);
            SelectedRegularExpression = selectedRegularExpression;
            Event1Green               = Visibility.Hidden;
            Event1Red                 = Visibility.Hidden;
        }
 /// <summary>
 /// SetDefaultValues
 /// </summary>
 private void SetDefaultValues(ItemListToXml iltx)
 {
     iltx.ItemValues.Add(DELETE_COMMAND);
     iltx.SelectedItemValues = iltx.ItemValues[0];
 }