UWUVCI-AIO-WPF/UWUVCI AIO WPF/UI/Frames/Path/Paths.xaml.cs

52 lines
1.2 KiB
C#
Raw Normal View History

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
{
/// <summary>
/// Interaktionslogik für Paths.xaml
/// </summary>
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);
}
}
}