private void con_RenameFrame_Click(object sender, EventArgs e)
{
StopPreview();
//A frame need to be selected.
if (tvFrames.SelectedNode == null) return;
//If != 0 means that is the Main Node.
if (tvFrames.SelectedNode.GetNodeCount(false) != 0) return;
tvFrames.SelectedNode.BeginEdit();
}