Index: Demo/Riskeer/src/Demo.Riskeer/Views/AssemblyView.Designer.cs =================================================================== diff -u -rc9cd43d7f5600222d0fdbca94ca353a4cc2505df -r17d46ab746cc5cfec5030e8c42827e6d381461a7 --- Demo/Riskeer/src/Demo.Riskeer/Views/AssemblyView.Designer.cs (.../AssemblyView.Designer.cs) (revision c9cd43d7f5600222d0fdbca94ca353a4cc2505df) +++ Demo/Riskeer/src/Demo.Riskeer/Views/AssemblyView.Designer.cs (.../AssemblyView.Designer.cs) (revision 17d46ab746cc5cfec5030e8c42827e6d381461a7) @@ -53,20 +53,32 @@ { this.riskeerMapControl = new RiskeerMapControl(); this.dataGridViewControl = new Core.Common.Controls.DataGrid.DataGridViewControl(); + this.readAssemblyButton = new System.Windows.Forms.Button(); this.SuspendLayout(); - + // + // readAssemblyButton + // + this.readAssemblyButton.AutoSize = true; + this.readAssemblyButton.Enabled = false; + this.readAssemblyButton.Location = new System.Drawing.Point(3, 14); + this.readAssemblyButton.Name = "readAssemblyButton"; + this.readAssemblyButton.Size = new System.Drawing.Size(164, 23); + this.readAssemblyButton.TabIndex = 0; + this.readAssemblyButton.Text = "Importeer GML"; + this.readAssemblyButton.UseVisualStyleBackColor = true; + this.readAssemblyButton.Click += new System.EventHandler(this.ReadAssembly_Click); // // riskeerMapControl // - this.riskeerMapControl.Dock = System.Windows.Forms.DockStyle.Fill; + this.riskeerMapControl.Dock = System.Windows.Forms.DockStyle.Bottom; this.riskeerMapControl.Location = new System.Drawing.Point(0, 0); this.riskeerMapControl.Name = "riskeerMapControl"; - this.riskeerMapControl.Size = new System.Drawing.Size(150, 50); + this.riskeerMapControl.Size = new System.Drawing.Size(150, 150); this.riskeerMapControl.TabIndex = 0; // // dataGridViewControl // - this.dataGridViewControl.Dock = System.Windows.Forms.DockStyle.Fill; + this.dataGridViewControl.Dock = System.Windows.Forms.DockStyle.Bottom; this.dataGridViewControl.Location = new System.Drawing.Point(0, 0); this.dataGridViewControl.MultiSelect = true; this.dataGridViewControl.Name = "dataGridViewControl"; @@ -79,6 +91,7 @@ this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F); this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font; this.Name = "AssemblyView"; + this.Controls.Add(this.readAssemblyButton); this.Controls.Add(this.riskeerMapControl); this.Controls.Add(this.dataGridViewControl); this.ResumeLayout(false); @@ -89,5 +102,6 @@ private RiskeerMapControl riskeerMapControl; private Core.Common.Controls.DataGrid.DataGridViewControl dataGridViewControl; + private System.Windows.Forms.Button readAssemblyButton; } } Index: Demo/Riskeer/src/Demo.Riskeer/Views/AssemblyView.cs =================================================================== diff -u -rc9cd43d7f5600222d0fdbca94ca353a4cc2505df -r17d46ab746cc5cfec5030e8c42827e6d381461a7 --- Demo/Riskeer/src/Demo.Riskeer/Views/AssemblyView.cs (.../AssemblyView.cs) (revision c9cd43d7f5600222d0fdbca94ca353a4cc2505df) +++ Demo/Riskeer/src/Demo.Riskeer/Views/AssemblyView.cs (.../AssemblyView.cs) (revision 17d46ab746cc5cfec5030e8c42827e6d381461a7) @@ -19,6 +19,7 @@ // Stichting Deltares and remain full property of Stichting Deltares at all times. // All rights reserved. +using System; using System.Windows.Forms; using Core.Common.Controls.Views; using Core.Components.Gis.Data; @@ -36,5 +37,10 @@ } public object Data { get; set; } + + private void ReadAssembly_Click(object sender, EventArgs e) + { + Console.WriteLine("click!"); + } } } \ No newline at end of file Index: Riskeer.sln =================================================================== diff -u -rd147611f047626d586196d17c1579de86a8f63d5 -r17d46ab746cc5cfec5030e8c42827e6d381461a7 --- Riskeer.sln (.../Riskeer.sln) (revision d147611f047626d586196d17c1579de86a8f63d5) +++ Riskeer.sln (.../Riskeer.sln) (revision 17d46ab746cc5cfec5030e8c42827e6d381461a7) @@ -5831,7 +5831,4 @@ GlobalSection(TextTemplating) = postSolution TextTemplating = 1 EndGlobalSection - GlobalSection(NDepend) = preSolution - Project = ".\build\Riskeer.ndproj" - EndGlobalSection EndGlobal