UWUVCI-AIO-WPF/UWUVCI AIO WPF/UI/Frames/InjectFrame.xaml.cs

53 lines
1.3 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;
using UWUVCI_AIO_WPF.Classes.ENUM;
namespace UWUVCI_AIO_WPF.UI.Frames
{
/// <summary>
/// Interaktionslogik für NDSFrame.xaml
/// </summary>
public partial class INJECTFRAME : Page, IDisposable
{
public INJECTFRAME(GameConsole console)
{
InitializeComponent();
if(console == GameConsole.N64)
{
fLoadConfig.Content = new InjectFrames.Configurations.N64Config();
}
else
{
fLoadConfig.Content = new InjectFrames.Configurations.OtherConfigs();
}
fBaseFrame.Content = new InjectFrames.Bases.BaseContainerFrame(console);
}
public void Dispose()
{
}
private void Button_Click(object sender, RoutedEventArgs e)
{
//import config
}
private void Button_Click_1(object sender, RoutedEventArgs e)
{
//Export config
}
}
}