public VisioAutomation.Shapes.Controls.ControlCells GetCells(System.Collections.Generic.IList<ShapeSheet.CellData<double>> row)
 {
     var cells = new VisioAutomation.Shapes.Controls.ControlCells();
     cells.CanGlue = Extensions.CellDataMethods.ToInt(row[this.CanGlue]);
     cells.Tip = Extensions.CellDataMethods.ToInt(row[this.Tip]);
     cells.X = row[this.X];
     cells.Y = row[this.Y];
     cells.YBehavior = Extensions.CellDataMethods.ToInt(row[this.YBehavior]);
     cells.XBehavior = Extensions.CellDataMethods.ToInt(row[this.XBehavior]);
     cells.XDynamics = Extensions.CellDataMethods.ToInt(row[this.XDynamics]);
     cells.YDynamics = Extensions.CellDataMethods.ToInt(row[this.YDynamics]);
     return cells;
 }
        public VisioAutomation.Shapes.Controls.ControlCells GetCells(System.Collections.Generic.IList <ShapeSheet.CellData <double> > row)
        {
            var cells = new VisioAutomation.Shapes.Controls.ControlCells();

            cells.CanGlue   = Extensions.CellDataMethods.ToInt(row[this.CanGlue]);
            cells.Tip       = Extensions.CellDataMethods.ToInt(row[this.Tip]);
            cells.X         = row[this.X];
            cells.Y         = row[this.Y];
            cells.YBehavior = Extensions.CellDataMethods.ToInt(row[this.YBehavior]);
            cells.XBehavior = Extensions.CellDataMethods.ToInt(row[this.XBehavior]);
            cells.XDynamics = Extensions.CellDataMethods.ToInt(row[this.XDynamics]);
            cells.YDynamics = Extensions.CellDataMethods.ToInt(row[this.YDynamics]);
            return(cells);
        }
        protected override void ProcessRecord()
        {
            var ctrl = new VA.Shapes.Controls.ControlCells();
                ctrl.XDynamics = this.XDynamics;
                ctrl.YDynamics = this.YDynamics;
                ctrl.XBehavior = this.XBehavior;
                ctrl.YBehavior = this.YBehavior;
                ctrl.X = this.X;
                ctrl.Y = this.Y;
                ctrl.CanGlue = VA.Convert.BoolToFormula(this.CanGlue);
                ctrl.Tip = this.Tip;

                this.client.Control.Add(this.Shapes, ctrl);
        }
        protected override void ProcessRecord()
        {
            var ctrl = new VA.Shapes.Controls.ControlCells();

            ctrl.XDynamics = this.XDynamics;
            ctrl.YDynamics = this.YDynamics;
            ctrl.XBehavior = this.XBehavior;
            ctrl.YBehavior = this.YBehavior;
            ctrl.X         = this.X;
            ctrl.Y         = this.Y;
            ctrl.CanGlue   = VA.Convert.BoolToFormula(this.CanGlue);
            ctrl.Tip       = this.Tip;

            this.client.Control.Add(this.Shapes, ctrl);
        }
        protected override void ProcessRecord()
        {
            var ctrl = new VA.Shapes.Controls.ControlCells();

            ctrl.XDynamics = this.XDynamics;
            ctrl.YDynamics = this.YDynamics;
            ctrl.XBehavior = this.XBehavior;
            ctrl.YBehavior = this.YBehavior;
            ctrl.X         = this.X;
            ctrl.Y         = this.Y;
            ctrl.CanGlue   = Convert.BoolToFormula(this.CanGlue);
            ctrl.Tip       = this.Tip;

            var targets = new VisioAutomation.Scripting.TargetShapes(this.Shapes);

            this.Client.Control.Add(targets, ctrl);
        }