Beispiel #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);
     }
 }
Beispiel #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);
     }
 }