public void JumpTo(uint addr) { uint select = InputFormRef.AddrToSelect(this.SHOP_LIST, addr); if (select != U.NOT_FOUND) { U.SelectedIndexSafety(this.SHOP_LIST, select); return; } //店リストになければアドレス直地. InputFormRef.ReInit(addr); }
public void JumpTo(uint value, EventHandler updateCallbackEventHandler, uint mapid) { this.MapID = mapid; this.UpdateCallbackEventHandler = updateCallbackEventHandler; uint selected = InputFormRef.AddrToSelect(this.AddressList, value); if (selected == U.NOT_FOUND) { return; } this.AddressList.SelectedIndex = (int)selected; }
void SelectMapID(uint mapid) { MapSettingForm.PLists plist = MapSettingForm.GetMapPListsWhereMapID((uint)mapid); uint change_plist_addr = MapPointerForm.PlistToOffsetAddr(MapPointerForm.PLIST_TYPE.CHANGE, plist.mapchange_plist); uint selected = InputFormRef.AddrToSelect(this.AddressList, change_plist_addr); if (selected == U.NOT_FOUND) { return; } U.SelectedIndexSafety(this.AddressList, selected); }