Changed: correct blank product names from shortcut

This commit is contained in:
Ray committed 2020-05-17 16:48:04 +01:00
1 parent 557395b941
commit 3a2ee532c7
9 files changed
+369 -76

No files matched your search

+4 -1
View File
@@ -13,12 +13,15 @@ namespace AppLauncher.Windows.Forms
protected readonly int titleBarHeight = 56;
private bool isDragging = false;
private Point startPosition = new Point();
protected bool isBusy = false;
protected internal RyzStudio.Windows.Forms.TImageBox imageBox3;
protected internal RyzStudio.Windows.Forms.TImageBox imageBox2;
protected internal RyzStudio.Windows.Forms.TImageBox imageBox1;
private NotifyIcon notifyIcon1;
private IContainer components;
private Point startPosition = new Point();
public AForm() : base()
{
+6
View File
@@ -267,6 +267,12 @@ namespace AppLauncher.Windows.Forms
// do nothing
}
}
if (string.IsNullOrWhiteSpace(model.Title))
{
model.Title = Path.GetFileNameWithoutExtension(fileList[0]);
}
}
listBox1.ListBox.Items.Add(model);
+5
View File
@@ -288,6 +288,11 @@ namespace AppLauncher.Windows.Forms
// do nothing
}
}
if (string.IsNullOrWhiteSpace(model.Title))
{
model.Title = Path.GetFileNameWithoutExtension(fileList[0]);
}
}
listBox1.ListBox.Items.Add(model);
+5
View File
@@ -89,6 +89,11 @@ namespace AppLauncher.Windows.Forms
// do nothing
}
}
if (string.IsNullOrWhiteSpace(model.Title))
{
model.Title = Path.GetFileNameWithoutExtension(fileList[0]);
}
}
this.AddTile(model);