mirror of
https://github.com/stuff-by-3-random-dudes/UWUVCI-AIO-WPF
synced 2024-12-13 13:02:29 +00:00
52 lines
1.2 KiB
C#
52 lines
1.2 KiB
C#
|
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);
|
|||
|
}
|
|||
|
}
|
|||
|
}
|