示例#1
0
 public void DrawIcon(string path, int x, int y, int?width = null, int?height = null)
 {
     try
     {
         luaPictureBox.DrawIcon(path, x, y, width, height);
     }
     catch (Exception ex)
     {
         LogOutputCallback(ex.Message);
     }
 }
示例#2
0
 public void DrawIcon([LuaArbitraryStringParam] string path, int x, int y, int?width = null, int?height = null)
 {
     try
     {
         luaPictureBox.DrawIcon(LuaLibraryBase.FixString(path), x, y, width, height);
     }
     catch (Exception ex)
     {
         LogOutputCallback(ex.Message);
     }
 }