public FREObject CloseTab(FREContext ctx, uint argc, FREObject[] argv) { try { _view.CloseTab(argv[0].AsInt()); } catch (Exception e) { return(new FreException(e).RawValue); } return(FREObject.Zero); }
public FREObject CloseTab(FREContext ctx, uint argc, FREObject[] argv) { try { _view.CloseTab(Convert.ToInt32(new FreObjectSharp(argv[0]).Value)); } catch (Exception e) { return(new FreException(e).RawValue); } return(FREObject.Zero); }