예제 #1
0
 public void DisplayWord(string name, string displayMessage, bool bAddList = false, string color = "green", string font = "15")
 {
     try
     {
         ContentBase word = new TextContent(name, Window, 0, 0, displayMessage, color, font);
         if (bAddList)
         {
             displayItemsDic.Add(word.ContentName, word);
         }
         word.Display();
     }
     catch (Exception ex)
     {
         WriteErrorLog(ex.ToString());
     }
 }