private void X_JUMP_FLOOR_Click(object sender, EventArgs e)
        {
            MapTerrainFloorLookupTableForm f = (MapTerrainFloorLookupTableForm)
                                               InputFormRef.JumpForm <MapTerrainFloorLookupTableForm>();

            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]);
            uint filterSelected = U.atoh(ptrn[2]);
            MapTerrainFloorLookupTableForm f = (MapTerrainFloorLookupTableForm)
                                               InputFormRef.JumpForm <MapTerrainFloorLookupTableForm>();

            f.JumpTo(filterSelected, listSelected);
        }
예제 #3
0
 private void AddressList_SelectedIndexChanged(object sender, EventArgs e)
 {
     X_BG_PIC.Image = Draw((uint)D12.Value, (uint)D16.Value);
     U.ConvertListBox(MapTerrainFloorLookupTableForm.MakeListByUseTerrain((uint)this.AddressList.SelectedIndex), ref this.X_REF);
 }
예제 #4
0
 void JumpToRef()
 {
     MapTerrainFloorLookupTableForm.JumpToRef(X_REF.Text);
 }