Example #1
0
 /// <summary>
 ///  替换掉最后一个显示对象
 /// </summary>
 /// <param name="obj"></param>
 public void AddViewObjectShow(HObject obj)
 {
     if (this == null || Hwnd == null || obj == null || !obj.IsInitialized())
     {
         return;
     }
     if (!PauseShow)
     {
         try {
             if (obj == null)
             {
                 return;
             }
             if (obj is HImage)
             {
                 return;
             }
             else
             {
                 viewController.addIconicVarShow(obj);
             }
         }
         catch (Exception ex) {
             Logger.PopError(ex.Message.ToString());
         }
     }
 }