private void cbHG_SelectionChangeCommitted(object sender, EventArgs e) { int index = cbHG.SelectedIndex; string actionName = GetCurHuntingGround(); ActionData ad = dActionData[actionName]; List <PointData> hg = macro[MacroType.eReturn]; for (int i = 0; i < hg.Count; i++) { PointData pd = hg[i]; if (pd.actionName.IndexOf("사냥터") != -1) { pd.actionName = ad.name; pd.pt = ad.pt; hg[i] = pd; break; } } }