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