Color Coded of Learned Cards
Brought to you by:
spikiermonkey
I added some code to change the color of the cards accordingly to how the user has learned the card. Its specifically for the use of when the user has many cards and they can quickly see which ones they need to learn or review.
The code is linked to the "learned, needs review, and not learned" buttons on the review card.
Also added code to change the color of the card as you are making them.
I commented all the code incase you want to change the colors or take it out completely.
Logged In: YES
user_id=1634018
Originator: YES
//Code to change the color of the flash cards when selecting the radio buttons provided.
//Only problem is that it doesnt change the color for the final card layout.
//This code changes the card color to Green by using the radio button listed "G".
private void rbGreen_CheckedChanged(object sender, EventArgs e)
{
if (rbGreen.Checked) {
pnlCard.BackColor = Color.Green;
}
}
//This code changes the card color to Yellow by using the radio button listed "Y".
private void rbYellow_CheckedChanged(object sender, EventArgs e)
{
if (rbYellow.Checked) {
pnlCard.BackColor = Color.Yellow;
}
}
//This code changes the card color to Red by using the radio button listed "R".
private void rbRed_CheckedChanged(object sender, EventArgs e)
{
if (rbRed.Checked)
{
pnlCard.BackColor = Color.Red;
}
}
//This code changes the card color to White by using the radio button listed "W".
private void rbWhite_CheckedChanged(object sender, EventArgs e)
{
if (rbWhite.Checked)
{
pnlCard.BackColor = Color.White;
}
}