private void tree_MouseDown(object sender, MouseEventArgs e) { var fs = new FsCheatMoney(); var hitInfo = tree.HitTest(e.X, e.Y); if (hitInfo.IsNull()) { return; } if (hitInfo.Location != TreeViewHitTestLocations.Label) { return; } tree.SelectedNode = hitInfo.Node; label2.Text = @"Save Game Name: " + fs.GetMapName(tree.SelectedNode.FullPath); }
private void moneyCheat5000000ToolStripMenuItem_Click(object sender, EventArgs e) { var fsc = new FsCheatMoney(); fsc.SetCheatValues(tree.SelectedNode.FullPath); }