//Starts a new row from the user
 public void startNewRow()
 {
     r1 = (GHI.Glide.UI.RadioButton)winPlayer2.GetChildByName("r1-" + currentGroup);
     r2 = (GHI.Glide.UI.RadioButton)winPlayer2.GetChildByName("r2-" + currentGroup);
     r3 = (GHI.Glide.UI.RadioButton)winPlayer2.GetChildByName("r3-" + currentGroup);
     r4 = (GHI.Glide.UI.RadioButton)winPlayer2.GetChildByName("r4-" + currentGroup);
     r1.OutlineColor = GHI.Glide.Colors.Red;
     r1.Invalidate();
 }
Exemple #2
0
        //Reset the check boxes upon changing the row
        public void resetOutline()
        {
            r1.OutlineColor = GHI.Glide.Colors.White;
            r1.Invalidate();
            r2.OutlineColor = GHI.Glide.Colors.White;
            r2.Invalidate();
            r3.OutlineColor = GHI.Glide.Colors.White;
            r3.Invalidate();
            r4.OutlineColor = GHI.Glide.Colors.White;
            r4.Invalidate();

            currentLeftRight = 1;
        }
 //Starts a new row from the user
 public void startNewRow()
 {
     r1 = (GHI.Glide.UI.RadioButton)winPlayer2.GetChildByName("r1-" + currentGroup);
     r2 = (GHI.Glide.UI.RadioButton)winPlayer2.GetChildByName("r2-" + currentGroup);
     r3 = (GHI.Glide.UI.RadioButton)winPlayer2.GetChildByName("r3-" + currentGroup);
     r4 = (GHI.Glide.UI.RadioButton)winPlayer2.GetChildByName("r4-" + currentGroup);
     r1.OutlineColor = GHI.Glide.Colors.Red;
     r1.Invalidate();
 }