Esempio n. 1
0
        public MainWindow()
        {
            InitializeComponent();

            GridView myGridView = new GridView();

            myGridView.AllowsColumnReorder = true;
            myGridView.ColumnHeaderToolTip = "INPUT_FILES";

            myGridView.Columns.Add(new GridViewColumn
            {
                Header = "FILE_NAME",
                DisplayMemberBinding = new Binding("FILE_NAME")
            });

            lvInputFiles.View = myGridView;

            dtInputFiles             = MyMethods.BuildFileList(tbInputFiles.Text, dtInputFiles);
            lvInputFiles.ItemsSource = dtInputFiles.DefaultView;
        }
Esempio n. 2
0
 private void tbInputFiles_KeyUp(object sender, KeyEventArgs e)
 {
     dtInputFiles             = MyMethods.BuildFileList(tbInputFiles.Text, dtInputFiles);
     lvInputFiles.ItemsSource = dtInputFiles.DefaultView;
 }