BetterExplorer.MainWindow.btnManageLib_Click C# (CSharp) Method

btnManageLib_Click() private method

private btnManageLib_Click ( object sender, RoutedEventArgs e ) : void
sender object
e RoutedEventArgs
return void
    private void btnManageLib_Click(object sender, RoutedEventArgs e) {
      this._ShellListView.CurrentRefreshedItemIndex = this._ShellListView.GetFirstSelectedItemIndex();
      try {
        ShellLibrary.ShowManageLibraryUI(_ShellListView.GetFirstSelectedItem().ComInterface,
                                        this.Handle, "Choose which folders will be in this library", "A library gathers content from all of the folders listed below and puts it all in one window for you to see.", true);
      } catch {
        ShellLibrary.ShowManageLibraryUI(_ShellListView.CurrentFolder.ComInterface,
                                        this.Handle, "Choose which folders will be in this library", "A library gathers content from all of the folders listed below and puts it all in one window for you to see.", true);
      }
    }
MainWindow