wpf-demos/gridcontrol/App.xaml.cs

36 строки
1.0 KiB
C#

#region Copyright Syncfusion Inc. 2001-2024.
// Copyright Syncfusion Inc. 2001-2024. All rights reserved.
// Use of this code is subject to the terms of our license.
// A copy of the current license can be obtained at any time by e-mailing
// licensing@syncfusion.com. Any infringement will be prosecuted under
// applicable laws.
#endregion
using System;
using System.Collections.Generic;
using System.Configuration;
using System.Data;
using System.Linq;
using System.Threading.Tasks;
using System.Windows;
using syncfusion.demoscommon.wpf;
namespace syncfusion.gridcontroldemos.wpf
{
/// <summary>
/// Interaction logic for App.xaml
/// </summary>
public partial class App : Application
{
public App()
{
LicenseKeyLocator.FindandRegisterLicenseKey();
}
protected override void OnStartup(StartupEventArgs e)
{
var window = new MainWindow(new GridControlDemosViewModel());
window.Show();
base.OnStartup(e);
}
}
}