public void TryResetStats() { if (CHK_Auto.Checked) { pkm.ResetCalculatedValues(); } }
public void TryResetStats() { if (!Initialized || pkm == null) { return; } if (CHK_Auto.Checked) { pkm.ResetCalculatedValues(); } LoadStoredValues(); }
private void UpdateFlagState(object sender, EventArgs e) { if (!CHK_Auto.Checked) { return; } pkm?.ResetCalculatedValues(); LoadStoredValues(); }