mirror of
https://github.com/KillzXGaming/Switch-Toolbox
synced 2024-11-22 12:33:12 +00:00
24 lines
607 B
C#
24 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; }
|
|
}
|
|
}
|
|
}
|