public void Execute(Arguments arguments)
        {
            int  id     = arguments.Id.Value;
            bool result = SheetsManager.SwitchSheet(id);

            Scripter.Variables.SetVariableValue(arguments.Result.Value, new BooleanStructure(result));
        }
Exemple #2
0
        public void Execute(Arguments arguments)
        {
            var sheetsManager = SheetsManager.AddSheet();

            sheetsManager.Open(arguments.Id.Value, arguments.IsShared.Value);
            Scripter.Variables.SetVariableValue(arguments.Result.Value, new IntegerStructure((sheetsManager.Id)));
        }
Exemple #3
0
        public void Execute(Arguments arguments)
        {
            var id = arguments.Id != null ? arguments.Id.Value : SheetsManager.CurrentSheet.Id;

            SheetsManager.Remove(id);
        }