コード例 #1
0
        void UpdateResult(object sender, EventArgs e)
        {
            if (radioButtonWL.Checked)
            {
                WhiteLighter = true;
            }
            else if (radioButtonBL.Checked)
            {
                WhiteLighter = false;
            }

            if (radioButtonFo.Checked)
            {
                Religion = AlignmentTimer.WurmReligions.Fo;
            }
            else if (radioButtonMag.Checked)
            {
                Religion = AlignmentTimer.WurmReligions.Magranon;
            }
            else if (radioButtonVyn.Checked)
            {
                Religion = AlignmentTimer.WurmReligions.Vynora;
            }
            else if (radioButtonLib.Checked)
            {
                Religion = AlignmentTimer.WurmReligions.Libila;
            }
        }
コード例 #2
0
        void UpdateResult(object sender, EventArgs e)
        {
            if (radioButtonWL.Checked) WhiteLighter = true;
            else if (radioButtonBL.Checked) WhiteLighter = false;

            if (radioButtonFo.Checked) Religion = AlignmentTimer.WurmReligions.Fo;
            else if (radioButtonMag.Checked) Religion = AlignmentTimer.WurmReligions.Magranon;
            else if (radioButtonVyn.Checked) Religion = AlignmentTimer.WurmReligions.Vynora;
            else if (radioButtonLib.Checked) Religion = AlignmentTimer.WurmReligions.Libila;
        }