using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; using System.Windows; using System.Windows.Controls; using System.Windows.Data; using System.Windows.Documents; using System.Windows.Input; using System.Windows.Media; using System.Windows.Media.Imaging; using System.Windows.Navigation; using System.Windows.Shapes; namespace UWUVCI_AIO_WPF.UI.Frames.Path { /// /// Interaktionslogik für Paths.xaml /// public partial class Paths : Page, IDisposable { MainWindow parent; MainViewModel mvm; public Paths(MainWindow mw) { InitializeComponent(); parent = mw; mvm = FindResource("mvm") as MainViewModel; } public void Dispose() { } private void Button_Click(object sender, RoutedEventArgs e) { mvm.SetBasePath(); } private void Button_Click_1(object sender, RoutedEventArgs e) { mvm.SetInjectPath(); } private void Button_Click_2(object sender, RoutedEventArgs e) { parent.paths(true); } } }