Work at SourceForge, help us to make it a better place! We have an immediate need for a Support Technician in our San Francisco or Denver office.

Close

#7 Color Coded of Learned Cards

Next Release (0.6+)
open
5
2006-11-30
2006-11-30
Scott
No

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.

Discussion

  • Scott
    Scott
    2006-12-01

     
    Attachments
  • Scott
    Scott
    2006-12-01

    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;
    }
    }

     
  • Scott
    Scott
    2006-12-01

     
    Attachments