Ejemplo n.º 1
0
 private void NUD_WeightScalar_ValueChanged(object sender, EventArgs e)
 {
     pkm.WeightScalar = (byte)NUD_WeightScalar.Value;
     if (!CHK_Auto.Checked || Loading)
     {
         return;
     }
     pkm.ResetWeight();
     TB_WeightAbs.Text = pkm.WeightAbsolute.ToString("F8");
 }
Ejemplo n.º 2
0
        private void NUD_WeightScalar_ValueChanged(object sender, EventArgs e)
        {
            ss.WeightScalar = (byte)NUD_WeightScalar.Value;
            L_SizeW.Text    = SizeClass[(int)PokeSizeExtensions.GetSizeRating(ss.WeightScalar)];

            if (!CHK_Auto.Checked || Loading || pkm == null)
            {
                return;
            }
            pkm.ResetWeight();
            TB_WeightAbs.Text = pkm.WeightAbsolute.ToString("F8");
        }