mirror of
https://github.com/stuff-by-3-random-dudes/UWUVCI-AIO-WPF
synced 2024-11-24 03:53:03 +00:00
720cffa4cb
What does it do: Well you know you can set your paths! Checks on programm Startup if set folders still exist, if not it will not allow you to inject, since without those essential paths, it will not work. TODO: CustomBase in Loadiine format CustomBase in NUS Format Base Download Inject Proccess revamp Packing/Loadiine output Should be ready for beta test then
51 lines
1.2 KiB
C#
51 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);
|
|
}
|
|
}
|
|
}
|