Hi @BenTam-3003 , Welcome to Microsoft Q&A,
If you are referring to Schedule_Form.cs, I checked your designer.cs.
Found that your code is missing PerformLayout();
The entire modified code is:
namespace NewTims
{
partial class DaySchedule_Form
{
/// <summary>
/// Required designer variable.
/// </summary>
private System.ComponentModel.IContainer components = null;
/// <summary>
/// Clean up any resources being used.
/// </summary>
/// <param name="disposing">true if managed resources should be disposed; otherwise, false.</param>
protected override void Dispose(bool disposing)
{
if (disposing && (components != null))
{
components.Dispose();
}
base.Dispose(disposing);
}
#region Windows Form Designer generated code
/// <summary>
/// Required method for Designer support - do not modify
/// the contents of this method with the code editor.
/// </summary>
private void InitializeComponent()
{
System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(DaySchedule_Form));
SuspendLayout();
//
// DaySchedule_Form
//
AutoScaleDimensions = new SizeF(7F, 15F);
AutoScaleMode = AutoScaleMode.Font;
ClientSize = new Size(494, 195);
Icon = (Icon)resources.GetObject("$this.Icon");
Name = "DaySchedule_Form";
Text = "Day Schedule";
ResumeLayout(false);
}
#endregion
}
}
Best Regards,
Jiale
If the answer is the right solution, please click "Accept Answer" and kindly upvote it. If you have extra questions about this answer, please click "Comment".
Note: Please follow the steps in our documentation to enable e-mail notifications if you want to receive the related email notification for this thread.