wpf-demos/ribbon/App.xaml.cs

30 строки
881 B
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.Windows;
namespace syncfusion.ribbondemos.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 RibbonDemosViewModel());
window.Show();
base.OnStartup(e);
}
}
}