UWUVCI-AIO-WPF/UWUVCI AIO WPF/UI/Frames/Path/Paths.xaml.cs
NicoAICP 720cffa4cb Path setting now works!
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
2020-04-02 21:45:24 +02:00

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);
}
}
}