private void settingsFrm_Load(object sender, EventArgs e) { string current = (DieRoller.getForm().rollers); if (current.Equals("Metal")) { MetalChk.Select(); } else if (current.Equals("Plastic")) { PlasticChk.Select(); } else { MixedCheck.Select(); } }
private void MixedCheck_CheckedChanged(object sender, EventArgs e) { DieRoller.getForm().rollers = "Mixed"; }
private void PlasticChk_CheckedChanged(object sender, EventArgs e) { DieRoller.getForm().rollers = "Plastic"; }