private void FindInterfaces(object sender, RoutedEventArgs e) { InterfacesListView interfacesView = new InterfacesListView(); interfacesView.Visibility = System.Windows.Visibility.Visible; interfacesView.ChooseInterfaceEvent += new InterfacesListView.ChooseInterfaceHandler(interfacesView_ChooseInterfaceEvent); }