wpf-demos/smithchart/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 syncfusion.demoscommon.wpf;
using System;
using System.Collections.Generic;
using System.Configuration;
using System.Data;
using System.Linq;
using System.Threading.Tasks;
using System.Windows;
namespace syncfusion.smithchartdemos.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 SmithChartDemosViewModel());
window.Show();
base.OnStartup(e);
}
}
}