24 lines
539 B
C#
24 lines
539 B
C#
using System.Configuration;
|
|
using System.Data;
|
|
using System.Windows;
|
|
using GifResizer.Service;
|
|
using GifResizer.ViewModels;
|
|
using GifResizer.Views;
|
|
|
|
namespace GifResizer;
|
|
|
|
/// <summary>
|
|
/// Interaction logic for App.xaml
|
|
/// </summary>
|
|
public partial class App : Application
|
|
{
|
|
protected override void OnStartup(StartupEventArgs e)
|
|
{
|
|
base.OnStartup(e);
|
|
|
|
var viewModel = new MainViewModel(new ResizeService());
|
|
var mainWindow = new MainWindow(viewModel);
|
|
|
|
mainWindow.Show();
|
|
}
|
|
} |