Initial project tweaks

Sets the UI and Library up to be in a good spot to start work
This commit is contained in:
2024-04-26 10:45:39 +02:00
parent 81d129713e
commit b584174707
5 changed files with 56 additions and 45 deletions

View File

@ -1,6 +1,6 @@
namespace PostmanCloneUI
{
partial class Form1
partial class Dashboard
{
/// <summary>
/// Required designer variable.
@ -28,10 +28,18 @@
/// </summary>
private void InitializeComponent()
{
this.components = new System.ComponentModel.Container();
this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
this.ClientSize = new System.Drawing.Size(800, 450);
this.Text = "Form1";
SuspendLayout();
//
// Dashboard
//
AutoScaleDimensions = new SizeF(13F, 32F);
AutoScaleMode = AutoScaleMode.Font;
ClientSize = new Size(892, 466);
Font = new Font("Segoe UI", 18F, FontStyle.Regular, GraphicsUnit.Point, 0);
Margin = new Padding(6, 6, 6, 6);
Name = "Dashboard";
Text = "Postman Clone by Tim Corey";
ResumeLayout(false);
}
#endregion

View File

@ -1,8 +1,8 @@
namespace PostmanCloneUI
{
public partial class Form1 : Form
public partial class Dashboard : Form
{
public Form1()
public Dashboard()
{
InitializeComponent();
}

View File

@ -8,4 +8,8 @@
<ImplicitUsings>enable</ImplicitUsings>
</PropertyGroup>
<ItemGroup>
<ProjectReference Include="..\PostmanCloneLibrary\PostmanCloneLibrary.csproj" />
</ItemGroup>
</Project>

View File

@ -1,5 +1,5 @@
namespace PostmanCloneUI
{
namespace PostmanCloneUI;
internal static class Program
{
/// <summary>
@ -11,7 +11,6 @@ namespace PostmanCloneUI
// To customize application configuration such as set high DPI settings or default font,
// see https://aka.ms/applicationconfiguration.
ApplicationConfiguration.Initialize();
Application.Run(new Form1());
}
Application.Run(new Dashboard());
}
}