Exemplo n.º 1
0
 public Card(int value, CardSuit suit, CardColor color, Point location)
 {
     BackColor             = System.Drawing.Color.Transparent;
     BackgroundImage       = global::csharp_solitaire.Properties.Resources.red_back;
     BackgroundImageLayout = System.Windows.Forms.ImageLayout.Zoom;
     Location = location;
     Size     = new System.Drawing.Size(80, 128);
     TabIndex = 0;
     TabStop  = false;
 }
Exemplo n.º 2
0
 public Card(int value, CardSuit suit, CardColor color) : this(value, suit, color, new Point(12, 12))
 {
 }