private void update_ID(object sender, EventArgs e)
{
// Trim out nonhex characters
TB_PID.Text = Util.getHEXval(TB_PID).ToString("X8");
TB_EC.Text = Util.getHEXval(TB_EC).ToString("X8");
// Max TID/SID is 65535
if (Util.ToUInt32(TB_TID.Text) > 65535) TB_TID.Text = "65535";
if (Util.ToUInt32(TB_SID.Text) > 65535) TB_SID.Text = "65535";
setIsShiny();
getQuickFiller(dragout);
updateIVs(null, null); // If the PID is changed, PID%6 (Characteristic) might be changed.
TB_PID.Select(60, 0); // position cursor at end of field
}
private void validateComboBox(object sender, CancelEventArgs e)