-
-
Notifications
You must be signed in to change notification settings - Fork 1.1k
Expand file tree
/
Copy pathProgram.cs
More file actions
26 lines (23 loc) · 817 Bytes
/
Program.cs
File metadata and controls
26 lines (23 loc) · 817 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
// Copyright (c) 2025 .NET Foundation and Contributors. All rights reserved.
// Licensed to the .NET Foundation under one or more agreements.
// The .NET Foundation licenses this file to you under the MIT license.
// See the LICENSE file in the project root for full license information.
namespace ReactiveUI.Samples.Winforms;
/// <summary>
/// Application entry point demonstrating ReactiveUI builder initialization for WinForms.
/// </summary>
internal static class Program
{
/// <summary>
/// The main entry point for the application.
/// </summary>
[STAThread]
private static void Main()
{
RxAppBuilder.CreateReactiveUIBuilder()
.WithWinForms()
.BuildApp();
ApplicationConfiguration.Initialize();
Application.Run(new MainForm());
}
}