Some pointers without completely telling you how to code it, because this seems like a homework assignment.
- MSDN: if-else - you aren't constructing your if-else statements correctly. Specifically, you can't use if/else/else.
- MSDN: Random.Next(Int32) - your first dice will always return a value of 3 or less. Your second dice will always return a value of 6 or higher (you're adding 6 to a value of 0-4). These do not meet the requirements you give.
- You are setting a
Visible
property on int
s. It seems like you are confusing the integers that represent the value of the die with the images.