mirror of
https://github.com/stuff-by-3-random-dudes/UWUVCI-AIO-WPF
synced 2024-12-13 21:12:28 +00:00
e6793babfa
TODO: GBA; NES; SNES Injection Image fix Custom base [NUS & LOADIINE] Config feature AutoUpdater
65 lines
1.6 KiB
C#
65 lines
1.6 KiB
C#
using System;
|
|
using System.Collections.Generic;
|
|
using System.Diagnostics;
|
|
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;
|
|
using UWUVCI_AIO_WPF.UI.Windows;
|
|
|
|
|
|
namespace UWUVCI_AIO_WPF.UI.Frames
|
|
{
|
|
/// <summary>
|
|
/// Interaktionslogik für SettingsFrame.xaml
|
|
/// </summary>
|
|
public partial class SettingsFrame : Page, IDisposable
|
|
{
|
|
MainWindow parent;
|
|
public SettingsFrame(MainWindow mw)
|
|
{
|
|
InitializeComponent();
|
|
parent = mw;
|
|
}
|
|
public void Dispose()
|
|
{
|
|
|
|
}
|
|
|
|
private void Button_Click(object sender, RoutedEventArgs e)
|
|
{
|
|
TitleKeys tk = new TitleKeys();
|
|
tk.ShowDialog();
|
|
}
|
|
|
|
private void Button_Click_1(object sender, RoutedEventArgs e)
|
|
{
|
|
MainViewModel mvm = FindResource("mvm") as MainViewModel;
|
|
mvm.EnterKey(true);
|
|
}
|
|
|
|
private void Button_Click_2(object sender, RoutedEventArgs e)
|
|
{
|
|
parent.paths(false);
|
|
}
|
|
|
|
private void Button_Click_3(object sender, RoutedEventArgs e)
|
|
{
|
|
MainViewModel mvm = FindResource("mvm") as MainViewModel;
|
|
mvm.UpdateBases();
|
|
}
|
|
|
|
private void Button_Click_4(object sender, RoutedEventArgs e)
|
|
{
|
|
Process.Start(@"Tools\INICreator.exe");
|
|
}
|
|
}
|
|
}
|