예제 #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";
 }