Example #1
0
 public void SetString(double x, double y, string color, string strVal)
 {
     if (this == null || Hwnd == null)
     {
         return;
     }
     if (!PauseShow)
     {
         lock (globalLock){
             try{
                 int xm, ym;
                 xm = Convert.ToInt32(x);
                 ym = Convert.ToInt32(y);
                 viewController.writeString(xm, ym, color, strVal);
             }
             catch (Exception ex) {
                 Logger.PopError(ex.Message.ToString());
             }
         }
     }
 }