示例#1
0
        private void changeStat(object sender, EventArgs e)
        {
            editing = true;
            int index = CB_Stats.SelectedIndex;

            NUD_Stat.Maximum = SAV.getRecordMax(index);
            NUD_Stat.Value   = SAV.getRecord(index);

            int offset = SAV.getRecordOffset(index);

            L_Offset.Text = "Offset: 0x" + offset.ToString("X3");
            editing       = false;
        }