Archived
Changed: correct blank product names from shortcut
This commit is contained in:
1 parent
557395b941
commit
3a2ee532c7
9 files changed
+369
-76
No files matched your search
@@ -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()
|
||||
{
|
||||
|
||||
@@ -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);
|
||||
|
||||
@@ -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);
|
||||
|
||||
@@ -89,6 +89,11 @@ namespace AppLauncher.Windows.Forms
|
||||
// do nothing
|
||||
}
|
||||
}
|
||||
|
||||
if (string.IsNullOrWhiteSpace(model.Title))
|
||||
{
|
||||
model.Title = Path.GetFileNameWithoutExtension(fileList[0]);
|
||||
}
|
||||
}
|
||||
|
||||
this.AddTile(model);
|
||||
|
||||
Reference in new issue
Block a user