Skip to content

Commit ea7b627

Browse files
Refactor MainForm class and add dependencies
Convert MainForm from partial to regular class, otherwise the InitializeComponent method would be overwritten by the designer. With changes, this method might be ready for the designer, but it currently isn't.
1 parent 660c0a5 commit ea7b627

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Codebreaker.WinForms/MainForm.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ namespace Codebreaker.WinForms;
66
/// <summary>
77
/// Main form for the Codebreaker game.
88
/// </summary>
9-
public partial class MainForm : Form
9+
public class MainForm : Form
1010
{
1111
private readonly GamePageViewModel _viewModel;
1212
private readonly IInfoBarService _infoBarService;

0 commit comments

Comments
 (0)