예제 #1
0
		//20130604 :: mellorasinxelas
		/// <summary>
		/// Add a new element
		/// </summary>
		/// <param name="drawElement"></param>
		public void AddDrawElement(DrawElement drawElement)
		{
			//null control.
			if(drawElement == null){
				Console.WriteLine("Draw element null. Not added into row element.");
				return;
			}
			//--
			drawElements.Add(drawElement);
		}
예제 #2
0
 //20130604 :: mellorasinxelas
 /// <summary>
 /// Add a new element
 /// </summary>
 /// <param name="drawElement"></param>
 public void AddDrawElement(DrawElement drawElement)
 {
     //null control.
     if (drawElement == null)
     {
         Console.WriteLine("Draw element null. Not added into row element.");
         return;
     }
     //--
     drawElements.Add(drawElement);
 }