Index: Demo/Riskeer/src/Demo.Riskeer/Demo.Riskeer.csproj =================================================================== diff -u -rc193020084c1ad396e2f75fec3a2ff2aa2b57ae7 -rfd49a5436bd5aadf30f8ad18d0fc5e28c9e22d2c --- Demo/Riskeer/src/Demo.Riskeer/Demo.Riskeer.csproj (.../Demo.Riskeer.csproj) (revision c193020084c1ad396e2f75fec3a2ff2aa2b57ae7) +++ Demo/Riskeer/src/Demo.Riskeer/Demo.Riskeer.csproj (.../Demo.Riskeer.csproj) (revision fd49a5436bd5aadf30f8ad18d0fc5e28c9e22d2c) @@ -15,9 +15,11 @@ + + @@ -37,6 +39,12 @@ RiskeerDemoProjectRibbon.xaml + + UserControl + + + AssemblyView.cs + UserControl @@ -153,6 +161,11 @@ Riskeer.Common.Data False + + {4d840673-3812-4338-a352-84854e32b8a0} + Riskeer.Common.Forms + False + {52ba7627-cbab-4209-be77-3b5f31378277} Riskeer.Common.IO @@ -225,6 +238,9 @@ + + AssemblyView.cs + MapDataView.cs Index: Demo/Riskeer/src/Demo.Riskeer/Views/AssemblyView.Designer.cs =================================================================== diff -u --- Demo/Riskeer/src/Demo.Riskeer/Views/AssemblyView.Designer.cs (revision 0) +++ Demo/Riskeer/src/Demo.Riskeer/Views/AssemblyView.Designer.cs (revision fd49a5436bd5aadf30f8ad18d0fc5e28c9e22d2c) @@ -0,0 +1,119 @@ +// Copyright (C) Stichting Deltares 2019. All rights reserved. +// +// This file is part of Riskeer. +// +// Riskeer is free software: you can redistribute it and/or modify +// it under the terms of the GNU General Public License as published by +// the Free Software Foundation, either version 3 of the License, or +// (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU General Public License for more details. +// +// You should have received a copy of the GNU General Public License +// along with this program. If not, see . +// +// All names, logos, and references to "Deltares" are registered trademarks of +// Stichting Deltares and remain full property of Stichting Deltares at all times. +// All rights reserved. + +using Riskeer.Common.Forms.Views; + +namespace Demo.Riskeer.Views +{ + partial class AssemblyView + { + /// + /// Required designer variable. + /// + private System.ComponentModel.IContainer components = null; + + /// + /// Clean up any resources being used. + /// + /// true if managed resources should be disposed; otherwise, false. + protected override void Dispose(bool disposing) + { + if (disposing && (components != null)) + { + components.Dispose(); + } + base.Dispose(disposing); + } + + #region Component Designer generated code + + /// + /// Required method for Designer support - do not modify + /// the contents of this method with the code editor. + /// + private void InitializeComponent() + { + this.splitContainer = new System.Windows.Forms.SplitContainer(); + this.riskeerMapControl = new RiskeerMapControl(); + this.dataGridViewControl = new Core.Common.Controls.DataGrid.DataGridViewControl(); + ((System.ComponentModel.ISupportInitialize)(this.splitContainer)).BeginInit(); + this.splitContainer.Panel1.SuspendLayout(); + this.splitContainer.Panel2.SuspendLayout(); + this.splitContainer.SuspendLayout(); + this.SuspendLayout(); + // + // splitContainer + // + this.splitContainer.Dock = System.Windows.Forms.DockStyle.Fill; + this.splitContainer.Enabled = false; + this.splitContainer.Location = new System.Drawing.Point(0, 0); + this.splitContainer.Name = "splitContainer"; + this.splitContainer.Orientation = System.Windows.Forms.Orientation.Horizontal; + // + // splitContainer.Panel1 + // + this.splitContainer.Panel1.Controls.Add(this.riskeerMapControl); + // + // splitContainer.Panel2 + // + this.splitContainer.Panel2.Controls.Add(this.dataGridViewControl); + this.splitContainer.Size = new System.Drawing.Size(150, 150); + this.splitContainer.TabIndex = 0; + // + // riskeerMapControl + // + this.riskeerMapControl.Dock = System.Windows.Forms.DockStyle.Fill; + this.riskeerMapControl.Location = new System.Drawing.Point(0, 0); + this.riskeerMapControl.Name = "riskeerMapControl"; + this.riskeerMapControl.Size = new System.Drawing.Size(150, 50); + this.riskeerMapControl.TabIndex = 0; + // + // dataGridViewControl + // + this.dataGridViewControl.Dock = System.Windows.Forms.DockStyle.Fill; + this.dataGridViewControl.Location = new System.Drawing.Point(0, 0); + this.dataGridViewControl.MultiSelect = true; + this.dataGridViewControl.Name = "dataGridViewControl"; + this.dataGridViewControl.SelectionMode = System.Windows.Forms.DataGridViewSelectionMode.RowHeaderSelect; + this.dataGridViewControl.Size = new System.Drawing.Size(150, 96); + this.dataGridViewControl.TabIndex = 0; + // + // AssemblyView + // + this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F); + this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font; + this.Controls.Add(this.splitContainer); + this.Name = "AssemblyView"; + this.splitContainer.Panel1.ResumeLayout(false); + this.splitContainer.Panel2.ResumeLayout(false); + ((System.ComponentModel.ISupportInitialize)(this.splitContainer)).EndInit(); + this.splitContainer.ResumeLayout(false); + this.ResumeLayout(false); + + } + + #endregion + + private System.Windows.Forms.SplitContainer splitContainer; + private RiskeerMapControl riskeerMapControl; + private Core.Common.Controls.DataGrid.DataGridViewControl dataGridViewControl; + } +} Index: Demo/Riskeer/src/Demo.Riskeer/Views/AssemblyView.cs =================================================================== diff -u --- Demo/Riskeer/src/Demo.Riskeer/Views/AssemblyView.cs (revision 0) +++ Demo/Riskeer/src/Demo.Riskeer/Views/AssemblyView.cs (revision fd49a5436bd5aadf30f8ad18d0fc5e28c9e22d2c) @@ -0,0 +1,33 @@ +// Copyright (C) Stichting Deltares 2019. All rights reserved. +// +// This file is part of Riskeer. +// +// Riskeer is free software: you can redistribute it and/or modify +// it under the terms of the GNU General Public License as published by +// the Free Software Foundation, either version 3 of the License, or +// (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU General Public License for more details. +// +// You should have received a copy of the GNU General Public License +// along with this program. If not, see . +// +// All names, logos, and references to "Deltares" are registered trademarks of +// Stichting Deltares and remain full property of Stichting Deltares at all times. +// All rights reserved. + +using System.Windows.Forms; + +namespace Demo.Riskeer.Views +{ + public partial class AssemblyView : UserControl + { + public AssemblyView() + { + InitializeComponent(); + } + } +} Index: Demo/Riskeer/src/Demo.Riskeer/Views/AssemblyView.resx =================================================================== diff -u --- Demo/Riskeer/src/Demo.Riskeer/Views/AssemblyView.resx (revision 0) +++ Demo/Riskeer/src/Demo.Riskeer/Views/AssemblyView.resx (revision fd49a5436bd5aadf30f8ad18d0fc5e28c9e22d2c) @@ -0,0 +1,120 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + text/microsoft-resx + + + 2.0 + + + System.Resources.ResXResourceReader, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 + + + System.Resources.ResXResourceWriter, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 + + \ No newline at end of file