示例#1
0
        private void editDirectoryButton_Click(object sender, RoutedEventArgs e)
        {
            DirectoryEditorWindow window = new DirectoryEditorWindow(SamplifyEngine.directories.ToArray());

            if (window.ShowDialog() == true)
            {
                SamplifyEngine.directories = window.directories;
                SamplifyEngine.updateAllSamples();
                resetTreeView();
            }
        }
示例#2
0
        public MainWindow()
        {
            SamplifyEngine.loadUserData(); //loads saved directories
            SamplifyEngine.updateAllSamples();
            InitializeComponent();

            sampleListView.ItemsSource = SamplifyEngine.currentSamples;

            tagListView.ItemsSource = SamplifyEngine.allTags;
            //update listview


            //resetTreeView();
        }