Exemplo n.º 1
0
 /// <summary>
 /// This method Set Image Url
 /// </summary>
 public void SetImageUrl()
 {
     // as long as the BubbleColor is set this will work
     if (BubbleColor != BubbleColorEnum.NotSet)
     {
         // Set the ImageUrl
         ImageUrl = "../Images/Bubbles/" + BubbleColor.ToString() + ".png";
     }
 }
Exemplo n.º 2
0
 public override string ToString()
 {
     return("(" + _color.ToString() + ")");
 }
Exemplo n.º 3
0
Arquivo: Bubbles.cs Projeto: LabXP/JCA
 //sim eu sei fazer get e set direito agora
 //antes eu nao sabia
 // :V
 //retorna a cor da bolha
 public string getColor()
 {
     return(bubbleColor.ToString());
 }