private void X_JUMP_BG_Click(object sender, EventArgs e) { MapTerrainBGLookupTableForm f = (MapTerrainBGLookupTableForm) InputFormRef.JumpForm <MapTerrainBGLookupTableForm>(); f.JumpTo((uint)FilterComboBox.SelectedIndex, (uint)AddressList.SelectedIndex); }
public static void JumpToRef(string text) { string[] ptrn = RegexCache.Split(text, @"([0-9a-zA-Z]+) .+? ([0-9a-zA-Z]+):"); if (ptrn.Length <= 2) { return; } uint listSelected = U.atoh(ptrn[1]) - 1; uint filterSelected = U.atoh(ptrn[2]); MapTerrainBGLookupTableForm f = (MapTerrainBGLookupTableForm) InputFormRef.JumpForm <MapTerrainBGLookupTableForm>(); f.JumpTo(filterSelected, listSelected); }