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 namespace PostmanCloneUI
{ {
partial class Form1 partial class Dashboard
{ {
/// <summary> /// <summary>
/// Required designer variable. /// Required designer variable.
@ -28,10 +28,18 @@
/// </summary> /// </summary>
private void InitializeComponent() private void InitializeComponent()
{ {
this.components = new System.ComponentModel.Container(); SuspendLayout();
this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font; //
this.ClientSize = new System.Drawing.Size(800, 450); // Dashboard
this.Text = "Form1"; //
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 #endregion

View File

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

View File

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

View File

@ -1,17 +1,16 @@
namespace PostmanCloneUI namespace PostmanCloneUI;
internal static class Program
{ {
internal static class Program /// <summary>
/// The main entry point for the application.
/// </summary>
[STAThread]
static void Main()
{ {
/// <summary> // To customize application configuration such as set high DPI settings or default font,
/// The main entry point for the application. // see https://aka.ms/applicationconfiguration.
/// </summary> ApplicationConfiguration.Initialize();
[STAThread] Application.Run(new Dashboard());
static void Main()
{
// To customize application configuration such as set high DPI settings or default font,
// see https://aka.ms/applicationconfiguration.
ApplicationConfiguration.Initialize();
Application.Run(new Form1());
}
} }
} }