forked from mirrors/NBTExplorer
Added clipboard support
This commit is contained in:
parent
afb61389bb
commit
837bf206ec
9 changed files with 498 additions and 37 deletions
155
Form1.Designer.cs
generated
155
Form1.Designer.cs
generated
|
@ -38,6 +38,14 @@
|
|||
this.saveToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
|
||||
this.toolStripSeparator4 = new System.Windows.Forms.ToolStripSeparator();
|
||||
this.exitToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
|
||||
this.editToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
|
||||
this.cutToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
|
||||
this.copyToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
|
||||
this.pasteToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
|
||||
this.toolStripSeparator7 = new System.Windows.Forms.ToolStripSeparator();
|
||||
this.renameToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
|
||||
this.editValueToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
|
||||
this.deleteToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
|
||||
this.searchToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
|
||||
this.findToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
|
||||
this.findNextToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
|
||||
|
@ -50,6 +58,10 @@
|
|||
this._buttonOpenFolder = new System.Windows.Forms.ToolStripButton();
|
||||
this._buttonSave = new System.Windows.Forms.ToolStripButton();
|
||||
this.toolStripSeparator1 = new System.Windows.Forms.ToolStripSeparator();
|
||||
this._buttonCut = new System.Windows.Forms.ToolStripButton();
|
||||
this._buttonCopy = new System.Windows.Forms.ToolStripButton();
|
||||
this._buttonPaste = new System.Windows.Forms.ToolStripButton();
|
||||
this.toolStripSeparator6 = new System.Windows.Forms.ToolStripSeparator();
|
||||
this._buttonRename = new System.Windows.Forms.ToolStripButton();
|
||||
this._buttonEdit = new System.Windows.Forms.ToolStripButton();
|
||||
this._buttonDelete = new System.Windows.Forms.ToolStripButton();
|
||||
|
@ -83,11 +95,12 @@
|
|||
//
|
||||
this.menuStrip1.Items.AddRange(new System.Windows.Forms.ToolStripItem[] {
|
||||
this.fileToolStripMenuItem,
|
||||
this.editToolStripMenuItem,
|
||||
this.searchToolStripMenuItem,
|
||||
this.helpToolStripMenuItem});
|
||||
this.menuStrip1.Location = new System.Drawing.Point(0, 0);
|
||||
this.menuStrip1.Name = "menuStrip1";
|
||||
this.menuStrip1.Size = new System.Drawing.Size(562, 24);
|
||||
this.menuStrip1.Size = new System.Drawing.Size(619, 24);
|
||||
this.menuStrip1.TabIndex = 0;
|
||||
this.menuStrip1.Text = "menuStrip1";
|
||||
//
|
||||
|
@ -159,6 +172,79 @@
|
|||
this.exitToolStripMenuItem.Text = "E&xit";
|
||||
this.exitToolStripMenuItem.Click += new System.EventHandler(this.exitToolStripMenuItem_Click);
|
||||
//
|
||||
// editToolStripMenuItem
|
||||
//
|
||||
this.editToolStripMenuItem.DropDownItems.AddRange(new System.Windows.Forms.ToolStripItem[] {
|
||||
this.cutToolStripMenuItem,
|
||||
this.copyToolStripMenuItem,
|
||||
this.pasteToolStripMenuItem,
|
||||
this.toolStripSeparator7,
|
||||
this.renameToolStripMenuItem,
|
||||
this.editValueToolStripMenuItem,
|
||||
this.deleteToolStripMenuItem});
|
||||
this.editToolStripMenuItem.Name = "editToolStripMenuItem";
|
||||
this.editToolStripMenuItem.Size = new System.Drawing.Size(39, 20);
|
||||
this.editToolStripMenuItem.Text = "&Edit";
|
||||
//
|
||||
// cutToolStripMenuItem
|
||||
//
|
||||
this.cutToolStripMenuItem.Image = ((System.Drawing.Image)(resources.GetObject("cutToolStripMenuItem.Image")));
|
||||
this.cutToolStripMenuItem.Name = "cutToolStripMenuItem";
|
||||
this.cutToolStripMenuItem.ShortcutKeys = ((System.Windows.Forms.Keys)((System.Windows.Forms.Keys.Control | System.Windows.Forms.Keys.X)));
|
||||
this.cutToolStripMenuItem.Size = new System.Drawing.Size(166, 22);
|
||||
this.cutToolStripMenuItem.Text = "Cu&t";
|
||||
this.cutToolStripMenuItem.Click += new System.EventHandler(this.cutToolStripMenuItem_Click);
|
||||
//
|
||||
// copyToolStripMenuItem
|
||||
//
|
||||
this.copyToolStripMenuItem.Image = ((System.Drawing.Image)(resources.GetObject("copyToolStripMenuItem.Image")));
|
||||
this.copyToolStripMenuItem.Name = "copyToolStripMenuItem";
|
||||
this.copyToolStripMenuItem.ShortcutKeys = ((System.Windows.Forms.Keys)((System.Windows.Forms.Keys.Control | System.Windows.Forms.Keys.C)));
|
||||
this.copyToolStripMenuItem.Size = new System.Drawing.Size(166, 22);
|
||||
this.copyToolStripMenuItem.Text = "&Copy";
|
||||
this.copyToolStripMenuItem.Click += new System.EventHandler(this.copyToolStripMenuItem_Click);
|
||||
//
|
||||
// pasteToolStripMenuItem
|
||||
//
|
||||
this.pasteToolStripMenuItem.Image = ((System.Drawing.Image)(resources.GetObject("pasteToolStripMenuItem.Image")));
|
||||
this.pasteToolStripMenuItem.Name = "pasteToolStripMenuItem";
|
||||
this.pasteToolStripMenuItem.ShortcutKeys = ((System.Windows.Forms.Keys)((System.Windows.Forms.Keys.Control | System.Windows.Forms.Keys.V)));
|
||||
this.pasteToolStripMenuItem.Size = new System.Drawing.Size(166, 22);
|
||||
this.pasteToolStripMenuItem.Text = "&Paste";
|
||||
this.pasteToolStripMenuItem.Click += new System.EventHandler(this.pasteToolStripMenuItem_Click);
|
||||
//
|
||||
// toolStripSeparator7
|
||||
//
|
||||
this.toolStripSeparator7.Name = "toolStripSeparator7";
|
||||
this.toolStripSeparator7.Size = new System.Drawing.Size(163, 6);
|
||||
//
|
||||
// renameToolStripMenuItem
|
||||
//
|
||||
this.renameToolStripMenuItem.Image = ((System.Drawing.Image)(resources.GetObject("renameToolStripMenuItem.Image")));
|
||||
this.renameToolStripMenuItem.Name = "renameToolStripMenuItem";
|
||||
this.renameToolStripMenuItem.ShortcutKeys = ((System.Windows.Forms.Keys)((System.Windows.Forms.Keys.Control | System.Windows.Forms.Keys.R)));
|
||||
this.renameToolStripMenuItem.Size = new System.Drawing.Size(166, 22);
|
||||
this.renameToolStripMenuItem.Text = "&Rename";
|
||||
this.renameToolStripMenuItem.Click += new System.EventHandler(this.renameToolStripMenuItem_Click);
|
||||
//
|
||||
// editValueToolStripMenuItem
|
||||
//
|
||||
this.editValueToolStripMenuItem.Image = ((System.Drawing.Image)(resources.GetObject("editValueToolStripMenuItem.Image")));
|
||||
this.editValueToolStripMenuItem.Name = "editValueToolStripMenuItem";
|
||||
this.editValueToolStripMenuItem.ShortcutKeys = ((System.Windows.Forms.Keys)((System.Windows.Forms.Keys.Control | System.Windows.Forms.Keys.E)));
|
||||
this.editValueToolStripMenuItem.Size = new System.Drawing.Size(166, 22);
|
||||
this.editValueToolStripMenuItem.Text = "&Edit Value";
|
||||
this.editValueToolStripMenuItem.Click += new System.EventHandler(this.editValueToolStripMenuItem_Click);
|
||||
//
|
||||
// deleteToolStripMenuItem
|
||||
//
|
||||
this.deleteToolStripMenuItem.Image = ((System.Drawing.Image)(resources.GetObject("deleteToolStripMenuItem.Image")));
|
||||
this.deleteToolStripMenuItem.Name = "deleteToolStripMenuItem";
|
||||
this.deleteToolStripMenuItem.ShortcutKeys = System.Windows.Forms.Keys.Delete;
|
||||
this.deleteToolStripMenuItem.Size = new System.Drawing.Size(166, 22);
|
||||
this.deleteToolStripMenuItem.Text = "&Delete";
|
||||
this.deleteToolStripMenuItem.Click += new System.EventHandler(this.deleteToolStripMenuItem_Click);
|
||||
//
|
||||
// searchToolStripMenuItem
|
||||
//
|
||||
this.searchToolStripMenuItem.DropDownItems.AddRange(new System.Windows.Forms.ToolStripItem[] {
|
||||
|
@ -173,7 +259,7 @@
|
|||
this.findToolStripMenuItem.Image = ((System.Drawing.Image)(resources.GetObject("findToolStripMenuItem.Image")));
|
||||
this.findToolStripMenuItem.Name = "findToolStripMenuItem";
|
||||
this.findToolStripMenuItem.ShortcutKeys = ((System.Windows.Forms.Keys)((System.Windows.Forms.Keys.Control | System.Windows.Forms.Keys.F)));
|
||||
this.findToolStripMenuItem.Size = new System.Drawing.Size(146, 22);
|
||||
this.findToolStripMenuItem.Size = new System.Drawing.Size(152, 22);
|
||||
this.findToolStripMenuItem.Text = "Find...";
|
||||
this.findToolStripMenuItem.Click += new System.EventHandler(this.findToolStripMenuItem_Click);
|
||||
//
|
||||
|
@ -182,7 +268,7 @@
|
|||
this.findNextToolStripMenuItem.Image = ((System.Drawing.Image)(resources.GetObject("findNextToolStripMenuItem.Image")));
|
||||
this.findNextToolStripMenuItem.Name = "findNextToolStripMenuItem";
|
||||
this.findNextToolStripMenuItem.ShortcutKeys = System.Windows.Forms.Keys.F3;
|
||||
this.findNextToolStripMenuItem.Size = new System.Drawing.Size(146, 22);
|
||||
this.findNextToolStripMenuItem.Size = new System.Drawing.Size(152, 22);
|
||||
this.findNextToolStripMenuItem.Text = "Find Next";
|
||||
this.findNextToolStripMenuItem.Click += new System.EventHandler(this.findNextToolStripMenuItem_Click);
|
||||
//
|
||||
|
@ -199,7 +285,7 @@
|
|||
this.aboutToolStripMenuItem.Image = ((System.Drawing.Image)(resources.GetObject("aboutToolStripMenuItem.Image")));
|
||||
this.aboutToolStripMenuItem.Name = "aboutToolStripMenuItem";
|
||||
this.aboutToolStripMenuItem.ShortcutKeys = System.Windows.Forms.Keys.F1;
|
||||
this.aboutToolStripMenuItem.Size = new System.Drawing.Size(126, 22);
|
||||
this.aboutToolStripMenuItem.Size = new System.Drawing.Size(152, 22);
|
||||
this.aboutToolStripMenuItem.Text = "&About";
|
||||
this.aboutToolStripMenuItem.Click += new System.EventHandler(this.aboutToolStripMenuItem_Click);
|
||||
//
|
||||
|
@ -215,7 +301,7 @@
|
|||
this._nodeTree.Margin = new System.Windows.Forms.Padding(0);
|
||||
this._nodeTree.Name = "_nodeTree";
|
||||
this._nodeTree.SelectedImageIndex = 0;
|
||||
this._nodeTree.Size = new System.Drawing.Size(562, 350);
|
||||
this._nodeTree.Size = new System.Drawing.Size(619, 350);
|
||||
this._nodeTree.TabIndex = 0;
|
||||
this._nodeTree.DragDrop += new System.Windows.Forms.DragEventHandler(this._nodeTree_DragDrop);
|
||||
this._nodeTree.DragEnter += new System.Windows.Forms.DragEventHandler(this._nodeTree_DragEnter);
|
||||
|
@ -247,6 +333,10 @@
|
|||
this._buttonOpenFolder,
|
||||
this._buttonSave,
|
||||
this.toolStripSeparator1,
|
||||
this._buttonCut,
|
||||
this._buttonCopy,
|
||||
this._buttonPaste,
|
||||
this.toolStripSeparator6,
|
||||
this._buttonRename,
|
||||
this._buttonEdit,
|
||||
this._buttonDelete,
|
||||
|
@ -266,7 +356,7 @@
|
|||
this._buttonFindNext});
|
||||
this.toolStrip1.Location = new System.Drawing.Point(0, 24);
|
||||
this.toolStrip1.Name = "toolStrip1";
|
||||
this.toolStrip1.Size = new System.Drawing.Size(562, 25);
|
||||
this.toolStrip1.Size = new System.Drawing.Size(619, 25);
|
||||
this.toolStrip1.Stretch = true;
|
||||
this.toolStrip1.TabIndex = 0;
|
||||
//
|
||||
|
@ -305,6 +395,41 @@
|
|||
this.toolStripSeparator1.Name = "toolStripSeparator1";
|
||||
this.toolStripSeparator1.Size = new System.Drawing.Size(6, 25);
|
||||
//
|
||||
// _buttonCut
|
||||
//
|
||||
this._buttonCut.DisplayStyle = System.Windows.Forms.ToolStripItemDisplayStyle.Image;
|
||||
this._buttonCut.Image = ((System.Drawing.Image)(resources.GetObject("_buttonCut.Image")));
|
||||
this._buttonCut.ImageTransparentColor = System.Drawing.Color.Magenta;
|
||||
this._buttonCut.Name = "_buttonCut";
|
||||
this._buttonCut.Size = new System.Drawing.Size(23, 22);
|
||||
this._buttonCut.Text = "Cut";
|
||||
this._buttonCut.Click += new System.EventHandler(this._buttonCut_Click);
|
||||
//
|
||||
// _buttonCopy
|
||||
//
|
||||
this._buttonCopy.DisplayStyle = System.Windows.Forms.ToolStripItemDisplayStyle.Image;
|
||||
this._buttonCopy.Image = ((System.Drawing.Image)(resources.GetObject("_buttonCopy.Image")));
|
||||
this._buttonCopy.ImageTransparentColor = System.Drawing.Color.Magenta;
|
||||
this._buttonCopy.Name = "_buttonCopy";
|
||||
this._buttonCopy.Size = new System.Drawing.Size(23, 22);
|
||||
this._buttonCopy.Text = "Copy";
|
||||
this._buttonCopy.Click += new System.EventHandler(this._buttonCopy_Click);
|
||||
//
|
||||
// _buttonPaste
|
||||
//
|
||||
this._buttonPaste.DisplayStyle = System.Windows.Forms.ToolStripItemDisplayStyle.Image;
|
||||
this._buttonPaste.Image = ((System.Drawing.Image)(resources.GetObject("_buttonPaste.Image")));
|
||||
this._buttonPaste.ImageTransparentColor = System.Drawing.Color.Magenta;
|
||||
this._buttonPaste.Name = "_buttonPaste";
|
||||
this._buttonPaste.Size = new System.Drawing.Size(23, 22);
|
||||
this._buttonPaste.Text = "Paste";
|
||||
this._buttonPaste.Click += new System.EventHandler(this._buttonPaste_Click);
|
||||
//
|
||||
// toolStripSeparator6
|
||||
//
|
||||
this.toolStripSeparator6.Name = "toolStripSeparator6";
|
||||
this.toolStripSeparator6.Size = new System.Drawing.Size(6, 25);
|
||||
//
|
||||
// _buttonRename
|
||||
//
|
||||
this._buttonRename.DisplayStyle = System.Windows.Forms.ToolStripItemDisplayStyle.Image;
|
||||
|
@ -509,14 +634,14 @@
|
|||
this.statusStrip1.Location = new System.Drawing.Point(0, 401);
|
||||
this.statusStrip1.Margin = new System.Windows.Forms.Padding(0, 2, 0, 0);
|
||||
this.statusStrip1.Name = "statusStrip1";
|
||||
this.statusStrip1.Size = new System.Drawing.Size(562, 22);
|
||||
this.statusStrip1.Size = new System.Drawing.Size(619, 22);
|
||||
this.statusStrip1.TabIndex = 1;
|
||||
this.statusStrip1.Text = "statusStrip1";
|
||||
//
|
||||
// toolStripStatusLabel1
|
||||
//
|
||||
this.toolStripStatusLabel1.Name = "toolStripStatusLabel1";
|
||||
this.toolStripStatusLabel1.Size = new System.Drawing.Size(547, 17);
|
||||
this.toolStripStatusLabel1.Size = new System.Drawing.Size(604, 17);
|
||||
this.toolStripStatusLabel1.Spring = true;
|
||||
//
|
||||
// Form1
|
||||
|
@ -524,7 +649,7 @@
|
|||
this.AllowDrop = true;
|
||||
this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F);
|
||||
this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
|
||||
this.ClientSize = new System.Drawing.Size(562, 423);
|
||||
this.ClientSize = new System.Drawing.Size(619, 423);
|
||||
this.Controls.Add(this.statusStrip1);
|
||||
this.Controls.Add(this.toolStrip1);
|
||||
this.Controls.Add(this._nodeTree);
|
||||
|
@ -591,6 +716,18 @@
|
|||
private System.Windows.Forms.StatusStrip statusStrip1;
|
||||
private System.Windows.Forms.ToolStripStatusLabel toolStripStatusLabel1;
|
||||
private System.Windows.Forms.ToolStripButton _buttonAddTagIntArray;
|
||||
private System.Windows.Forms.ToolStripMenuItem editToolStripMenuItem;
|
||||
private System.Windows.Forms.ToolStripMenuItem cutToolStripMenuItem;
|
||||
private System.Windows.Forms.ToolStripMenuItem copyToolStripMenuItem;
|
||||
private System.Windows.Forms.ToolStripMenuItem pasteToolStripMenuItem;
|
||||
private System.Windows.Forms.ToolStripSeparator toolStripSeparator7;
|
||||
private System.Windows.Forms.ToolStripMenuItem renameToolStripMenuItem;
|
||||
private System.Windows.Forms.ToolStripMenuItem editValueToolStripMenuItem;
|
||||
private System.Windows.Forms.ToolStripMenuItem deleteToolStripMenuItem;
|
||||
private System.Windows.Forms.ToolStripButton _buttonCut;
|
||||
private System.Windows.Forms.ToolStripButton _buttonCopy;
|
||||
private System.Windows.Forms.ToolStripButton _buttonPaste;
|
||||
private System.Windows.Forms.ToolStripSeparator toolStripSeparator6;
|
||||
}
|
||||
}
|
||||
|
||||
|
|
180
Form1.cs
180
Form1.cs
|
@ -422,6 +422,20 @@ namespace NBTExplorer
|
|||
&& tag.GetTagType() != TagType.TAG_COMPOUND
|
||||
&& tag.GetTagType() != TagType.TAG_LIST;
|
||||
|
||||
renameToolStripMenuItem.Enabled = _buttonRename.Enabled;
|
||||
deleteToolStripMenuItem.Enabled = _buttonDelete.Enabled;
|
||||
editValueToolStripMenuItem.Enabled = _buttonEdit.Enabled;
|
||||
|
||||
_buttonCut.Enabled = tag != null && node.Tag is TagNode;
|
||||
_buttonCopy.Enabled = tag != null && node.Tag is TagNode;
|
||||
_buttonPaste.Enabled = tag != null && NbtClipboardData.ContainsData
|
||||
&& (tag.GetTagType() == TagType.TAG_COMPOUND
|
||||
|| (tag.GetTagType() == TagType.TAG_LIST));
|
||||
|
||||
cutToolStripMenuItem.Enabled = _buttonCut.Enabled;
|
||||
copyToolStripMenuItem.Enabled = _buttonCopy.Enabled;
|
||||
pasteToolStripMenuItem.Enabled = _buttonPaste.Enabled;
|
||||
|
||||
if (tag == null || tag.GetTagType() != TagType.TAG_COMPOUND)
|
||||
SetTagButtons(false);
|
||||
if (tag != null && tag.GetTagType() == TagType.TAG_COMPOUND)
|
||||
|
@ -750,6 +764,11 @@ namespace NBTExplorer
|
|||
DeleteNode(_nodeTree.SelectedNode);
|
||||
}
|
||||
|
||||
private void deleteToolStripMenuItem_Click (object sender, EventArgs e)
|
||||
{
|
||||
DeleteNode(_nodeTree.SelectedNode);
|
||||
}
|
||||
|
||||
private void DeleteNodeNbtTag (TreeNode node)
|
||||
{
|
||||
TagNode tag = node.Tag as TagNode;
|
||||
|
@ -924,6 +943,11 @@ namespace NBTExplorer
|
|||
EditNodeValue(_nodeTree.SelectedNode);
|
||||
}
|
||||
|
||||
private void editValueToolStripMenuItem_Click (object sender, EventArgs e)
|
||||
{
|
||||
EditNodeValue(_nodeTree.SelectedNode);
|
||||
}
|
||||
|
||||
private void EditNodeName (TreeNode node)
|
||||
{
|
||||
if (node == null)
|
||||
|
@ -960,6 +984,11 @@ namespace NBTExplorer
|
|||
EditNodeName(_nodeTree.SelectedNode);
|
||||
}
|
||||
|
||||
private void renameToolStripMenuItem_Click (object sender, EventArgs e)
|
||||
{
|
||||
EditNodeName(_nodeTree.SelectedNode);
|
||||
}
|
||||
|
||||
private void AddTagToNode (TreeNode node, TagType type)
|
||||
{
|
||||
TagNode tag = GetTagNode(node);
|
||||
|
@ -1261,6 +1290,102 @@ namespace NBTExplorer
|
|||
{
|
||||
AddTagToNode(_nodeTree.SelectedNode, TagType.TAG_INT_ARRAY);
|
||||
}
|
||||
|
||||
private void CutNode ()
|
||||
{
|
||||
TagNode node = GetTagNode(_nodeTree.SelectedNode);
|
||||
if (node == null)
|
||||
return;
|
||||
|
||||
string name = GetTagNodeName(_nodeTree.SelectedNode);
|
||||
|
||||
NbtClipboardData clip = new NbtClipboardData(name, node);
|
||||
clip.CopyToClipboard();
|
||||
|
||||
DeleteNode(_nodeTree.SelectedNode);
|
||||
}
|
||||
|
||||
private void CopyNode ()
|
||||
{
|
||||
TagNode node = GetTagNode(_nodeTree.SelectedNode);
|
||||
if (node == null)
|
||||
return;
|
||||
|
||||
string name = GetTagNodeName(_nodeTree.SelectedNode);
|
||||
|
||||
NbtClipboardData clip = new NbtClipboardData(name, node);
|
||||
clip.CopyToClipboard();
|
||||
}
|
||||
|
||||
private void PasteNode ()
|
||||
{
|
||||
if (!NbtClipboardData.ContainsData)
|
||||
return;
|
||||
|
||||
TagNode targetNode = GetTagNode(_nodeTree.SelectedNode);
|
||||
if (targetNode == null)
|
||||
return;
|
||||
|
||||
NbtClipboardData clip = NbtClipboardData.CopyFromClipboard();
|
||||
if (clip == null)
|
||||
return;
|
||||
|
||||
TagNodeCompound compoundTarget = targetNode as TagNodeCompound;
|
||||
if (compoundTarget != null) {
|
||||
string name = UniqueName(compoundTarget, clip.Name ?? clip.Node.ToString());
|
||||
|
||||
compoundTarget.Add(name, clip.Node);
|
||||
|
||||
TreeNode tnode = NodeFromTag(clip.Node, name);
|
||||
_nodeTree.SelectedNode.Nodes.Add(tnode);
|
||||
|
||||
_nodeTree.SelectedNode = tnode;
|
||||
tnode.Expand();
|
||||
}
|
||||
}
|
||||
|
||||
private string UniqueName (TagNodeCompound target, string sourceName)
|
||||
{
|
||||
string name = sourceName;
|
||||
int count = 0;
|
||||
|
||||
while (target.ContainsKey(name)) {
|
||||
count++;
|
||||
name = sourceName + "(" + count + ")";
|
||||
}
|
||||
|
||||
return name;
|
||||
}
|
||||
|
||||
private void cutToolStripMenuItem_Click (object sender, EventArgs e)
|
||||
{
|
||||
CutNode();
|
||||
}
|
||||
|
||||
private void copyToolStripMenuItem_Click (object sender, EventArgs e)
|
||||
{
|
||||
CopyNode();
|
||||
}
|
||||
|
||||
private void pasteToolStripMenuItem_Click (object sender, EventArgs e)
|
||||
{
|
||||
PasteNode();
|
||||
}
|
||||
|
||||
private void _buttonCut_Click (object sender, EventArgs e)
|
||||
{
|
||||
CutNode();
|
||||
}
|
||||
|
||||
private void _buttonCopy_Click (object sender, EventArgs e)
|
||||
{
|
||||
CopyNode();
|
||||
}
|
||||
|
||||
private void _buttonPaste_Click (object sender, EventArgs e)
|
||||
{
|
||||
PasteNode();
|
||||
}
|
||||
}
|
||||
|
||||
public class TagKey : IComparable<TagKey>
|
||||
|
@ -1409,4 +1534,59 @@ namespace NBTExplorer
|
|||
|
||||
public string Path { get; private set; }
|
||||
}
|
||||
|
||||
[Serializable]
|
||||
public class NbtClipboardData
|
||||
{
|
||||
public string Name;
|
||||
|
||||
private byte[] _data;
|
||||
|
||||
[NonSerialized]
|
||||
public TagNode Node;
|
||||
|
||||
public NbtClipboardData (String name, TagNode node)
|
||||
{
|
||||
Name = name;
|
||||
|
||||
TagNodeCompound root = new TagNodeCompound();
|
||||
root.Add("root", node);
|
||||
NbtTree tree = new NbtTree(root);
|
||||
|
||||
using (MemoryStream ms = new MemoryStream()) {
|
||||
tree.WriteTo(ms);
|
||||
_data = new byte[ms.Length];
|
||||
Array.Copy(ms.GetBuffer(), _data, ms.Length);
|
||||
}
|
||||
}
|
||||
|
||||
public static bool ContainsData
|
||||
{
|
||||
get { return Clipboard.ContainsData(typeof(NbtClipboardData).FullName); }
|
||||
}
|
||||
|
||||
public void CopyToClipboard ()
|
||||
{
|
||||
Clipboard.SetData(typeof(NbtClipboardData).FullName, this);
|
||||
}
|
||||
|
||||
public static NbtClipboardData CopyFromClipboard ()
|
||||
{
|
||||
NbtClipboardData clip = Clipboard.GetData(typeof(NbtClipboardData).FullName) as NbtClipboardData;
|
||||
if (clip == null)
|
||||
return null;
|
||||
|
||||
NbtTree tree = new NbtTree();
|
||||
using (MemoryStream ms = new MemoryStream(clip._data)) {
|
||||
tree.ReadFrom(ms);
|
||||
}
|
||||
|
||||
TagNodeCompound root = tree.Root;
|
||||
if (root == null || !root.ContainsKey("root"))
|
||||
return null;
|
||||
|
||||
clip.Node = root["root"];
|
||||
return clip;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
200
Form1.resx
200
Form1.resx
|
@ -142,7 +142,7 @@
|
|||
<data name="openFolderToolStripMenuItem.Image" type="System.Drawing.Bitmap, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64">
|
||||
<value>
|
||||
iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8
|
||||
YQUAAAAJcEhZcwAADr8AAA6/ATgFUyQAAAI/SURBVDhPjdJPSJNxGAfw5xYd6+hZJIhCkm5d8hBeIq/9
|
||||
YQUAAAAJcEhZcwAADrwAAA68AZW8ckkAAAI/SURBVDhPjdJPSJNxGAfw5xYd6+hZJIhCkm5d8hBeIq/9
|
||||
AftDgRcPHQzEqVPn5sRcNptjuVjZYlkUFZZpusQIFf+h2Zwuc0NJl5vatub+fXufB1e8DKTBhz1s3+f7
|
||||
vr+Xl2jvM2GgK+MG0v4Pzmb3/n6PNVFDZMmAdfdlbAyVITJbh3TgPrD2UG3DCc7mFHxuJB22nyMT7kHc
|
||||
34HN0QosuEqQWepUwaoDnM0pGGkkfTrkQmq9W6TDTzHjKMb2jAlJ7z2kFy0iE3gAzuYUDGvJmAo6kVxz
|
||||
|
@ -182,6 +182,106 @@
|
|||
lTmnrn7xGSvozA2QZG+NFTw/FrWCVOacuvrFZ6xgV8S59lUG4fXR+OxoqR1mKnNOnT76mbMCroZlzsVy
|
||||
nLw5VYnhnSvt6+mYOn30c/mCTH3OblzqhH/g1Lk6uy7+NMSnq42Yubzd9s8t0Ee/ItMXZOlLUTTDjddm
|
||||
OFkM9KlfL99lseAvRjbC0XMbRtAAAAAASUVORK5CYII=
|
||||
</value>
|
||||
</data>
|
||||
<data name="cutToolStripMenuItem.Image" type="System.Drawing.Bitmap, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64">
|
||||
<value>
|
||||
iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8
|
||||
YQUAAAAZdEVYdFNvZnR3YXJlAEFkb2JlIEltYWdlUmVhZHlxyWU8AAACCUlEQVQ4T6VSPWgTYRh+v/0Q
|
||||
RUQ9DcJBfk6QG8IV6pJkyBASl8SlpFt0cglaSvjGqrSzIKIidKwi/g0iFiRDQZBCpByCwcGgkiGLi4OK
|
||||
fX2er004RFw8eHi/9/m7H05UVf4H0mw2pdVqnQOiRqMhlUpF4jiWQqEgmUzGTe7kqdNHP3O8sSM7nY4l
|
||||
6vV69K8C6lMvc66AVzabtYPBQNvtti2Xy9HfnoA8dfroZ25WgHOUy+VskiSKR7PFYjFKvwJ38tTpo//P
|
||||
Au5RPp+3w+FQa7WahTHiN+DkTp76NDwruGSMdIGzAEXc2Y5GIy2VStb3/fOc3MlTp49+5twrvMPhI/AF
|
||||
eLhXFIVhaMfjsVar1Zf9fl+5k6dOH/3MpQu8z8YsADeAB4+M2bwaBMlkMtEtz0t2sJPf1xdQ4KULvA/G
|
||||
XJ/Mz2//XFr6qquru7q2pjvdrr4S+cazA3jq9NGPAs89wVtjFj/NzQ1oehIE72+KbP9aWdEXmMAtTu7k
|
||||
qdNHP3OuYMuYe+nw9+VlfQrzM5HF5/hqnNzJp0tcjgWPRTYh7lL80evpBuZ9hK4h3AY4uZOnTh/9zLmC
|
||||
2yJ33sTxmE+xDrEH8+m9H3R2cSdPnT76mXMFoUgFy13g9QWRK/Ce4d8NnAJOACeBAAgvilymj37mpr+y
|
||||
D3GK4zgfBQ4DB4ED+ziEeQQ4lvL6LPgNwitoieNYTCsAAAAASUVORK5CYII=
|
||||
</value>
|
||||
</data>
|
||||
<data name="copyToolStripMenuItem.Image" type="System.Drawing.Bitmap, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64">
|
||||
<value>
|
||||
iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8
|
||||
YQUAAAAZdEVYdFNvZnR3YXJlAEFkb2JlIEltYWdlUmVhZHlxyWU8AAAB70lEQVQ4T42SPUubYRSGz+Kg
|
||||
IphFqCAFY4YiWboIUkyLhZjQWhULWVwcNJUgRqpECWazP6DkF9S2UkTqoAjBqnF3dOtQBC1YNOb7+/Tc
|
||||
Dz3yECvkgQteeN735lz3eWlybY3exmKvhZkH6JuIRmlsZQXvGUYnh8nf30aurhYiXArBXLXK18Ui/87n
|
||||
+TyT4V/pNO8kk4w7wWUHaOCg10MmWXiXLZf5TzbLF6kU/7y64rPLS/68t8c4uBdcOoEGvIlEiF4tLYG5
|
||||
XKXCN7mcCUmcnvLXoyNejcfveBEMfv+neKdkAkbCYRAqiMJtoWBCtk9OuBklE/AyFALzJQnISgcI2Rb3
|
||||
ZpRMwPPZWbBQrtU4Lz0gZOv4mG0l7eXjxgYrLp8vKhA9m54Gi9V6nYvSA0K2Dg/ZVmosFxuCNvRpYGoK
|
||||
vK9JQEU0EPLt4IBtJS1XJzmXoqENfXoaCIDluqyrKhoI2Uwk2FbScnUS/CvQhj65x8dBBPuuyxQI+bK/
|
||||
z7aSlquT3JRKDG3oU6vDQT0eT8z8MQgRPu3usq2k5eokaekJ2tDHedzudIY73O4PSp/X+8NW0nJ1EqwY
|
||||
2tDH6RQeCd3KE79/3VbScnWSvBQN7d6hIRPQeDoblaCDTlAstlOSZ7wjHzr+F3BPydbTZ2jLx71/Ad5i
|
||||
gsnRJ2HiAAAAAElFTkSuQmCC
|
||||
</value>
|
||||
</data>
|
||||
<data name="pasteToolStripMenuItem.Image" type="System.Drawing.Bitmap, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64">
|
||||
<value>
|
||||
iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8
|
||||
YQUAAAAZdEVYdFNvZnR3YXJlAEFkb2JlIEltYWdlUmVhZHlxyWU8AAACc0lEQVQ4T43SW0hUURQG4PWS
|
||||
0JsIFUQ9lWMTFo63RqXRLKoRDMbMcbyMWtqY5qBOjsEEFmlRJAaTlJRdTLtn+ZBBL4EE9rBDu0AlIURZ
|
||||
D4VQjo3j7W+v0+xT+tSBj7M5Z6+ftdc5dC6diLVn/HXIaozIzc3NkVxhOfzs3z2qTisOB3TIDYKdMNFw
|
||||
12H3l5GRD2C85mfqvbx36AF+GRAm3rfvRV9NKgYHX2Fo6B1GRz9reM3P+N1bfynkfqHq6OxmUsTrtiJc
|
||||
L4nFRftaXCtej5v74nC7Ih7dpRtwuSAGPWUb8bK1ALJGqDpqTSVFDJ9x4NnRbDz2ZGguNNjQ1ujQnW8q
|
||||
Q2eLC83bl72pLbSQ25FGdNqsEy9O5eGpb6fO7yvGr7k5/JyexvepKYwFAugbGECtPeWjzeeLzvZ6iU4m
|
||||
6cTzZhueeLfqWr35mJyZwfjkJL5NTODT+Dh6+vvBlyyukgx0PIEUwe0/qrNoeGDHqrIRnJ3Fj2BQD/F3
|
||||
d0OJtlqPUFMcKYLbv38gWRvkpfxoNJRkIiSPEAiFFoRwJ2Oyq23V1W7yxZIi+uvTcaVwHTodBo3HmYkZ
|
||||
GRCUM1gcwjOxVFTUUaORFPGg2oyrRUZdXfEWzM3PIySPsTiEB2t2Oj1UbyBF9MqALtm+4i7MwLwc2Kzs
|
||||
YnFIQAbE2+1e2r2SyL1GI3qrNmk/i1KZl6ZNnEO4Ez4Oz4QHOyXvMVlZPuJr1woi1+o/AbfKTboaWzzy
|
||||
raYFHFkmJBlXfY00mVqiEhPLuX6ptHxPJImHB1O0r3CvMgl3XYm6O/sTwPi3ZryXa8K1FCUXsclL6MaO
|
||||
CBL/g/dyjRT1G7y5F+bDPK+HAAAAAElFTkSuQmCC
|
||||
</value>
|
||||
</data>
|
||||
<data name="renameToolStripMenuItem.Image" type="System.Drawing.Bitmap, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64">
|
||||
<value>
|
||||
iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8
|
||||
YQUAAAAZdEVYdFNvZnR3YXJlAEFkb2JlIEltYWdlUmVhZHlxyWU8AAAAt0lEQVQ4T6VSSwoCMQxNTzBL
|
||||
wYX3cu9F5j7iQhAFQXAxC8/gATxGzQuNhEdHM1h4NOn7tBlGaq3yD6SUAoyKfauxZ2p4xAMOzex9ZjdP
|
||||
RvhV4+QxvAD1VhHPeiHGO3GiEbjvBZhm7nmX7DfxgCsZuO9dZBonbhTAfS/ANHMj3JeOMJGB+95FpnHi
|
||||
EQJQ7xTxTLDoEuN//kjmDItHc+rJwkT/8WxUfFa8mgl7poYHXhkUK8V6IeAZ3llKVtf+E8JOAAAAAElF
|
||||
TkSuQmCC
|
||||
</value>
|
||||
</data>
|
||||
<data name="editValueToolStripMenuItem.Image" type="System.Drawing.Bitmap, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64">
|
||||
<value>
|
||||
iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8
|
||||
YQUAAAAZdEVYdFNvZnR3YXJlAEFkb2J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
</data>
|
||||
<data name="deleteToolStripMenuItem.Image" type="System.Drawing.Bitmap, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64">
|
||||
<value>
|
||||
iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8
|
||||
YQUAAAAZdEVYdFNvZnR3YXJlAEFkb2JlIEltYWdlUmVhZHlxyWU8AAABfUlEQVQ4T6WTu0vDUBTGz1+g
|
||||
VBtB1KBgdSsUNFvHQoZChw4upWoRupYO7a6giw66KCj4wgciuAiKg5M4XcFBUHAVBxdXcfD4fTGJqaZT
|
||||
hx+353yPezNUVFU6oaMwL/YKDkXkCJyIuMDw5LzvE6cx87eAIaPNpvIEbqTA0z5qtVBrKfCN5qvR0Id8
|
||||
Xj/rdcXOAJYQ81apeNpLqRRovy/YxXOAuwPje7Wq146jr+WyciaPhYK3u8vlvB29zISfwAGCbEHYhOG5
|
||||
WNSLdFpvs1m9ymR027L02LaVGj30xhbAIBswrMN4nkrpXiLhcZBMKnfU6PlXsIjlElgBqzCtwXyGW08R
|
||||
DuCOGj30MhN+QlCw/GMwlwjGQY2edgUUzA3CAZzb7NyWF8zjOcDcIxzAeQG3kTiNmfATbAxTMNYRekIJ
|
||||
T87D2JM4jZmwAL8HwdiEyNw0wpMis5hHwRAYACOOyAw1ejCPMxMt6MKiF/T79OHsAd2AWgJYET3JfVjQ
|
||||
yd/5G8s+qAWdGU8YAAAAAElFTkSuQmCC
|
||||
</value>
|
||||
</data>
|
||||
<data name="findToolStripMenuItem.Image" type="System.Drawing.Bitmap, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64">
|
||||
|
@ -243,7 +343,7 @@
|
|||
AAEAAAD/////AQAAAAAAAAAMAgAAAFdTeXN0ZW0uV2luZG93cy5Gb3JtcywgVmVyc2lvbj00LjAuMC4w
|
||||
LCBDdWx0dXJlPW5ldXRyYWwsIFB1YmxpY0tleVRva2VuPWI3N2E1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PPdUFsDdVyG2Jgwiohzj6NsIOJ8t2K8M
|
||||
B203qTc0pbzKo1UipNxFt7YAC8rts+wRosqD5OyNIjqr7PEuHVDkl54ha7/x2LavtzT5c6wWwQkd9Bcp
|
||||
pDlPI6z5Cg1mcZZ3dnf/ncR2iy5YrpPtaXme0/Xk3Pemy/RJ+TevOJ/25bw4e/3QWkKFytUqGi6RScnt
|
||||
ufwHz8wCEl4W+tkAAAAASUVORK5CYII=
|
||||
</value>
|
||||
</data>
|
||||
<data name="_buttonSave.Image" type="System.Drawing.Bitmap, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64">
|
||||
|
@ -498,6 +598,50 @@
|
|||
X8AZ7mZ1UbLX+WhzMEFwWKCK7/Kt9O2To36GQqEwdZcPSQQCSxI4wx0CLu0CbdhOCQ4LVPC6+ZDxgJya
|
||||
efL7g9Ib+Hx+iewZAmPty7RuOSY4LKDgKkuVfEewp8z1ODe3QsMtfgmvd1Eie4aAtzNMa+Yjwj4bKBA/
|
||||
igo5RXMJp90SBMH8Hbj7TDGndIseXC5XJE8k/4/Ayf0AQu4lRh6dpg8AAAAASUVORK5CYII=
|
||||
</value>
|
||||
</data>
|
||||
<data name="_buttonCut.Image" type="System.Drawing.Bitmap, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64">
|
||||
<value>
|
||||
iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8
|
||||
YQUAAAAJcEhZcwAADsMAAA7DAcdvqGQAAAHASURBVDhPrVI9SAJhGH5vlygi+jFIBBGH8CZBAkFwEWlQ
|
||||
WsIma1cKTG40AucajCJoixqkloiEcBCCEC7ilqTloDjiloYKEvLrfT68UDFpSHh4v/f5u+9Uov/4pFKp
|
||||
xWQyGfxLF3zw93gzmYwGJBKJoSXQHW9Pgc/n03RdF+l0WotGowNLwEOHD/7+2wZBGoYh+Iqaqqo9JdjB
|
||||
Q++EBz4k6Pf7tWazKeLxuMZGacLEDh46U0NfU5aYpikikYjmdruXMLH/JSxfa4GfEAgENMuyRCwWu6rV
|
||||
agI7+F9/pRci1zPR8pOi7DBOK4pS3fJ4DNu2Rd3lMu54Bw8dPvh/ygxeHhVl2w6HGx/Z7GurWGyLUknc
|
||||
53LimugdZwA8dPjgR06W6EQrZiikw3Tm9T7sEjW+ikVxwfOSqIyJHTx0+OBHThbUFeWwO/yZz4tzNjOk
|
||||
ARM7+O4S5GRBhaj6ls+3IbYKBXHM88Rp77wodvDQ4YMfOSnvEe3fqqqFWxyxuNkXdr4s8NDhgx85qfmJ
|
||||
omWiAyZuVok2mJrH/4cxx3AzZhleRmCNaB0++JFzymf44GCaz5OMccYoY6SDMZ4TjKkuLzL0DSJE7Fvo
|
||||
PhlwAAAAAElFTkSuQmCC
|
||||
</value>
|
||||
</data>
|
||||
<data name="_buttonCopy.Image" type="System.Drawing.Bitmap, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64">
|
||||
<value>
|
||||
iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8
|
||||
YQUAAAAJcEhZcwAADsMAAA7DAcdvqGQAAAG4SURBVDhPlZNNS0JREIbdR2DLIghCF0Eu2rQKI4IuSIFE
|
||||
hQtXLsRCIiMjQ7m7+gHhL+iTEKmFIoj5tXfZrkUIGRhpeq/fOs0IczmYCR4YOHDOfZjnnXN1Olx7gcDW
|
||||
riw7h9WOLBvozshlDQRcaqcD340GfNZqkK9W4b1SgedMBuhs2+83jgb4fPtKqwVfigIf5TK8FYvwWijA
|
||||
bTQKtKx4PhKy6fUeqO02lFS1D4nncnCfSsF5MKjVmsv1RIpDlTY8HncdFX7q9T4knM3CWErrbvdhEwEK
|
||||
ZkCQMLqPpbTqdB61ul2oYQ4ECaXTICpxLlc3N8BllCS/FuyKw3Hc6fWggTkQJJRMgqg0GC5NiLQ1wLLd
|
||||
ftJFQBs1CPKYSICoxOFyJ3kMmrQ1wJLNdtrDcXVQgyAP8TiIShwud0JvhbQ1wKLVekbz7mEXBLmLxUBU
|
||||
4nC5k1KzCaStAWbNZrn/YgiCdR2JgKjE4XInFcyJtBkwN2EweCZNpksugyS9iEocLndCIyZtBuhxM401
|
||||
w7VgsVyIShwud1LDoEn7v/9DP6hEOpQJBUvTaeKe7iBgahjkj5Kox3vSxo/nfwHKBlL+USi6VgAAAABJ
|
||||
RU5ErkJggg==
|
||||
</value>
|
||||
</data>
|
||||
<data name="_buttonPaste.Image" type="System.Drawing.Bitmap, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64">
|
||||
<value>
|
||||
iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8
|
||||
YQUAAAAJcEhZcwAADsMAAA7DAcdvqGQAAAJfSURBVDhPjZJdSJNRGMfPRQhdVRJd1GVNc1j5Tm3ah5oG
|
||||
y5EX6pxOXWo5tZlDG69JDlakhJB5saKitC/t+8uLFnQTSGAXb2gfUEkIUdZFMSi3tjn133ne2oFtXnTg
|
||||
x3s45zk/nvN/D2NLDHeFNqm8vLzMZDI1EzSntaVqxdqZfHbBk8cUokdik0Ny69epqY8gaE5r0X2qTZDR
|
||||
5oez+zHatg3j468xMfEe09NfVGhOa7T3zlMPqk0QnN7JlDcDtbhel46LlRtw1arFzQMZuG3TYbh+E4aq
|
||||
UzHSsBmv+qtBtQmC/lymTJ6y4PmxEjxxFqicl0sxcMQiOOduwGBvM3p2r36bIOjLYcrLPjOede8ReLqt
|
||||
+L2wgF9zc/gRCmHG78fo2BjaK/WfylwuTYzkZBZTXvSU4mlnkaC/swqBSAS+QADfZ2fx2efDiNcLGntl
|
||||
2V7c1ZUiJCcymULtP+7IU6HAjttLEJyfx89gUEg8w8OIojEYXELg3sIUav/+wa1qkJeqNJDrChHmV/CH
|
||||
wzES6mSGd1VktzuE4KiWKd7D+bhcsxGDlhQV575CRLggyDOIl1AmO2y2DiGQ05jysDUHV2rTBB3WXVhY
|
||||
XESYXyNeQsHqrVanELRrmPKAC67x9qM4agqwyAOb513ES/xcIJnNnULgWM8Fdr36WKK0mLeriZOEOqHr
|
||||
UCYUbIh/U43GbiFoWvdXcKtRErSV6lBVLMVgMUrI0Kz9tkKSelfpdI0kWM5ZU7GSKY8O5ap/4V5LNu42
|
||||
ZwnuNGWCoGdNUC2d+XeWJfNJevYydsOQxJT/gWrpDCf5D6Zt9cwWcc11AAAAAElFTkSuQmCC
|
||||
</value>
|
||||
</data>
|
||||
<data name="_buttonRename.Image" type="System.Drawing.Bitmap, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64">
|
||||
|
@ -631,10 +775,10 @@
|
|||
<value>
|
||||
iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8
|
||||
YQUAAAAJcEhZcwAADsMAAA7DAcdvqGQAAADjSURBVDhPY2AYtiCMkZFxGsx3UHYYsb6NAGqYCVQshqRB
|
||||
DCoWQciQKKDCOUBF4mWpd2eWp939D8IgNkgMKheFy5AYoIIFIIUwBYUJN2YWJN64iaQBZAhITQy6IQZA
|
||||
iT1AQQNkiayICzMzIs8hGwCSxqoWJJEINGQlkJaEGZIUeGxmYuAxZAMkoWoScXkjGahgHciQCM/9M6M8
|
||||
DCoWQciQKKDCOUBF4mWpd2eWp939D8IgNkgMKheFy5AYoIIFIIUwBYUJN2bmJd64iaQBZAhITQy6IQZA
|
||||
iT1AQQNkiayICzMzIs8gGwCSxqoWJJEINGQlkJaEGZIUeGxmYuBRZAMkoWoScXkjGahgHciQCM/9M6M8
|
||||
D/wHYRAbJAaVSyYUkOlAhduAiqSRFEpDxdLxaWYBSvJCA7ERSB8HYj4g5oeyG4C0BJQPUosBkA0AhYMI
|
||||
kgHC0LDBawAhrw1SeQBigDXlU9MXTwAAAABJRU5ErkJggg==
|
||||
kgHC0LDBawAhrw1SeQBXfTXgL01i9wAAAABJRU5ErkJggg==
|
||||
</value>
|
||||
</data>
|
||||
<data name="_buttonAddTagString.Image" type="System.Drawing.Bitmap, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64">
|
||||
|
@ -660,27 +804,27 @@
|
|||
iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8
|
||||
YQUAAAAJcEhZcwAADsMAAA7DAcdvqGQAAAFySURBVDhPY2CgBthfz8CyP4kl40AiczcM19sxnEHGyHIg
|
||||
tSA9cLv3xrErn6rWXPp+T+f/d7s7wHh2hikKhomD1IDUgvTADdiVwOx+c4r3EWQDlpc4/ofhJYV2cINB
|
||||
akBqQXrgBuyIZ8m9vyz7wbPNDf9heEuj338YXlftARcHyYPUgvTADdgawzz1ycHlf//fXfUfhu+uKgcy
|
||||
akBqQXrgBuyIZ8m9vyz7wbPNDf9heEuj338YXlftARcHyYPUgvTADdgawzz1/v7lf//fXfUfhu+uKgcy
|
||||
IfjMzDS4OEgepBakB27A5ijmGT8vzf//+cRUON7dEfofhjc3+KLIgdSC9MAN2BDFPPvbudn/PxyZCMcg
|
||||
zavKXcCGLCt2QJEDqQXpgRuwOoJ5/qeT0/6/2d8DxyDNID6MRpYDqQXpgRuwPIx58btD/f9f7monCoPU
|
||||
gvTADVgSwrjsFTDun25tIgqD1IL0wA2YH8C4+smWxv8PN9QShUFqQXrgBkzxZNzxYF31//trq4jCILUg
|
||||
PTAD5FKNGee1uTAeJQWD9AANkAMZwg/E4kAsRSIG6QHppQwAAKQg3VTCn4aKAAAAAElFTkSuQmCC
|
||||
PTAD5FKNGee1uTAeJQWD9AANkAMZwg/E4kAsRSIG6QHppQwAAH683UYodOupAAAAAElFTkSuQmCC
|
||||
</value>
|
||||
</data>
|
||||
<data name="_buttonFindNext.Image" type="System.Drawing.Bitmap, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64">
|
||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RLhSnOGQQdVGDCOpOiOlANDVc
|
||||
oxT/Nz+XS5cm/v8kmWGjxEF3RYx1EQQFXWw3YzQCK0nqIhbZRTAYBdEPRbddRLt4Ou+H3/a1Rn3wcN7z
|
||||
Ps/7nPd7z5FIRJ9UKp1lWKRVnKf4X9yWlomWqtUq1Gp1e6cB5YgjzU6O3zPiql6vf2W320Erw21BSLGY
|
||||
I+1fJiy53Gw2USqVkMuVoNPpemIQV61eQDabpy6WdzNYaTQaiEQ4eL1hGAwG5PN5HhQTF4vF4PEEyGBl
|
||||
N4PVer2OyckJmEwmvkgMh8OBaDQKl8tLBqt/GLDEda1Wu07/LxS5XC6kUikeFFPebrfxK2mpRjz9dq1W
|
||||
Y/+ehc/ng9Fogkaj2RDD7/cjk8kgHo8zJKmL7Ztim065XMbUFMdOsWN83A+VSvWeXd0IgeJKpcJmcBZj
|
||||
Y044nW4y6Ig76BYKBYTDE7BarUzggVKp/CAIKC4Wi2wGZ2C79AC2mRYZdMUGL7LZLEKhAMxmMxwOF+Ry
|
||||
+SdBQHEul+NvyHStw/AMQ6OhDbHBy3Q6jenpKD+DYJCDQqH4QoIjzd7C/tzir9HZxzBeaePY5UeY/wwc
|
||||
TC79ONp8zQmvsGexWGCzHd+6BXbqNyKHL3bXbnwEUm+ByJttlNYB4oQu3iUSCXAcx67MzR5SCDKZ7DuR
|
||||
utNzC4OBm5uHz9/HoeQ9DM/cxchzQBe89XPQ3eI72MfwkOGrGGxIT9jeQOjHPK86ObdJUBywPO3XSgbo
|
||||
IIYhhr3/w55T83cUJ1rn+jUDvwF4CyfRYwLPWAAAAABJRU5ErkJggg==
|
||||
</value>
|
||||
</data>
|
||||
<metadata name="statusStrip1.TrayLocation" type="System.Drawing.Point, System.Drawing, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a">
|
||||
|
|
BIN
Resources/clipboard-paste.png
Normal file
BIN
Resources/clipboard-paste.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 685 B |
BIN
Resources/cross.png
Normal file
BIN
Resources/cross.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 544 B |
BIN
Resources/document-copy.png
Normal file
BIN
Resources/document-copy.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 606 B |
BIN
Resources/pencil.png
Normal file
BIN
Resources/pencil.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 1.5 KiB |
BIN
Resources/scissors.png
Normal file
BIN
Resources/scissors.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 690 B |
BIN
Resources/selection-input.png
Normal file
BIN
Resources/selection-input.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 265 B |
Loading…
Reference in a new issue