示例#1
0
        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();
            }
        }
示例#2
0
 private void MixedCheck_CheckedChanged(object sender, EventArgs e)
 {
     DieRoller.getForm().rollers = "Mixed";
 }
示例#3
0
 private void PlasticChk_CheckedChanged(object sender, EventArgs e)
 {
     DieRoller.getForm().rollers = "Plastic";
 }