181210 chi NR구매등록시 이미지 표시 및 추가 기능

NR구매목록에서 권한 없는 사람이 더블클릭으로 편집할 수 있는 버그 수정
This commit is contained in:
chikyun.kim
2018-12-10 12:29:18 +09:00
parent 43841e6c52
commit 6b374123fd
184 changed files with 78917 additions and 70460 deletions

View File

@@ -1,41 +1,41 @@
using System.Drawing;
using Microsoft.VisualBasic;
using YARTE.Properties;
namespace YARTE.UI.Buttons
{
public class InsertLinkedImageButton : IHTMLEditorButton
{
public void IconClicked(HTMLEditorButtonArgs args)
{
var x = args.Editor.Location.X + 10;
var y = args.Editor.Location.Y + 10;
var url = Interaction.InputBox("Please enter an image url", "URL", null, x, y);
if (!string.IsNullOrEmpty(url))
{
args.Document.ExecCommand("InsertImage", false, url);
}
}
public Image IconImage
{
get { return Resources.insertimage; }
}
public string IconName
{
get { return "Linked image"; }
}
public string IconTooltip
{
get { return "Linked image"; }
}
public string CommandIdentifier
{
get { return "InsertImage"; }
}
}
using System.Drawing;
using Microsoft.VisualBasic;
using YARTE.Properties;
namespace YARTE.UI.Buttons
{
public class InsertLinkedImageButton : IHTMLEditorButton
{
public void IconClicked(HTMLEditorButtonArgs args)
{
var x = args.Editor.Location.X + 10;
var y = args.Editor.Location.Y + 10;
var url = Interaction.InputBox("Please enter an image url", "URL", null, x, y);
if (!string.IsNullOrEmpty(url))
{
args.Document.ExecCommand("InsertImage", false, url);
}
}
public Image IconImage
{
get { return Resources.insertimage; }
}
public string IconName
{
get { return "Linked image"; }
}
public string IconTooltip
{
get { return "Linked image"; }
}
public string CommandIdentifier
{
get { return "InsertImage"; }
}
}
}