Skip to content

Commit

Permalink
Updates
Browse files Browse the repository at this point in the history
  • Loading branch information
CatmanFan committed Apr 21, 2024
1 parent 3ae5826 commit d8cd49d
Show file tree
Hide file tree
Showing 11 changed files with 274 additions and 315 deletions.
22 changes: 11 additions & 11 deletions FriishProduce/MainForm.Designer.cs

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

7 changes: 6 additions & 1 deletion FriishProduce/MainForm.cs
Original file line number Diff line number Diff line change
Expand Up @@ -133,12 +133,17 @@ private void RefreshForm()
welcome_do_not_show.Text = Program.Lang.String("do_not_show");
#endregion


foreach (MdiTabControl.TabPage tabPage in tabControl.TabPages)
{
if (tabPage.Form.GetType() == typeof(ProjectForm))
(tabPage.Form as ProjectForm).RefreshForm();
}

MenuStrip.Font = ToolStrip.Font = Font;
using (var pj = new ProjectForm(0))
Size = new Size(pj.Width + 16, pj.Height + MenuStrip.Height + ToolStrip.Height + tabControl.TabHeight + 40);
welcome.Location = new Point((MainPanel.Width / 2) - (welcome.Width / 2), (MainPanel.Height / 2) - (welcome.Height / 2) - 15);
welcome_do_not_show.Location = new Point(welcome.Location.X + 104, welcome.Location.Y + 96);
}

public MainForm()
Expand Down
Loading

0 comments on commit d8cd49d

Please sign in to comment.