Exemple #1
0
        public Client(IVisio.Application app, Context context)
        {
            if (context == null)
            {
                throw new System.ArgumentNullException(nameof(context));
            }

            this._context = context;

            this.Application     = new Commands.ApplicationCommands(this, app);
            this.View            = new Commands.ViewCommands(this);
            this.Format          = new Commands.FormatCommands(this);
            this.Layer           = new Commands.LayerCommands(this);
            this.Control         = new Commands.ControlCommands(this);
            this.Hyperlink       = new Commands.HyperlinkCommands(this);
            this.CustomProp      = new Commands.CustomPropCommands(this);
            this.Export          = new Commands.ExportCommands(this);
            this.Connection      = new Commands.ConnectionCommands(this);
            this.ConnectionPoint = new Commands.ConnectionPointCommands(this);
            this.Draw            = new Commands.DrawCommands(this);
            this.Master          = new Commands.MasterCommands(this);
            this.Arrange         = new Commands.ArrangeCommands(this);
            this.Page            = new Commands.PageCommands(this);
            this.Selection       = new Commands.SelectionCommands(this);
            this.ShapeSheet      = new Commands.ShapeSheetCommands(this);
            this.Text            = new Commands.TextCommands(this);
            this.UserDefinedCell = new Commands.UserDefinedCellCommands(this);
            this.Document        = new Commands.DocumentCommands(this);
            this.Developer       = new Commands.DeveloperCommands(this);
            this.Output          = new Commands.OutputCommands(this);
        }
        public Client(IVisio.Application app, Context context)
        {
            if (context == null)
            {
                throw new System.ArgumentNullException();
            }
            this._context = context;

            this.Application = new Commands.ApplicationCommands(this,app);
            this.View = new Commands.ViewCommands(this);
            this.Format = new Commands.FormatCommands(this);
            this.Layer = new Commands.LayerCommands(this);
            this.Control = new Commands.ControlCommands(this);
            this.CustomProp = new Commands.CustomPropCommands(this);
            this.Export = new Commands.ExportCommands(this);
            this.Connection = new Commands.ConnectionCommands(this);
            this.ConnectionPoint = new Commands.ConnectionPointCommands(this);
            this.Draw = new Commands.DrawCommands(this);
            this.Master = new Commands.MasterCommands(this);
            this.Arrange = new Commands.ArrangeCommands(this);
            this.Page = new Commands.PageCommands(this);
            this.Selection = new Commands.SelectionCommands(this);
            this.ShapeSheet = new Commands.ShapeSheetCommands(this);
            this.Text = new Commands.TextCommands(this);
            this.UserDefinedCell = new Commands.UserDefinedCellCommands(this);
            this.Document = new Commands.DocumentCommands(this);
            this.Developer = new Commands.DeveloperCommands(this);
            this.Output = new Commands.OutputCommands(this);
        }