コード例 #1
0
 private void Cmd5Skia_Click(object sender, EventArgs e)
 {
     ClsDiceSkia.DesenhaDadoCompleto(ref pcbDiceSkiasharp, 5, ClsDiceSkia.ColorToHex(Color.OrangeRed), ClsDiceSkia.ColorToHex(Color.GreenYellow), CmdRollDiceSkiasharp.Location.X + 25, CmdRollDiceSkiasharp.Location.Y - 130, 12);
     LblNumeroSkia.Text = "5";
 }
コード例 #2
0
 private void Cmd3Skia_Click(object sender, EventArgs e)
 {
     ClsDiceSkia.DesenhaDadoCompleto(ref pcbDiceSkiasharp, 3, ClsDiceSkia.ColorToHex(Color.Blue), ClsDiceSkia.ColorToHex(Color.BlueViolet), CmdRollDiceSkiasharp.Location.X + 25, CmdRollDiceSkiasharp.Location.Y - 130, 12);
     LblNumeroSkia.Text = "3";
 }
コード例 #3
0
 private void Cmd4Skia_Click(object sender, EventArgs e)
 {
     ClsDiceSkia.DesenhaDadoCompleto(ref pcbDiceSkiasharp, 4, ClsDiceSkia.ColorToHex(Color.Violet), ClsDiceSkia.ColorToHex(Color.DarkGoldenrod), CmdRollDiceSkiasharp.Location.X + 25, CmdRollDiceSkiasharp.Location.Y - 130, 12);
     LblNumeroSkia.Text = "4";
 }
コード例 #4
0
 private void Cmd2Skia_Click(object sender, EventArgs e)
 {
     ClsDiceSkia.DesenhaDadoCompleto(ref pcbDiceSkiasharp, 2, "#000000", "#FF00FF", CmdRollDiceSkiasharp.Location.X + 25, CmdRollDiceSkiasharp.Location.Y - 130, 12);
     LblNumeroSkia.Text = "2";
 }