Beispiel #1
0
 private void NUD_HeightScalar_ValueChanged(object sender, EventArgs e)
 {
     pkm.HeightScalar = (byte)NUD_HeightScalar.Value;
     if (!CHK_Auto.Checked || Loading)
     {
         return;
     }
     pkm.ResetHeight();
     TB_HeightAbs.Text = pkm.HeightAbsolute.ToString();
 }
Beispiel #2
0
        private void NUD_HeightScalar_ValueChanged(object sender, EventArgs e)
        {
            ss.HeightScalar = (byte)NUD_HeightScalar.Value;
            L_SizeH.Text    = SizeClass[(int)PokeSizeExtensions.GetSizeRating(ss.HeightScalar)];

            if (!CHK_Auto.Checked || Loading || pkm == null)
            {
                return;
            }
            pkm.ResetHeight();
            TB_HeightAbs.Text = pkm.HeightAbsolute.ToString();
        }