Ejemplo n.º 1
0
 public void DrawBox(int x, int y, int x2, int y2, [LuaColorParam] object line = null, [LuaColorParam] object background = null)
 {
     try
     {
         luaPictureBox.DrawBox(x, y, x2, y2, _th.SafeParseColor(line), _th.SafeParseColor(background));
     }
     catch (Exception ex)
     {
         LogOutputCallback(ex.Message);
     }
 }
 public void DrawBox(int x, int y, int x2, int y2, Color?line = null, Color?background = null)
 {
     try
     {
         luaPictureBox.DrawBox(x, y, x2, y2, line, background);
     }
     catch (Exception ex)
     {
         LogOutputCallback(ex.Message);
     }
 }