-
-
Notifications
You must be signed in to change notification settings - Fork 1.1k
Expand file tree
/
Copy pathMainForm.cs
More file actions
23 lines (21 loc) · 805 Bytes
/
MainForm.cs
File metadata and controls
23 lines (21 loc) · 805 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
// 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>
/// Main application form that hosts the login view.
/// </summary>
public sealed class MainForm : Form
{
/// <summary>
/// Initializes a new instance of the <see cref="MainForm"/> class.
/// </summary>
public MainForm()
{
Text = "ReactiveUI WinForms Login Sample";
ClientSize = new Size(300, 200);
StartPosition = FormStartPosition.CenterScreen;
Controls.Add(new LoginView { Dock = DockStyle.Fill });
}
}