Skip to content

Commit 5011978

Browse files
Application title now changes according to its status
1 parent d457147 commit 5011978

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

GIFPlayer/MainForm.cs

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -328,6 +328,7 @@ private void MainForm_DragDrop(object sender, DragEventArgs e)
328328

329329
private async void LoadFile(string path)
330330
{
331+
this.Text = "Loading - GIFPlayer";
331332
await Task.Run(() => manager.Set(path));
332333
timer.Interval = manager.Delay;
333334
seekbar.Maximum = manager.TotalFramesCount;
@@ -336,6 +337,7 @@ private async void LoadFile(string path)
336337
propertyButton.Enabled = true;
337338
seekbar.Enabled = true;
338339
controlButton.Enabled = true;
340+
this.Text = $"{ Path.GetFileName(manager.Path) } - GIFPlayer";
339341
Play();
340342
}
341343

0 commit comments

Comments
 (0)