1
0
mirror of synced 2024-11-15 03:27:38 +01:00
Switch-Toolbox/Switch_Toolbox_Library/Helpers/ArchiveNodeMenuHelper.cs
2019-08-20 17:22:01 -04:00

25 lines
607 B
C#

using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using Toolbox.Library.Forms;
using System.Windows.Forms;
namespace Toolbox.Library
{
public class ArchiveNodeMenuHelper
{
private ArchiveFileInfo FileInfo;
private TreeNode Node;
private void RenameAction(object sender, EventArgs args)
{
RenameDialog dialog = new RenameDialog();
dialog.SetString(Node.Text);
if (dialog.ShowDialog() == DialogResult.OK) { Node.Text = dialog.textBox1.Text; }
}
}
}