1
0
mirror of synced 2024-12-11 15:25:59 +01:00
Switch-Toolbox/Switch_Toolbox_Library/Helpers/ArchiveNodeMenuHelper.cs

25 lines
607 B
C#
Raw Normal View History

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; }
}
}
}