Added search/find form

Added update-icon form
Changed build script
Removed unused offline references
This commit is contained in:
Ray committed 2024-07-18 17:28:21 +01:00
1 parent 9b7dd4bdc9
commit 9c461c74d1
9 files changed
+241 -99

No files matched your search

+21 -8
View File
@@ -202,6 +202,16 @@ namespace RyzStudio.Windows.Forms
[Browsable(false), DesignerSerializationVisibility(DesignerSerializationVisibility.Hidden)]
public ContextMenuStrip PageContextMenu { get; set; } = null;
[Browsable(false), DesignerSerializationVisibility(DesignerSerializationVisibility.Hidden)]
public new bool HasChanged
{
get => base.HasChanged;
set
{
base.HasChanged = value;
}
}
public TreeNode AddFolder(TreeNode node = null, string name = "", bool quol = true)
{
@@ -409,18 +419,21 @@ namespace RyzStudio.Windows.Forms
var iconIndex = (int)NodeIcon.Default;
// Update custom favicon
if (model.Icon != null)
var iconKey = model.Id.ToString();
if (!string.IsNullOrWhiteSpace(iconKey))
{
var iconKey = model.Id.ToString();
if (!string.IsNullOrWhiteSpace(iconKey))
UIControl.Invoke(this, (x) =>
{
if (this.ImageList.Images.ContainsKey(iconKey))
{
this.ImageList.Images.RemoveByKey(iconKey);
}
});
if (model.Icon != null)
{
UIControl.Invoke(this, (x) =>
{
if (this.ImageList.Images.ContainsKey(iconKey))
{
this.ImageList.Images.RemoveByKey(iconKey);
}
this.ImageList.Images.Add(iconKey, model.Icon);
});