添加提示对话框

This commit is contained in:
ww-rm
2025-03-04 11:20:25 +08:00
parent 0141f69c2a
commit 88e425fbdf

View File

@@ -86,6 +86,7 @@ namespace SpineViewer.Dialogs
var properties = selectedObject.GetType().GetProperties();
var result = string.Join(Environment.NewLine, properties.Select(p => $"{p.Name}\t{p.GetValue(selectedObject)?.ToString()}"));
Clipboard.SetText(result);
MessageBox.Show(this, "已复制", "提示信息", MessageBoxButtons.OK, MessageBoxIcon.Information);
}
}
}