Skip to content

Commit 432f12e

Browse files
committed
Place UpdateFormText() properly in the code
1 parent 0040cf9 commit 432f12e

File tree

1 file changed

+12
-12
lines changed

1 file changed

+12
-12
lines changed

mfs_gui/MainForm.cs

Lines changed: 12 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -30,18 +30,6 @@ public MainForm()
3030
InitializeComponent();
3131
}
3232

33-
private void UpdateFormText()
34-
{
35-
if (Program.IsDiskLoaded())
36-
{
37-
this.Text = "64DD MFS Manager - " + (changed ? "*" : "") + "[" + Program.GetDiskFilename() + "]";
38-
}
39-
else
40-
{
41-
this.Text = "64DD MFS Manager";
42-
}
43-
}
44-
4533
private void openToolStripMenuItem_Click(object sender, EventArgs e)
4634
{
4735
OpenFileDialog ofs = new OpenFileDialog();
@@ -317,5 +305,17 @@ private void UpdateStatusBar()
317305
statusStrip1.Items.Add("Free Space: " + Math.Floor((Program.GetCapacitySize() - Program.GetUsedSpaceSize()) / 100000f) / 10f + " MB");
318306
}
319307
}
308+
309+
private void UpdateFormText()
310+
{
311+
if (Program.IsDiskLoaded())
312+
{
313+
this.Text = "64DD MFS Manager - " + (changed ? "*" : "") + "[" + Program.GetDiskFilename() + "]";
314+
}
315+
else
316+
{
317+
this.Text = "64DD MFS Manager";
318+
}
319+
}
320320
}
321321
}

0 commit comments

Comments
 (0)