From 2c1ad3cfc45bbcc436aacccef633b129a4f3b761 Mon Sep 17 00:00:00 2001 From: Claude Date: Fri, 6 Nov 2026 11:34:01 +0000 Subject: [PATCH 1/5] Use ILNumerics.Drawing.Controls.WinForms.Panel instead of the obsolete ILNumerics.Drawing.Panel The WinForms panel moved; the old type only remains as an obsolete base class. Replace it in all examples and in the smoke hook (Panel.Driver -> RendererType). The smoke hook additionally records the geometry of the panel's native child windows and renders the panel's user side Scene, to investigate the clipped OpenGL screenshots and empty offscreen renders. Co-Authored-By: Claude Opus 5.5 Claude-Session: https://claude.ai/code/session_01JT2yHhw9eXc9rXq3n4rjNR --- .../FFTSpectrumAnalyzer/Form1.Designer.cs | 4 +- Computing/FFTTransformBasic/Form1.Designer.cs | 4 +- Computing/FFT_HanningWindow_VB_NET50/Form1.vb | 4 +- .../Form1.Designer.cs | 4 +- .../BasicKrigingExample/Form1.Designer.cs | 4 +- .../Form1.Designer.cs | 4 +- .../Form1.Designer.cs | 4 +- .../Form1.Designer.cs | 4 +- .../Form1.Designer.cs | 4 +- .../Form1.Designer.cs | 4 +- .../Form1.Designer.cs | 4 +- .../Form1.Designer.cs | 4 +- Plotting/3DBarGraph/Form1.Designer.cs | 4 +- Plotting/AxisLinesExample/Form1.Designer.cs | 4 +- .../BarPlotExample/Plotting Form1.Designer.cs | 4 +- .../Plotting Form1.Designer.cs | 4 +- Plotting/Box Plot/Plotting Form1.Designer.cs | 4 +- .../Form1.Designer.cs | 4 +- Plotting/CombinedLinePlots/Form1.Designer.cs | 4 +- .../Form1.Designer.cs | 4 +- .../CustomizingColormaps/Form1.Designer.cs | 4 +- Plotting/ExampleLegend/Form1.Designer.cs | 4 +- Plotting/FastSurface_Test/Form1.Designer.cs | 4 +- .../Form1.Designer.cs | 4 +- Plotting/HistogrammPlots/Form1.Designer.cs | 4 +- .../Plotting Form1.Designer.cs | 4 +- .../Form1.Designer.cs | 4 +- .../InteractiveColorbar/Form1.Designer.cs | 4 +- Plotting/IteratingColormaps/Form1.Designer.cs | 4 +- Plotting/LayeredAreaPlot/Plotting Form1.cs | 4 +- Plotting/LinePlotOnSurface/Form1.Designer.cs | 4 +- Plotting/LogAxisTicks/Form1.Designer.cs | 4 +- Plotting/NoCube_PlotCube/Form1.cs | 4 +- Plotting/PlotCubeAspectRatioExample/Form1.cs | 4 +- .../Form1.cs | 4 +- Plotting/Points4ImageSC/Form1.Designer.cs | 2 +- .../Form1.Designer.cs | 4 +- .../Form1.Designer.cs | 4 +- Plotting/ReusePlottingForms/Form1.Designer.cs | 4 +- .../Plotting Form1.Designer.cs | 4 +- .../ReversedYAxis4LinePlots/Form1.Designer.cs | 4 +- .../Form1.Designer.cs | 4 +- .../Form1.Designer.cs | 4 +- .../SelectingDataCoordsFromScreen/Form1.cs | 6 +-- .../Plotting Form1.Designer.cs | 4 +- .../Form1.Designer.cs | 4 +- .../Plotting Form1.Designer.cs | 4 +- Plotting/Titles on Plots/Form1.Designer.cs | 4 +- .../TwoXYLinePlotsAndLegend/Form1.Designer.cs | 4 +- Plotting/VolumePlots/Form1.Designer.cs | 4 +- .../2DHeatmapOn3DObject/Form1.Designer.cs | 4 +- .../3DCadViewGearExample/Form1.Designer.cs | 4 +- .../Form1.Designer.cs | 4 +- Visualization/BasicLighting/Form1.Designer.cs | 4 +- .../Form1.Designer.cs | 4 +- .../ColorbarColoredSphere/Form1.Designer.cs | 4 +- .../MainForm.Designer.cs | 8 +-- .../Form1.Designer.cs | 4 +- .../ColormappedMatrixChart/Plotting Form1.cs | 4 +- .../ConnectingTubes/Form1.Designer.cs | 4 +- .../Form1.Designer.cs | 4 +- .../CustomColorMap/Plotting Form1.cs | 4 +- .../Form1.Designer.cs | 4 +- .../Form1.Designer.cs | 4 +- .../CustomMouseWheelHandler/Form1.Designer.cs | 4 +- .../CustomRotationCenter/Form1.Designer.cs | 4 +- .../CustomRotationTool/Form1.Designer.cs | 4 +- .../Form1.Designer.cs | 4 +- Visualization/CustomTripod/Form1.Designer.cs | 4 +- .../DirectionalZoom/Form1.Designer.cs | 4 +- .../Dynamic_Surface_Morph/Form1.Designer.cs | 4 +- Visualization/Dynamic_Surface_Morph/Form1.cs | 2 +- Visualization/EulerAngles/Form1.Designer.cs | 4 +- .../Eventing_SharedScenes/Form1.Designer.cs | 8 +-- .../Form1.Designer.cs | 4 +- .../FlatShadedColormap/Form1.Designer.cs | 4 +- .../Form1.Designer.cs | 4 +- .../Form1.Designer.cs | 4 +- Visualization/STL_Viewer/Form1.cs | 4 +- Visualization/STL_Viewer_NET_FW/Form1.cs | 4 +- .../Saving_scene_as_images/Form1.Designer.cs | 4 +- .../ShowAllOrthographicZoom/Form1.Designer.cs | 4 +- .../SimpleCubeFromTriangles/Form1.Designer.cs | 4 +- .../SmoothSurface/MainWindow.xaml.cs | 6 +-- .../SpecularLighting/Form1.Designer.cs | 4 +- .../TorusAndSurface/Form1.Designer.cs | 12 ++--- Visualization/TripodScreen/Form1.Designer.cs | 4 +- .../Form1.Designer.cs | 4 +- .../Form1.Designer.cs | 4 +- .../VoxelViewerFastSurface/Form1.Designer.cs | 4 +- .../Form1.Designer.cs | 4 +- .../ZoomFactorExample/Form1.Designer.cs | 4 +- tests/SmokeTest/SmokeHook/StartupHook.cs | 50 ++++++++++++++++--- 93 files changed, 235 insertions(+), 199 deletions(-) diff --git a/Computing/FFTSpectrumAnalyzer/Form1.Designer.cs b/Computing/FFTSpectrumAnalyzer/Form1.Designer.cs index e14351d..e791a63 100644 --- a/Computing/FFTSpectrumAnalyzer/Form1.Designer.cs +++ b/Computing/FFTSpectrumAnalyzer/Form1.Designer.cs @@ -24,7 +24,7 @@ protected override void Dispose(bool disposing) { /// private void InitializeComponent() { System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(Form1)); - this.ilPanel1 = new ILNumerics.Drawing.Panel(); + this.ilPanel1 = new ILNumerics.Drawing.Controls.WinForms.Panel(); this.SuspendLayout(); // // ilPanel1 @@ -57,7 +57,7 @@ private void InitializeComponent() { #endregion - private ILNumerics.Drawing.Panel ilPanel1; + private ILNumerics.Drawing.Controls.WinForms.Panel ilPanel1; } } diff --git a/Computing/FFTTransformBasic/Form1.Designer.cs b/Computing/FFTTransformBasic/Form1.Designer.cs index 9efd78a..ce1ca75 100644 --- a/Computing/FFTTransformBasic/Form1.Designer.cs +++ b/Computing/FFTTransformBasic/Form1.Designer.cs @@ -24,7 +24,7 @@ protected override void Dispose(bool disposing) { /// private void InitializeComponent() { System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(Form1)); - this.ilPanel1 = new ILNumerics.Drawing.Panel(); + this.ilPanel1 = new ILNumerics.Drawing.Controls.WinForms.Panel(); this.SuspendLayout(); // // ilPanel1 @@ -56,7 +56,7 @@ private void InitializeComponent() { #endregion - private ILNumerics.Drawing.Panel ilPanel1; + private ILNumerics.Drawing.Controls.WinForms.Panel ilPanel1; } } diff --git a/Computing/FFT_HanningWindow_VB_NET50/Form1.vb b/Computing/FFT_HanningWindow_VB_NET50/Form1.vb index 227da97..1594e08 100644 --- a/Computing/FFT_HanningWindow_VB_NET50/Form1.vb +++ b/Computing/FFT_HanningWindow_VB_NET50/Form1.vb @@ -8,7 +8,7 @@ Imports System.Drawing Public Class Form1 Private Sub Form1_Load(sender As Object, e As EventArgs) Handles MyBase.Load - Me.IlPanel1 = New ILNumerics.Drawing.Panel() + Me.IlPanel1 = New ILNumerics.Drawing.Controls.WinForms.Panel() Me.IlPanel1.Dock = System.Windows.Forms.DockStyle.Fill Me.IlPanel1.RendererType = ILNumerics.Drawing.RendererTypes.OpenGL Me.Controls.Add(Me.IlPanel1) @@ -16,7 +16,7 @@ Public Class Form1 Me.Text = $"FFT Hanning Windows Example (VB, NET50)" End Sub - Friend WithEvents IlPanel1 As ILNumerics.Drawing.Panel + Friend WithEvents IlPanel1 As ILNumerics.Drawing.Controls.WinForms.Panel Private Sub IlPanel1_Load(sender As Object, e As EventArgs) Handles IlPanel1.Load IlPanel1.Scene.Screen.First(Of Label)().Visible = False ' this should be the default! diff --git a/Computing/HDF5_PackageData_FillDataset_Iteratively/Form1.Designer.cs b/Computing/HDF5_PackageData_FillDataset_Iteratively/Form1.Designer.cs index a410863..1d3efbf 100644 --- a/Computing/HDF5_PackageData_FillDataset_Iteratively/Form1.Designer.cs +++ b/Computing/HDF5_PackageData_FillDataset_Iteratively/Form1.Designer.cs @@ -24,7 +24,7 @@ protected override void Dispose(bool disposing) { /// private void InitializeComponent() { System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(Form1)); - this.ilPanel1 = new ILNumerics.Drawing.Panel(); + this.ilPanel1 = new ILNumerics.Drawing.Controls.WinForms.Panel(); this.SuspendLayout(); // // ilPanel1 @@ -56,7 +56,7 @@ private void InitializeComponent() { #endregion - private ILNumerics.Drawing.Panel ilPanel1; + private ILNumerics.Drawing.Controls.WinForms.Panel ilPanel1; } } diff --git a/Interpolation/BasicKrigingExample/Form1.Designer.cs b/Interpolation/BasicKrigingExample/Form1.Designer.cs index 6321ab4..267ee6a 100644 --- a/Interpolation/BasicKrigingExample/Form1.Designer.cs +++ b/Interpolation/BasicKrigingExample/Form1.Designer.cs @@ -27,7 +27,7 @@ private void InitializeComponent() { this.button1 = new System.Windows.Forms.Button(); this.button2 = new System.Windows.Forms.Button(); this.button3 = new System.Windows.Forms.Button(); - this.ilPanel1 = new ILNumerics.Drawing.Panel(); + this.ilPanel1 = new ILNumerics.Drawing.Controls.WinForms.Panel(); this.checkBox1 = new System.Windows.Forms.CheckBox(); this.button4 = new System.Windows.Forms.Button(); this.SuspendLayout(); @@ -119,7 +119,7 @@ private void InitializeComponent() { #endregion - private ILNumerics.Drawing.Panel ilPanel1; + private ILNumerics.Drawing.Controls.WinForms.Panel ilPanel1; private System.Windows.Forms.Button button1; private System.Windows.Forms.Button button2; private System.Windows.Forms.Button button3; diff --git a/Interpolation/InterpolationCombinedSmoothedHeightMap/Form1.Designer.cs b/Interpolation/InterpolationCombinedSmoothedHeightMap/Form1.Designer.cs index 0f4f7c8..194c11d 100644 --- a/Interpolation/InterpolationCombinedSmoothedHeightMap/Form1.Designer.cs +++ b/Interpolation/InterpolationCombinedSmoothedHeightMap/Form1.Designer.cs @@ -26,7 +26,7 @@ protected override void Dispose(bool disposing) { /// private void InitializeComponent() { System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(Form1)); - this.ilPanel1 = new ILNumerics.Drawing.Panel(); + this.ilPanel1 = new ILNumerics.Drawing.Controls.WinForms.Panel(); this.SuspendLayout(); // // ilPanel1 @@ -58,7 +58,7 @@ private void InitializeComponent() { #endregion - private Panel ilPanel1; + private ILNumerics.Drawing.Controls.WinForms.Panel ilPanel1; } } diff --git a/Interpolation/InterpolationRescalingHugeImage/Form1.Designer.cs b/Interpolation/InterpolationRescalingHugeImage/Form1.Designer.cs index df651b6..91ada3c 100644 --- a/Interpolation/InterpolationRescalingHugeImage/Form1.Designer.cs +++ b/Interpolation/InterpolationRescalingHugeImage/Form1.Designer.cs @@ -24,7 +24,7 @@ protected override void Dispose(bool disposing) { /// private void InitializeComponent() { System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(Form1)); - this.ilPanel1 = new ILNumerics.Drawing.Panel(); + this.ilPanel1 = new ILNumerics.Drawing.Controls.WinForms.Panel(); this.numericUpDown1 = new System.Windows.Forms.NumericUpDown(); this.label1 = new System.Windows.Forms.Label(); ((System.ComponentModel.ISupportInitialize)(this.numericUpDown1)).BeginInit(); @@ -100,7 +100,7 @@ private void InitializeComponent() { #endregion - private ILNumerics.Drawing.Panel ilPanel1; + private ILNumerics.Drawing.Controls.WinForms.Panel ilPanel1; private System.Windows.Forms.NumericUpDown numericUpDown1; private System.Windows.Forms.Label label1; } diff --git a/Optimization/ConstrainedOptimizationExample_Visual/Form1.Designer.cs b/Optimization/ConstrainedOptimizationExample_Visual/Form1.Designer.cs index 44baf65..0a86ef8 100644 --- a/Optimization/ConstrainedOptimizationExample_Visual/Form1.Designer.cs +++ b/Optimization/ConstrainedOptimizationExample_Visual/Form1.Designer.cs @@ -29,7 +29,7 @@ protected override void Dispose(bool disposing) private void InitializeComponent() { System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(Form1)); - this.ilPanel1 = new ILNumerics.Drawing.Panel(); + this.ilPanel1 = new ILNumerics.Drawing.Controls.WinForms.Panel(); this.btn1DBoundConstraint = new System.Windows.Forms.Button(); this.btn2DEqualty = new System.Windows.Forms.Button(); this.btn2DInEqual = new System.Windows.Forms.Button(); @@ -108,7 +108,7 @@ private void InitializeComponent() #endregion - private ILNumerics.Drawing.Panel ilPanel1; + private ILNumerics.Drawing.Controls.WinForms.Panel ilPanel1; private System.Windows.Forms.Button btn1DBoundConstraint; private System.Windows.Forms.Button btn2DEqualty; private System.Windows.Forms.Button btn2DInEqual; diff --git a/Optimization/LinearLeastSquaresMethods/Form1.Designer.cs b/Optimization/LinearLeastSquaresMethods/Form1.Designer.cs index 64f5119..ae11fa3 100644 --- a/Optimization/LinearLeastSquaresMethods/Form1.Designer.cs +++ b/Optimization/LinearLeastSquaresMethods/Form1.Designer.cs @@ -24,7 +24,7 @@ protected override void Dispose(bool disposing) { /// private void InitializeComponent() { System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(Form1)); - this.ilPanel1 = new ILNumerics.Drawing.Panel(); + this.ilPanel1 = new ILNumerics.Drawing.Controls.WinForms.Panel(); this.btnPinv = new System.Windows.Forms.Button(); this.btnPolynomial = new System.Windows.Forms.Button(); this.SuspendLayout(); @@ -79,7 +79,7 @@ private void InitializeComponent() { #endregion - private ILNumerics.Drawing.Panel ilPanel1; + private ILNumerics.Drawing.Controls.WinForms.Panel ilPanel1; private System.Windows.Forms.Button btnPinv; private System.Windows.Forms.Button btnPolynomial; } diff --git a/Optimization/OptimizationToolbox_GettingStartedVisual/Form1.Designer.cs b/Optimization/OptimizationToolbox_GettingStartedVisual/Form1.Designer.cs index 859a0ee..9772244 100644 --- a/Optimization/OptimizationToolbox_GettingStartedVisual/Form1.Designer.cs +++ b/Optimization/OptimizationToolbox_GettingStartedVisual/Form1.Designer.cs @@ -24,7 +24,7 @@ protected override void Dispose(bool disposing) { /// private void InitializeComponent() { System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(Form1)); - this.ilPanel1 = new ILNumerics.Drawing.Panel(); + this.ilPanel1 = new ILNumerics.Drawing.Controls.WinForms.Panel(); this.btnBFGS_Solve2D = new System.Windows.Forms.Button(); this.btnBFGS_Non_Convex = new System.Windows.Forms.Button(); this.btnBFGS_Solve2DGrad = new System.Windows.Forms.Button(); @@ -128,7 +128,7 @@ private void InitializeComponent() { #endregion - private ILNumerics.Drawing.Panel ilPanel1; + private ILNumerics.Drawing.Controls.WinForms.Panel ilPanel1; private System.Windows.Forms.Button btnBFGS_Solve2D; private System.Windows.Forms.Button btnBFGS_Non_Convex; private System.Windows.Forms.Button btnBFGS_Solve2DGrad; diff --git a/Optimization/Optimization_LeastSquareSolvers/Form1.Designer.cs b/Optimization/Optimization_LeastSquareSolvers/Form1.Designer.cs index 08d58a5..1594f82 100644 --- a/Optimization/Optimization_LeastSquareSolvers/Form1.Designer.cs +++ b/Optimization/Optimization_LeastSquareSolvers/Form1.Designer.cs @@ -24,7 +24,7 @@ protected override void Dispose(bool disposing) { /// private void InitializeComponent() { System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(Form1)); - this.ilPanel1 = new ILNumerics.Drawing.Panel(); + this.ilPanel1 = new ILNumerics.Drawing.Controls.WinForms.Panel(); this.button1 = new System.Windows.Forms.Button(); this.btnJacobian = new System.Windows.Forms.Button(); this.SuspendLayout(); @@ -80,7 +80,7 @@ private void InitializeComponent() { #endregion - private ILNumerics.Drawing.Panel ilPanel1; + private ILNumerics.Drawing.Controls.WinForms.Panel ilPanel1; private System.Windows.Forms.Button button1; private System.Windows.Forms.Button btnJacobian; } diff --git a/Optimization/Optimization_PolynomialFit_1D/Form1.Designer.cs b/Optimization/Optimization_PolynomialFit_1D/Form1.Designer.cs index 22a2e0e..6ecbb3f 100644 --- a/Optimization/Optimization_PolynomialFit_1D/Form1.Designer.cs +++ b/Optimization/Optimization_PolynomialFit_1D/Form1.Designer.cs @@ -24,7 +24,7 @@ protected override void Dispose(bool disposing) { /// private void InitializeComponent() { System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(Form1)); - this.ilPanel1 = new ILNumerics.Drawing.Panel(); + this.ilPanel1 = new ILNumerics.Drawing.Controls.WinForms.Panel(); this.SuspendLayout(); // // ilPanel1 @@ -56,7 +56,7 @@ private void InitializeComponent() { #endregion - private ILNumerics.Drawing.Panel ilPanel1; + private ILNumerics.Drawing.Controls.WinForms.Panel ilPanel1; } } diff --git a/Plotting/3DBarGraph/Form1.Designer.cs b/Plotting/3DBarGraph/Form1.Designer.cs index ebdd7da..26cf657 100644 --- a/Plotting/3DBarGraph/Form1.Designer.cs +++ b/Plotting/3DBarGraph/Form1.Designer.cs @@ -24,7 +24,7 @@ protected override void Dispose(bool disposing) { /// private void InitializeComponent() { System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(Form1)); - this.ilPanel1 = new ILNumerics.Drawing.Panel(); + this.ilPanel1 = new ILNumerics.Drawing.Controls.WinForms.Panel(); this.SuspendLayout(); // // ilPanel1 @@ -56,7 +56,7 @@ private void InitializeComponent() { #endregion - private ILNumerics.Drawing.Panel ilPanel1; + private ILNumerics.Drawing.Controls.WinForms.Panel ilPanel1; } } diff --git a/Plotting/AxisLinesExample/Form1.Designer.cs b/Plotting/AxisLinesExample/Form1.Designer.cs index b354a7b..d7a61d6 100644 --- a/Plotting/AxisLinesExample/Form1.Designer.cs +++ b/Plotting/AxisLinesExample/Form1.Designer.cs @@ -24,7 +24,7 @@ protected override void Dispose(bool disposing) { /// private void InitializeComponent() { System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(Form1)); - this.ilPanel1 = new ILNumerics.Drawing.Panel(); + this.ilPanel1 = new ILNumerics.Drawing.Controls.WinForms.Panel(); this.SuspendLayout(); // // ilPanel1 @@ -56,7 +56,7 @@ private void InitializeComponent() { #endregion - private ILNumerics.Drawing.Panel ilPanel1; + private ILNumerics.Drawing.Controls.WinForms.Panel ilPanel1; } } diff --git a/Plotting/BarPlotExample/Plotting Form1.Designer.cs b/Plotting/BarPlotExample/Plotting Form1.Designer.cs index 81e78d1..8a56289 100644 --- a/Plotting/BarPlotExample/Plotting Form1.Designer.cs +++ b/Plotting/BarPlotExample/Plotting Form1.Designer.cs @@ -35,7 +35,7 @@ private void InitializeComponent() { this.label1 = new System.Windows.Forms.Label(); this.label2 = new System.Windows.Forms.Label(); this.checkBox2 = new System.Windows.Forms.CheckBox(); - this.ilPanel1 = new ILNumerics.Drawing.Panel(); + this.ilPanel1 = new ILNumerics.Drawing.Controls.WinForms.Panel(); ((System.ComponentModel.ISupportInitialize)(this.trackBar1)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.trackBar2)).BeginInit(); this.SuspendLayout(); @@ -193,7 +193,7 @@ private void InitializeComponent() { #endregion - private ILNumerics.Drawing.Panel ilPanel1; + private ILNumerics.Drawing.Controls.WinForms.Panel ilPanel1; private System.Windows.Forms.Button button1; private System.Windows.Forms.TrackBar trackBar1; private System.Windows.Forms.TrackBar trackBar2; diff --git a/Plotting/BarPlotExampleEx/Plotting Form1.Designer.cs b/Plotting/BarPlotExampleEx/Plotting Form1.Designer.cs index 117f788..1205141 100644 --- a/Plotting/BarPlotExampleEx/Plotting Form1.Designer.cs +++ b/Plotting/BarPlotExampleEx/Plotting Form1.Designer.cs @@ -24,7 +24,7 @@ protected override void Dispose(bool disposing) { /// private void InitializeComponent() { System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(Form1)); - this.ilPanel1 = new ILNumerics.Drawing.Panel(); + this.ilPanel1 = new ILNumerics.Drawing.Controls.WinForms.Panel(); this.trackBar1 = new System.Windows.Forms.TrackBar(); this.trackBar2 = new System.Windows.Forms.TrackBar(); this.radioButton1 = new System.Windows.Forms.RadioButton(); @@ -167,7 +167,7 @@ private void InitializeComponent() { #endregion - private ILNumerics.Drawing.Panel ilPanel1; + private ILNumerics.Drawing.Controls.WinForms.Panel ilPanel1; private System.Windows.Forms.TrackBar trackBar1; private System.Windows.Forms.TrackBar trackBar2; private System.Windows.Forms.RadioButton radioButton1; diff --git a/Plotting/Box Plot/Plotting Form1.Designer.cs b/Plotting/Box Plot/Plotting Form1.Designer.cs index 6ee8fac..2cff7b4 100644 --- a/Plotting/Box Plot/Plotting Form1.Designer.cs +++ b/Plotting/Box Plot/Plotting Form1.Designer.cs @@ -29,7 +29,7 @@ protected override void Dispose(bool disposing) private void InitializeComponent() { System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(Plotting_Form1)); - this.ilPanel1 = new ILNumerics.Drawing.Panel(); + this.ilPanel1 = new ILNumerics.Drawing.Controls.WinForms.Panel(); this.SuspendLayout(); // // ilPanel1 @@ -61,7 +61,7 @@ private void InitializeComponent() #endregion - private ILNumerics.Drawing.Panel ilPanel1; + private ILNumerics.Drawing.Controls.WinForms.Panel ilPanel1; } } diff --git a/Plotting/Colorbar_IndividualTicksConfiguration/Form1.Designer.cs b/Plotting/Colorbar_IndividualTicksConfiguration/Form1.Designer.cs index 079ce3b..6b75a62 100644 --- a/Plotting/Colorbar_IndividualTicksConfiguration/Form1.Designer.cs +++ b/Plotting/Colorbar_IndividualTicksConfiguration/Form1.Designer.cs @@ -24,7 +24,7 @@ protected override void Dispose(bool disposing) { /// private void InitializeComponent() { System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(Form1)); - this.ilPanel1 = new ILNumerics.Drawing.Panel(); + this.ilPanel1 = new ILNumerics.Drawing.Controls.WinForms.Panel(); this.SuspendLayout(); // // ilPanel1 @@ -56,7 +56,7 @@ private void InitializeComponent() { #endregion - private ILNumerics.Drawing.Panel ilPanel1; + private ILNumerics.Drawing.Controls.WinForms.Panel ilPanel1; } } diff --git a/Plotting/CombinedLinePlots/Form1.Designer.cs b/Plotting/CombinedLinePlots/Form1.Designer.cs index 34b6bae..688390b 100644 --- a/Plotting/CombinedLinePlots/Form1.Designer.cs +++ b/Plotting/CombinedLinePlots/Form1.Designer.cs @@ -24,7 +24,7 @@ protected override void Dispose(bool disposing) { /// private void InitializeComponent() { System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(Form1)); - this.ilPanel1 = new ILNumerics.Drawing.Panel(); + this.ilPanel1 = new ILNumerics.Drawing.Controls.WinForms.Panel(); this.SuspendLayout(); // // ilPanel1 @@ -56,7 +56,7 @@ private void InitializeComponent() { #endregion - private ILNumerics.Drawing.Panel ilPanel1; + private ILNumerics.Drawing.Controls.WinForms.Panel ilPanel1; } } diff --git a/Plotting/ContourPlotConfiguration/Form1.Designer.cs b/Plotting/ContourPlotConfiguration/Form1.Designer.cs index cbad630..f4d9f25 100644 --- a/Plotting/ContourPlotConfiguration/Form1.Designer.cs +++ b/Plotting/ContourPlotConfiguration/Form1.Designer.cs @@ -24,7 +24,7 @@ protected override void Dispose(bool disposing) { /// private void InitializeComponent() { System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(Form1)); - this.panel1 = new ILNumerics.Drawing.Panel(); + this.panel1 = new ILNumerics.Drawing.Controls.WinForms.Panel(); this.SuspendLayout(); // // panel1 @@ -56,7 +56,7 @@ private void InitializeComponent() { #endregion - private ILNumerics.Drawing.Panel panel1; + private ILNumerics.Drawing.Controls.WinForms.Panel panel1; } } diff --git a/Plotting/CustomizingColormaps/Form1.Designer.cs b/Plotting/CustomizingColormaps/Form1.Designer.cs index 35bcfb0..8605a1d 100644 --- a/Plotting/CustomizingColormaps/Form1.Designer.cs +++ b/Plotting/CustomizingColormaps/Form1.Designer.cs @@ -24,7 +24,7 @@ protected override void Dispose(bool disposing) { /// private void InitializeComponent() { System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(Form1)); - this.ilPanel1 = new ILNumerics.Drawing.Panel(); + this.ilPanel1 = new ILNumerics.Drawing.Controls.WinForms.Panel(); this.SuspendLayout(); // // ilPanel1 @@ -56,7 +56,7 @@ private void InitializeComponent() { #endregion - private ILNumerics.Drawing.Panel ilPanel1; + private ILNumerics.Drawing.Controls.WinForms.Panel ilPanel1; } } diff --git a/Plotting/ExampleLegend/Form1.Designer.cs b/Plotting/ExampleLegend/Form1.Designer.cs index f828b13..ba60681 100644 --- a/Plotting/ExampleLegend/Form1.Designer.cs +++ b/Plotting/ExampleLegend/Form1.Designer.cs @@ -24,7 +24,7 @@ protected override void Dispose(bool disposing) { /// private void InitializeComponent() { System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(Form1)); - this.ilPanel1 = new ILNumerics.Drawing.Panel(); + this.ilPanel1 = new ILNumerics.Drawing.Controls.WinForms.Panel(); this.SuspendLayout(); // // ilPanel1 @@ -56,7 +56,7 @@ private void InitializeComponent() { #endregion - private ILNumerics.Drawing.Panel ilPanel1; + private ILNumerics.Drawing.Controls.WinForms.Panel ilPanel1; } } diff --git a/Plotting/FastSurface_Test/Form1.Designer.cs b/Plotting/FastSurface_Test/Form1.Designer.cs index 68ad486..ba1c14b 100644 --- a/Plotting/FastSurface_Test/Form1.Designer.cs +++ b/Plotting/FastSurface_Test/Form1.Designer.cs @@ -24,7 +24,7 @@ protected override void Dispose(bool disposing) { /// private void InitializeComponent() { System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(Form1)); - this.ilPanel1 = new ILNumerics.Drawing.Panel(); + this.ilPanel1 = new ILNumerics.Drawing.Controls.WinForms.Panel(); this.button1 = new System.Windows.Forms.Button(); this.button2 = new System.Windows.Forms.Button(); this.SuspendLayout(); @@ -80,7 +80,7 @@ private void InitializeComponent() { #endregion - private ILNumerics.Drawing.Panel ilPanel1; + private ILNumerics.Drawing.Controls.WinForms.Panel ilPanel1; private System.Windows.Forms.Button button1; private System.Windows.Forms.Button button2; } diff --git a/Plotting/FinancialSlicedDataLarge/Form1.Designer.cs b/Plotting/FinancialSlicedDataLarge/Form1.Designer.cs index b3139ab..eb89d5f 100644 --- a/Plotting/FinancialSlicedDataLarge/Form1.Designer.cs +++ b/Plotting/FinancialSlicedDataLarge/Form1.Designer.cs @@ -24,7 +24,7 @@ protected override void Dispose(bool disposing) { /// private void InitializeComponent() { System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(Form1)); - this.ilPanel1 = new ILNumerics.Drawing.Panel(); + this.ilPanel1 = new ILNumerics.Drawing.Controls.WinForms.Panel(); this.button1 = new System.Windows.Forms.Button(); this.SuspendLayout(); // @@ -68,7 +68,7 @@ private void InitializeComponent() { #endregion - private ILNumerics.Drawing.Panel ilPanel1; + private ILNumerics.Drawing.Controls.WinForms.Panel ilPanel1; private System.Windows.Forms.Button button1; } } diff --git a/Plotting/HistogrammPlots/Form1.Designer.cs b/Plotting/HistogrammPlots/Form1.Designer.cs index 3e966c5..2f1be25 100644 --- a/Plotting/HistogrammPlots/Form1.Designer.cs +++ b/Plotting/HistogrammPlots/Form1.Designer.cs @@ -24,7 +24,7 @@ protected override void Dispose(bool disposing) { /// private void InitializeComponent() { System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(Form1)); - this.ilPanel1 = new ILNumerics.Drawing.Panel(); + this.ilPanel1 = new ILNumerics.Drawing.Controls.WinForms.Panel(); this.button1 = new System.Windows.Forms.Button(); this.button2 = new System.Windows.Forms.Button(); this.button3 = new System.Windows.Forms.Button(); @@ -103,7 +103,7 @@ private void InitializeComponent() { #endregion - private ILNumerics.Drawing.Panel ilPanel1; + private ILNumerics.Drawing.Controls.WinForms.Panel ilPanel1; private System.Windows.Forms.Button button1; private System.Windows.Forms.Button button2; private System.Windows.Forms.Button button3; diff --git a/Plotting/ImageSC_InteractiveDataRange/Plotting Form1.Designer.cs b/Plotting/ImageSC_InteractiveDataRange/Plotting Form1.Designer.cs index 82ae1cf..7709697 100644 --- a/Plotting/ImageSC_InteractiveDataRange/Plotting Form1.Designer.cs +++ b/Plotting/ImageSC_InteractiveDataRange/Plotting Form1.Designer.cs @@ -24,7 +24,7 @@ protected override void Dispose(bool disposing) { /// private void InitializeComponent() { System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(Plotting_Form1)); - this.ilPanel1 = new ILNumerics.Drawing.Panel(); + this.ilPanel1 = new ILNumerics.Drawing.Controls.WinForms.Panel(); this.trackBar1 = new System.Windows.Forms.TrackBar(); this.trackBar2 = new System.Windows.Forms.TrackBar(); ((System.ComponentModel.ISupportInitialize)(this.trackBar1)).BeginInit(); @@ -79,7 +79,7 @@ private void InitializeComponent() { #endregion - private ILNumerics.Drawing.Panel ilPanel1; + private ILNumerics.Drawing.Controls.WinForms.Panel ilPanel1; private System.Windows.Forms.TrackBar trackBar1; private System.Windows.Forms.TrackBar trackBar2; } diff --git a/Plotting/InteractiveAreaOnTopOfPlots/Form1.Designer.cs b/Plotting/InteractiveAreaOnTopOfPlots/Form1.Designer.cs index 9b377f7..286f9ee 100644 --- a/Plotting/InteractiveAreaOnTopOfPlots/Form1.Designer.cs +++ b/Plotting/InteractiveAreaOnTopOfPlots/Form1.Designer.cs @@ -24,7 +24,7 @@ protected override void Dispose(bool disposing) { /// private void InitializeComponent() { System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(Form1)); - this.ilPanel1 = new ILNumerics.Drawing.Panel(); + this.ilPanel1 = new ILNumerics.Drawing.Controls.WinForms.Panel(); this.SuspendLayout(); // // ilPanel1 @@ -56,7 +56,7 @@ private void InitializeComponent() { #endregion - private ILNumerics.Drawing.Panel ilPanel1; + private ILNumerics.Drawing.Controls.WinForms.Panel ilPanel1; } } diff --git a/Plotting/InteractiveColorbar/Form1.Designer.cs b/Plotting/InteractiveColorbar/Form1.Designer.cs index be9b5bf..7f7fe3f 100644 --- a/Plotting/InteractiveColorbar/Form1.Designer.cs +++ b/Plotting/InteractiveColorbar/Form1.Designer.cs @@ -24,7 +24,7 @@ protected override void Dispose(bool disposing) { /// private void InitializeComponent() { System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(Form1)); - this.ilPanel1 = new ILNumerics.Drawing.Panel(); + this.ilPanel1 = new ILNumerics.Drawing.Controls.WinForms.Panel(); this.SuspendLayout(); // // ilPanel1 @@ -56,7 +56,7 @@ private void InitializeComponent() { #endregion - private ILNumerics.Drawing.Panel ilPanel1; + private ILNumerics.Drawing.Controls.WinForms.Panel ilPanel1; } } diff --git a/Plotting/IteratingColormaps/Form1.Designer.cs b/Plotting/IteratingColormaps/Form1.Designer.cs index cedee96..9d69c82 100644 --- a/Plotting/IteratingColormaps/Form1.Designer.cs +++ b/Plotting/IteratingColormaps/Form1.Designer.cs @@ -24,7 +24,7 @@ protected override void Dispose(bool disposing) { /// private void InitializeComponent() { System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(Form1)); - this.ilPanel1 = new ILNumerics.Drawing.Panel(); + this.ilPanel1 = new ILNumerics.Drawing.Controls.WinForms.Panel(); this.button1 = new System.Windows.Forms.Button(); this.button2 = new System.Windows.Forms.Button(); this.SuspendLayout(); @@ -80,7 +80,7 @@ private void InitializeComponent() { #endregion - private ILNumerics.Drawing.Panel ilPanel1; + private ILNumerics.Drawing.Controls.WinForms.Panel ilPanel1; private System.Windows.Forms.Button button1; private System.Windows.Forms.Button button2; diff --git a/Plotting/LayeredAreaPlot/Plotting Form1.cs b/Plotting/LayeredAreaPlot/Plotting Form1.cs index 129b538..86c4bca 100644 --- a/Plotting/LayeredAreaPlot/Plotting Form1.cs +++ b/Plotting/LayeredAreaPlot/Plotting Form1.cs @@ -17,13 +17,13 @@ public partial class Plotting_Form1 : Form { public Plotting_Form1() { InitializeComponent(); - ilPanel1 = new ILNumerics.Drawing.Panel(); + ilPanel1 = new ILNumerics.Drawing.Controls.WinForms.Panel(); ilPanel1.Dock = DockStyle.Fill; ilPanel1.Load += new EventHandler(ilPanel1_Load); Controls.Add(ilPanel1); } - private ILNumerics.Drawing.Panel ilPanel1; + private ILNumerics.Drawing.Controls.WinForms.Panel ilPanel1; // Initial plot setup, modify this as needed private void ilPanel1_Load(object sender, EventArgs e) diff --git a/Plotting/LinePlotOnSurface/Form1.Designer.cs b/Plotting/LinePlotOnSurface/Form1.Designer.cs index 0afa498..b6dc02a 100644 --- a/Plotting/LinePlotOnSurface/Form1.Designer.cs +++ b/Plotting/LinePlotOnSurface/Form1.Designer.cs @@ -24,7 +24,7 @@ protected override void Dispose(bool disposing) { /// private void InitializeComponent() { System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(Form1)); - this.ilPanel1 = new ILNumerics.Drawing.Panel(); + this.ilPanel1 = new ILNumerics.Drawing.Controls.WinForms.Panel(); this.SuspendLayout(); // // ilPanel1 @@ -58,7 +58,7 @@ private void InitializeComponent() { #endregion - public ILNumerics.Drawing.Panel ilPanel1; + public ILNumerics.Drawing.Controls.WinForms.Panel ilPanel1; } } diff --git a/Plotting/LogAxisTicks/Form1.Designer.cs b/Plotting/LogAxisTicks/Form1.Designer.cs index e7faa87..ebe6ac4 100644 --- a/Plotting/LogAxisTicks/Form1.Designer.cs +++ b/Plotting/LogAxisTicks/Form1.Designer.cs @@ -28,7 +28,7 @@ private void InitializeComponent() { this.button2 = new System.Windows.Forms.Button(); this.button3 = new System.Windows.Forms.Button(); this.trackBar1 = new System.Windows.Forms.TrackBar(); - this.ilPanel1 = new ILNumerics.Drawing.Panel(); + this.ilPanel1 = new ILNumerics.Drawing.Controls.WinForms.Panel(); ((System.ComponentModel.ISupportInitialize)(this.trackBar1)).BeginInit(); this.SuspendLayout(); // @@ -108,7 +108,7 @@ private void InitializeComponent() { #endregion - private ILNumerics.Drawing.Panel ilPanel1; + private ILNumerics.Drawing.Controls.WinForms.Panel ilPanel1; private System.Windows.Forms.Button button1; private System.Windows.Forms.Button button2; private System.Windows.Forms.Button button3; diff --git a/Plotting/NoCube_PlotCube/Form1.cs b/Plotting/NoCube_PlotCube/Form1.cs index 509f206..11eaba5 100644 --- a/Plotting/NoCube_PlotCube/Form1.cs +++ b/Plotting/NoCube_PlotCube/Form1.cs @@ -16,13 +16,13 @@ namespace NoCube_PlotCube { public partial class Form1 : Form { - ILNumerics.Drawing.Panel panel; + ILNumerics.Drawing.Controls.WinForms.Panel panel; PlotCube PlotCube { get { return panel?.Scene.First(); } } public Form1() { InitializeComponent(); - panel = new ILNumerics.Drawing.Panel(); + panel = new ILNumerics.Drawing.Controls.WinForms.Panel(); Controls.Add(panel); panel.Dock = DockStyle.Fill; panel.Load += Panel_Load; diff --git a/Plotting/PlotCubeAspectRatioExample/Form1.cs b/Plotting/PlotCubeAspectRatioExample/Form1.cs index 4a5a59a..a6dc905 100644 --- a/Plotting/PlotCubeAspectRatioExample/Form1.cs +++ b/Plotting/PlotCubeAspectRatioExample/Form1.cs @@ -13,12 +13,12 @@ namespace WindowsFormsApp1 { public partial class Form1 : Form { - ILNumerics.Drawing.Panel m_panel; + ILNumerics.Drawing.Controls.WinForms.Panel m_panel; public Form1() { InitializeComponent(); // create & configure the panel - m_panel = new ILNumerics.Drawing.Panel(); + m_panel = new ILNumerics.Drawing.Controls.WinForms.Panel(); Controls.Add(m_panel); m_panel.Dock = DockStyle.Fill; diff --git a/Plotting/PlotCubeContentAspectRatioExample/Form1.cs b/Plotting/PlotCubeContentAspectRatioExample/Form1.cs index 675d8b8..92bfd52 100644 --- a/Plotting/PlotCubeContentAspectRatioExample/Form1.cs +++ b/Plotting/PlotCubeContentAspectRatioExample/Form1.cs @@ -16,7 +16,7 @@ namespace WindowsFormsApp1 { public partial class Form1 : Form { - ILNumerics.Drawing.Panel m_panel; + ILNumerics.Drawing.Controls.WinForms.Panel m_panel; bool m_isHorizontal = true; /// /// Now, that the plot cube is not controlling its render size automatically anymore, we @@ -34,7 +34,7 @@ PlotCube PlotCube { } public Form1() { InitializeComponent(); - m_panel = new ILNumerics.Drawing.Panel(); + m_panel = new ILNumerics.Drawing.Controls.WinForms.Panel(); m_panel.Load += M_panel_Load; m_panel.Dock = DockStyle.Fill; Controls.Add(m_panel); diff --git a/Plotting/Points4ImageSC/Form1.Designer.cs b/Plotting/Points4ImageSC/Form1.Designer.cs index bd272d0..97acbfb 100644 --- a/Plotting/Points4ImageSC/Form1.Designer.cs +++ b/Plotting/Points4ImageSC/Form1.Designer.cs @@ -39,7 +39,7 @@ private void InitializeComponent() { #endregion - private ILNumerics.Drawing.Panel ilPanel1; + private ILNumerics.Drawing.Controls.WinForms.Panel ilPanel1; } } diff --git a/Plotting/RectangleOverlayinPlotCube/Form1.Designer.cs b/Plotting/RectangleOverlayinPlotCube/Form1.Designer.cs index 1a53b9f..c018c94 100644 --- a/Plotting/RectangleOverlayinPlotCube/Form1.Designer.cs +++ b/Plotting/RectangleOverlayinPlotCube/Form1.Designer.cs @@ -24,7 +24,7 @@ protected override void Dispose(bool disposing) { /// private void InitializeComponent() { System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(Form1)); - this.ilPanel1 = new ILNumerics.Drawing.Panel(); + this.ilPanel1 = new ILNumerics.Drawing.Controls.WinForms.Panel(); this.SuspendLayout(); // // ilPanel1 @@ -56,7 +56,7 @@ private void InitializeComponent() { #endregion - private ILNumerics.Drawing.Panel ilPanel1; + private ILNumerics.Drawing.Controls.WinForms.Panel ilPanel1; } } diff --git a/Plotting/RemoveContentFromPlotCubeCSharp/Form1.Designer.cs b/Plotting/RemoveContentFromPlotCubeCSharp/Form1.Designer.cs index a0f7f42..5b5816d 100644 --- a/Plotting/RemoveContentFromPlotCubeCSharp/Form1.Designer.cs +++ b/Plotting/RemoveContentFromPlotCubeCSharp/Form1.Designer.cs @@ -24,7 +24,7 @@ protected override void Dispose(bool disposing) { /// private void InitializeComponent() { System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(Form1)); - this.ilPanel1 = new ILNumerics.Drawing.Panel(); + this.ilPanel1 = new ILNumerics.Drawing.Controls.WinForms.Panel(); this.button1 = new System.Windows.Forms.Button(); this.SuspendLayout(); // @@ -68,7 +68,7 @@ private void InitializeComponent() { #endregion - private ILNumerics.Drawing.Panel ilPanel1; + private ILNumerics.Drawing.Controls.WinForms.Panel ilPanel1; private System.Windows.Forms.Button button1; } } diff --git a/Plotting/ReusePlottingForms/Form1.Designer.cs b/Plotting/ReusePlottingForms/Form1.Designer.cs index 4c02f30..5086732 100644 --- a/Plotting/ReusePlottingForms/Form1.Designer.cs +++ b/Plotting/ReusePlottingForms/Form1.Designer.cs @@ -24,7 +24,7 @@ protected override void Dispose(bool disposing) { /// private void InitializeComponent() { System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(Form1)); - this.ilPanel1 = new ILNumerics.Drawing.Panel(); + this.ilPanel1 = new ILNumerics.Drawing.Controls.WinForms.Panel(); this.SuspendLayout(); // // ilPanel1 @@ -55,7 +55,7 @@ private void InitializeComponent() { #endregion - private ILNumerics.Drawing.Panel ilPanel1; + private ILNumerics.Drawing.Controls.WinForms.Panel ilPanel1; } } diff --git a/Plotting/ReusePlottingForms/Plotting Form1.Designer.cs b/Plotting/ReusePlottingForms/Plotting Form1.Designer.cs index c195bb2..16ab5bc 100644 --- a/Plotting/ReusePlottingForms/Plotting Form1.Designer.cs +++ b/Plotting/ReusePlottingForms/Plotting Form1.Designer.cs @@ -24,7 +24,7 @@ protected override void Dispose(bool disposing) { /// private void InitializeComponent() { System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(Plotting_Form1)); - this.ilPanel1 = new ILNumerics.Drawing.Panel(); + this.ilPanel1 = new ILNumerics.Drawing.Controls.WinForms.Panel(); this.SuspendLayout(); // // ilPanel1 @@ -56,7 +56,7 @@ private void InitializeComponent() { #endregion - private ILNumerics.Drawing.Panel ilPanel1; + private ILNumerics.Drawing.Controls.WinForms.Panel ilPanel1; } } diff --git a/Plotting/ReversedYAxis4LinePlots/Form1.Designer.cs b/Plotting/ReversedYAxis4LinePlots/Form1.Designer.cs index bea9cda..a122df3 100644 --- a/Plotting/ReversedYAxis4LinePlots/Form1.Designer.cs +++ b/Plotting/ReversedYAxis4LinePlots/Form1.Designer.cs @@ -24,7 +24,7 @@ protected override void Dispose(bool disposing) { /// private void InitializeComponent() { System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(Form1)); - this.ilPanel1 = new ILNumerics.Drawing.Panel(); + this.ilPanel1 = new ILNumerics.Drawing.Controls.WinForms.Panel(); this.SuspendLayout(); // // ilPanel1 @@ -56,7 +56,7 @@ private void InitializeComponent() { #endregion - private ILNumerics.Drawing.Panel ilPanel1; + private ILNumerics.Drawing.Controls.WinForms.Panel ilPanel1; } } diff --git a/Plotting/ScalableLargeScatteredDataFitting/Form1.Designer.cs b/Plotting/ScalableLargeScatteredDataFitting/Form1.Designer.cs index cf09e0b..347c543 100644 --- a/Plotting/ScalableLargeScatteredDataFitting/Form1.Designer.cs +++ b/Plotting/ScalableLargeScatteredDataFitting/Form1.Designer.cs @@ -24,7 +24,7 @@ protected override void Dispose(bool disposing) { /// private void InitializeComponent() { System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(Form1)); - this.ilPanel1 = new ILNumerics.Drawing.Panel(); + this.ilPanel1 = new ILNumerics.Drawing.Controls.WinForms.Panel(); this.button1 = new System.Windows.Forms.Button(); this.SuspendLayout(); // @@ -68,7 +68,7 @@ private void InitializeComponent() { #endregion - private ILNumerics.Drawing.Panel ilPanel1; + private ILNumerics.Drawing.Controls.WinForms.Panel ilPanel1; private System.Windows.Forms.Button button1; } } diff --git a/Plotting/ScreenObjectCoordTransform/Form1.Designer.cs b/Plotting/ScreenObjectCoordTransform/Form1.Designer.cs index 7219308..3186af3 100644 --- a/Plotting/ScreenObjectCoordTransform/Form1.Designer.cs +++ b/Plotting/ScreenObjectCoordTransform/Form1.Designer.cs @@ -24,7 +24,7 @@ protected override void Dispose(bool disposing) { /// private void InitializeComponent() { System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(Form1)); - this.ilPanel1 = new ILNumerics.Drawing.Panel(); + this.ilPanel1 = new ILNumerics.Drawing.Controls.WinForms.Panel(); this.SuspendLayout(); // // ilPanel1 @@ -56,7 +56,7 @@ private void InitializeComponent() { #endregion - private ILNumerics.Drawing.Panel ilPanel1; + private ILNumerics.Drawing.Controls.WinForms.Panel ilPanel1; } } diff --git a/Plotting/SelectingDataCoordsFromScreen/Form1.cs b/Plotting/SelectingDataCoordsFromScreen/Form1.cs index a9bf222..c010394 100644 --- a/Plotting/SelectingDataCoordsFromScreen/Form1.cs +++ b/Plotting/SelectingDataCoordsFromScreen/Form1.cs @@ -14,12 +14,12 @@ public Form1() { } // The local panel hosting the scene - ILNumerics.Drawing.Panel m_panel; + ILNumerics.Drawing.Controls.WinForms.Panel m_panel; private void Form1_Load(object sender, EventArgs e) { - // create, connect and configure the ILNumerics.Drawing.Panel: - m_panel = new ILNumerics.Drawing.Panel(); + // create, connect and configure the ILNumerics.Drawing.Controls.WinForms.Panel: + m_panel = new ILNumerics.Drawing.Controls.WinForms.Panel(); // use Panel_Load for configuring your scene! m_panel.Load += Panel_Load; diff --git a/Plotting/SplinePlotExample/Plotting Form1.Designer.cs b/Plotting/SplinePlotExample/Plotting Form1.Designer.cs index 4741453..7da7560 100644 --- a/Plotting/SplinePlotExample/Plotting Form1.Designer.cs +++ b/Plotting/SplinePlotExample/Plotting Form1.Designer.cs @@ -29,7 +29,7 @@ private void InitializeComponent() { this.radioButton1 = new System.Windows.Forms.RadioButton(); this.radioButton3 = new System.Windows.Forms.RadioButton(); this.trackBar1 = new System.Windows.Forms.TrackBar(); - this.ilPanel1 = new ILNumerics.Drawing.Panel(); + this.ilPanel1 = new ILNumerics.Drawing.Controls.WinForms.Panel(); this.panel1.SuspendLayout(); ((System.ComponentModel.ISupportInitialize)(this.trackBar1)).BeginInit(); this.SuspendLayout(); @@ -129,7 +129,7 @@ private void InitializeComponent() { #endregion - private ILNumerics.Drawing.Panel ilPanel1; + private ILNumerics.Drawing.Controls.WinForms.Panel ilPanel1; private System.Windows.Forms.Panel panel1; private System.Windows.Forms.RadioButton radioButton3; private System.Windows.Forms.TrackBar trackBar1; diff --git a/Plotting/Spline_path_through_3D_points/Form1.Designer.cs b/Plotting/Spline_path_through_3D_points/Form1.Designer.cs index a8bc778..ca7ad27 100644 --- a/Plotting/Spline_path_through_3D_points/Form1.Designer.cs +++ b/Plotting/Spline_path_through_3D_points/Form1.Designer.cs @@ -24,7 +24,7 @@ protected override void Dispose(bool disposing) { /// private void InitializeComponent() { System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(Form1)); - this.ilPanel1 = new ILNumerics.Drawing.Panel(); + this.ilPanel1 = new ILNumerics.Drawing.Controls.WinForms.Panel(); this.button1 = new System.Windows.Forms.Button(); this.trackBar1 = new System.Windows.Forms.TrackBar(); this.label1 = new System.Windows.Forms.Label(); @@ -94,7 +94,7 @@ private void InitializeComponent() { #endregion - private ILNumerics.Drawing.Panel ilPanel1; + private ILNumerics.Drawing.Controls.WinForms.Panel ilPanel1; private System.Windows.Forms.Button button1; private System.Windows.Forms.TrackBar trackBar1; private System.Windows.Forms.Label label1; diff --git a/Plotting/StackedAreaPlot/Plotting Form1.Designer.cs b/Plotting/StackedAreaPlot/Plotting Form1.Designer.cs index 9e85f6f..faef705 100644 --- a/Plotting/StackedAreaPlot/Plotting Form1.Designer.cs +++ b/Plotting/StackedAreaPlot/Plotting Form1.Designer.cs @@ -29,7 +29,7 @@ protected override void Dispose(bool disposing) private void InitializeComponent() { System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(Plotting_Form1)); - this.ilPanel1 = new ILNumerics.Drawing.Panel(); + this.ilPanel1 = new ILNumerics.Drawing.Controls.WinForms.Panel(); this.SuspendLayout(); // // ilPanel1 @@ -61,7 +61,7 @@ private void InitializeComponent() #endregion - private ILNumerics.Drawing.Panel ilPanel1; + private ILNumerics.Drawing.Controls.WinForms.Panel ilPanel1; } } diff --git a/Plotting/Titles on Plots/Form1.Designer.cs b/Plotting/Titles on Plots/Form1.Designer.cs index a3a95a1..9127b65 100644 --- a/Plotting/Titles on Plots/Form1.Designer.cs +++ b/Plotting/Titles on Plots/Form1.Designer.cs @@ -24,7 +24,7 @@ protected override void Dispose(bool disposing) { /// private void InitializeComponent() { System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(Form1)); - this.ilPanel1 = new ILNumerics.Drawing.Panel(); + this.ilPanel1 = new ILNumerics.Drawing.Controls.WinForms.Panel(); this.SuspendLayout(); // // ilPanel1 @@ -56,7 +56,7 @@ private void InitializeComponent() { #endregion - private ILNumerics.Drawing.Panel ilPanel1; + private ILNumerics.Drawing.Controls.WinForms.Panel ilPanel1; } } diff --git a/Plotting/TwoXYLinePlotsAndLegend/Form1.Designer.cs b/Plotting/TwoXYLinePlotsAndLegend/Form1.Designer.cs index 37bbefd..f05e514 100644 --- a/Plotting/TwoXYLinePlotsAndLegend/Form1.Designer.cs +++ b/Plotting/TwoXYLinePlotsAndLegend/Form1.Designer.cs @@ -24,7 +24,7 @@ protected override void Dispose(bool disposing) { /// private void InitializeComponent() { System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(Form1)); - this.ilPanel1 = new ILNumerics.Drawing.Panel(); + this.ilPanel1 = new ILNumerics.Drawing.Controls.WinForms.Panel(); this.SuspendLayout(); // // ilPanel1 @@ -56,7 +56,7 @@ private void InitializeComponent() { #endregion - private ILNumerics.Drawing.Panel ilPanel1; + private ILNumerics.Drawing.Controls.WinForms.Panel ilPanel1; } } diff --git a/Plotting/VolumePlots/Form1.Designer.cs b/Plotting/VolumePlots/Form1.Designer.cs index 92c0698..b582d1a 100644 --- a/Plotting/VolumePlots/Form1.Designer.cs +++ b/Plotting/VolumePlots/Form1.Designer.cs @@ -24,7 +24,7 @@ protected override void Dispose(bool disposing) { /// private void InitializeComponent() { System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(Form1)); - this.ilPanel1 = new ILNumerics.Drawing.Panel(); + this.ilPanel1 = new ILNumerics.Drawing.Controls.WinForms.Panel(); this.button1 = new System.Windows.Forms.Button(); this.button2 = new System.Windows.Forms.Button(); this.SuspendLayout(); @@ -80,7 +80,7 @@ private void InitializeComponent() { #endregion - private ILNumerics.Drawing.Panel ilPanel1; + private ILNumerics.Drawing.Controls.WinForms.Panel ilPanel1; private System.Windows.Forms.Button button1; private System.Windows.Forms.Button button2; } diff --git a/Visualization/2DHeatmapOn3DObject/Form1.Designer.cs b/Visualization/2DHeatmapOn3DObject/Form1.Designer.cs index 606c2d1..fae2c96 100644 --- a/Visualization/2DHeatmapOn3DObject/Form1.Designer.cs +++ b/Visualization/2DHeatmapOn3DObject/Form1.Designer.cs @@ -24,7 +24,7 @@ protected override void Dispose(bool disposing) { /// private void InitializeComponent() { System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(Form1)); - this.ilPanel1 = new ILNumerics.Drawing.Panel(); + this.ilPanel1 = new ILNumerics.Drawing.Controls.WinForms.Panel(); this.SuspendLayout(); // // ilPanel1 @@ -56,7 +56,7 @@ private void InitializeComponent() { #endregion - private ILNumerics.Drawing.Panel ilPanel1; + private ILNumerics.Drawing.Controls.WinForms.Panel ilPanel1; } } diff --git a/Visualization/3DCadViewGearExample/Form1.Designer.cs b/Visualization/3DCadViewGearExample/Form1.Designer.cs index 403a43e..35b48e2 100644 --- a/Visualization/3DCadViewGearExample/Form1.Designer.cs +++ b/Visualization/3DCadViewGearExample/Form1.Designer.cs @@ -24,7 +24,7 @@ protected override void Dispose(bool disposing) { /// private void InitializeComponent() { System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(Form1)); - this.ilPanel1 = new ILNumerics.Drawing.Panel(); + this.ilPanel1 = new ILNumerics.Drawing.Controls.WinForms.Panel(); this.SuspendLayout(); // // ilPanel1 @@ -56,7 +56,7 @@ private void InitializeComponent() { #endregion - private ILNumerics.Drawing.Panel ilPanel1; + private ILNumerics.Drawing.Controls.WinForms.Panel ilPanel1; } } diff --git a/Visualization/3D_DataCubes_Broadcasting/Form1.Designer.cs b/Visualization/3D_DataCubes_Broadcasting/Form1.Designer.cs index 00d1720..a1b0ef5 100644 --- a/Visualization/3D_DataCubes_Broadcasting/Form1.Designer.cs +++ b/Visualization/3D_DataCubes_Broadcasting/Form1.Designer.cs @@ -26,7 +26,7 @@ protected override void Dispose(bool disposing) { /// private void InitializeComponent() { System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(Form1)); - this.ilPanel1 = new ILNumerics.Drawing.Panel(); + this.ilPanel1 = new ILNumerics.Drawing.Controls.WinForms.Panel(); this.SuspendLayout(); // // ilPanel1 @@ -58,7 +58,7 @@ private void InitializeComponent() { #endregion - private Panel ilPanel1; + private ILNumerics.Drawing.Controls.WinForms.Panel ilPanel1; } } diff --git a/Visualization/BasicLighting/Form1.Designer.cs b/Visualization/BasicLighting/Form1.Designer.cs index 0268bad..003e683 100644 --- a/Visualization/BasicLighting/Form1.Designer.cs +++ b/Visualization/BasicLighting/Form1.Designer.cs @@ -24,7 +24,7 @@ protected override void Dispose(bool disposing) { /// private void InitializeComponent() { System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(Form1)); - this.ilPanel1 = new ILNumerics.Drawing.Panel(); + this.ilPanel1 = new ILNumerics.Drawing.Controls.WinForms.Panel(); this.SuspendLayout(); // // ilPanel1 @@ -56,7 +56,7 @@ private void InitializeComponent() { #endregion - private ILNumerics.Drawing.Panel ilPanel1; + private ILNumerics.Drawing.Controls.WinForms.Panel ilPanel1; } } diff --git a/Visualization/BigDataVisualization_ChunkedInteractive/Form1.Designer.cs b/Visualization/BigDataVisualization_ChunkedInteractive/Form1.Designer.cs index 550f1c5..5d15903 100644 --- a/Visualization/BigDataVisualization_ChunkedInteractive/Form1.Designer.cs +++ b/Visualization/BigDataVisualization_ChunkedInteractive/Form1.Designer.cs @@ -26,7 +26,7 @@ private void InitializeComponent() { System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(Form1)); this.button1 = new System.Windows.Forms.Button(); this.button2 = new System.Windows.Forms.Button(); - this.ilPanel1 = new ILNumerics.Drawing.Panel(); + this.ilPanel1 = new ILNumerics.Drawing.Controls.WinForms.Panel(); this.button3 = new System.Windows.Forms.Button(); this.SuspendLayout(); // @@ -93,7 +93,7 @@ private void InitializeComponent() { #endregion private System.Windows.Forms.Button button1; private System.Windows.Forms.Button button2; - private ILNumerics.Drawing.Panel ilPanel1; + private ILNumerics.Drawing.Controls.WinForms.Panel ilPanel1; private System.Windows.Forms.Button button3; } } diff --git a/Visualization/ColorbarColoredSphere/Form1.Designer.cs b/Visualization/ColorbarColoredSphere/Form1.Designer.cs index fd15fdf..0ecd3b6 100644 --- a/Visualization/ColorbarColoredSphere/Form1.Designer.cs +++ b/Visualization/ColorbarColoredSphere/Form1.Designer.cs @@ -24,7 +24,7 @@ protected override void Dispose(bool disposing) { /// private void InitializeComponent() { System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(Form1)); - this.ilPanel1 = new ILNumerics.Drawing.Panel(); + this.ilPanel1 = new ILNumerics.Drawing.Controls.WinForms.Panel(); this.SuspendLayout(); // // ilPanel1 @@ -56,7 +56,7 @@ private void InitializeComponent() { #endregion - private ILNumerics.Drawing.Panel ilPanel1; + private ILNumerics.Drawing.Controls.WinForms.Panel ilPanel1; } } diff --git a/Visualization/ColorbarWithCustomObjects/MainForm.Designer.cs b/Visualization/ColorbarWithCustomObjects/MainForm.Designer.cs index 7b372e4..cac2ee9 100644 --- a/Visualization/ColorbarWithCustomObjects/MainForm.Designer.cs +++ b/Visualization/ColorbarWithCustomObjects/MainForm.Designer.cs @@ -24,8 +24,8 @@ protected override void Dispose(bool disposing) { /// private void InitializeComponent() { System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(MainForm)); - this.ilPanel1 = new ILNumerics.Drawing.Panel(); - this.ilPanel2 = new ILNumerics.Drawing.Panel(); + this.ilPanel1 = new ILNumerics.Drawing.Controls.WinForms.Panel(); + this.ilPanel2 = new ILNumerics.Drawing.Controls.WinForms.Panel(); this.label1 = new System.Windows.Forms.Label(); this.label2 = new System.Windows.Forms.Label(); this.SuspendLayout(); @@ -96,8 +96,8 @@ private void InitializeComponent() { #endregion - private ILNumerics.Drawing.Panel ilPanel1; - private ILNumerics.Drawing.Panel ilPanel2; + private ILNumerics.Drawing.Controls.WinForms.Panel ilPanel1; + private ILNumerics.Drawing.Controls.WinForms.Panel ilPanel2; private System.Windows.Forms.Label label1; private System.Windows.Forms.Label label2; } diff --git a/Visualization/ColormappedCircles_inPlotCube/Form1.Designer.cs b/Visualization/ColormappedCircles_inPlotCube/Form1.Designer.cs index 848382c..0e054bc 100644 --- a/Visualization/ColormappedCircles_inPlotCube/Form1.Designer.cs +++ b/Visualization/ColormappedCircles_inPlotCube/Form1.Designer.cs @@ -24,7 +24,7 @@ protected override void Dispose(bool disposing) { /// private void InitializeComponent() { System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(Form1)); - this.ilPanel1 = new ILNumerics.Drawing.Panel(); + this.ilPanel1 = new ILNumerics.Drawing.Controls.WinForms.Panel(); this.SuspendLayout(); // // ilPanel1 @@ -56,7 +56,7 @@ private void InitializeComponent() { #endregion - private ILNumerics.Drawing.Panel ilPanel1; + private ILNumerics.Drawing.Controls.WinForms.Panel ilPanel1; } } diff --git a/Visualization/ColormappedMatrixChart/Plotting Form1.cs b/Visualization/ColormappedMatrixChart/Plotting Form1.cs index 3a090db..edbc0cd 100644 --- a/Visualization/ColormappedMatrixChart/Plotting Form1.cs +++ b/Visualization/ColormappedMatrixChart/Plotting Form1.cs @@ -18,13 +18,13 @@ public partial class Plotting_Form1 : Form public Plotting_Form1() { InitializeComponent(); - ilPanel1 = new ILNumerics.Drawing.Panel(); + ilPanel1 = new ILNumerics.Drawing.Controls.WinForms.Panel(); ilPanel1.Load += new EventHandler(ilPanel1_Load); Controls.Add(ilPanel1); ilPanel1.Dock = DockStyle.Fill; } - private ILNumerics.Drawing.Panel ilPanel1; + private ILNumerics.Drawing.Controls.WinForms.Panel ilPanel1; // Initial plot setup, modify this as needed private void ilPanel1_Load(object sender, EventArgs e) diff --git a/Visualization/ConnectingTubes/Form1.Designer.cs b/Visualization/ConnectingTubes/Form1.Designer.cs index 415913c..43b4349 100644 --- a/Visualization/ConnectingTubes/Form1.Designer.cs +++ b/Visualization/ConnectingTubes/Form1.Designer.cs @@ -24,7 +24,7 @@ protected override void Dispose(bool disposing) { /// private void InitializeComponent() { System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(Form1)); - this.ilPanel1 = new ILNumerics.Drawing.Panel(); + this.ilPanel1 = new ILNumerics.Drawing.Controls.WinForms.Panel(); this.SuspendLayout(); // // ilPanel1 @@ -56,7 +56,7 @@ private void InitializeComponent() { #endregion - private ILNumerics.Drawing.Panel ilPanel1; + private ILNumerics.Drawing.Controls.WinForms.Panel ilPanel1; } } diff --git a/Visualization/ConstrainedCameraInteraction/Form1.Designer.cs b/Visualization/ConstrainedCameraInteraction/Form1.Designer.cs index 747e08a..9f010df 100644 --- a/Visualization/ConstrainedCameraInteraction/Form1.Designer.cs +++ b/Visualization/ConstrainedCameraInteraction/Form1.Designer.cs @@ -24,7 +24,7 @@ protected override void Dispose(bool disposing) { /// private void InitializeComponent() { System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(Form1)); - this.ilPanel1 = new ILNumerics.Drawing.Panel(); + this.ilPanel1 = new ILNumerics.Drawing.Controls.WinForms.Panel(); this.SuspendLayout(); // // ilPanel1 @@ -56,7 +56,7 @@ private void InitializeComponent() { #endregion - private ILNumerics.Drawing.Panel ilPanel1; + private ILNumerics.Drawing.Controls.WinForms.Panel ilPanel1; } } diff --git a/Visualization/CustomColorMap/Plotting Form1.cs b/Visualization/CustomColorMap/Plotting Form1.cs index 97087a5..dbfc0c1 100644 --- a/Visualization/CustomColorMap/Plotting Form1.cs +++ b/Visualization/CustomColorMap/Plotting Form1.cs @@ -16,13 +16,13 @@ public partial class Plotting_Form1 : Form public Plotting_Form1() { InitializeComponent(); - ilPanel1 = new ILNumerics.Drawing.Panel(); + ilPanel1 = new ILNumerics.Drawing.Controls.WinForms.Panel(); ilPanel1.Dock = DockStyle.Fill; ilPanel1.Load += ilPanel1_Load; Controls.Add(ilPanel1); } - private ILNumerics.Drawing.Panel ilPanel1; + private ILNumerics.Drawing.Controls.WinForms.Panel ilPanel1; // Initial plot setup, modify this as needed private void ilPanel1_Load(object sender, EventArgs e) diff --git a/Visualization/CustomDerivedClassAsSceneObject_SupportCopy/Form1.Designer.cs b/Visualization/CustomDerivedClassAsSceneObject_SupportCopy/Form1.Designer.cs index 5b7f54f..06d74c8 100644 --- a/Visualization/CustomDerivedClassAsSceneObject_SupportCopy/Form1.Designer.cs +++ b/Visualization/CustomDerivedClassAsSceneObject_SupportCopy/Form1.Designer.cs @@ -26,7 +26,7 @@ private void InitializeComponent() { System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(Form1)); this.button1 = new System.Windows.Forms.Button(); this.textBox1 = new System.Windows.Forms.TextBox(); - this.ilPanel1 = new ILNumerics.Drawing.Panel(); + this.ilPanel1 = new ILNumerics.Drawing.Controls.WinForms.Panel(); this.SuspendLayout(); // // button1 @@ -81,7 +81,7 @@ private void InitializeComponent() { #endregion - private ILNumerics.Drawing.Panel ilPanel1; + private ILNumerics.Drawing.Controls.WinForms.Panel ilPanel1; private System.Windows.Forms.Button button1; private System.Windows.Forms.TextBox textBox1; } diff --git a/Visualization/CustomMouseToolForILCamera/Form1.Designer.cs b/Visualization/CustomMouseToolForILCamera/Form1.Designer.cs index cc79139..9126cb0 100644 --- a/Visualization/CustomMouseToolForILCamera/Form1.Designer.cs +++ b/Visualization/CustomMouseToolForILCamera/Form1.Designer.cs @@ -24,7 +24,7 @@ protected override void Dispose(bool disposing) { /// private void InitializeComponent() { System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(Form1)); - this.ilPanel1 = new ILNumerics.Drawing.Panel(); + this.ilPanel1 = new ILNumerics.Drawing.Controls.WinForms.Panel(); this.checkBox1 = new System.Windows.Forms.CheckBox(); this.SuspendLayout(); // @@ -73,7 +73,7 @@ private void InitializeComponent() { #endregion - private ILNumerics.Drawing.Panel ilPanel1; + private ILNumerics.Drawing.Controls.WinForms.Panel ilPanel1; private System.Windows.Forms.CheckBox checkBox1; } } diff --git a/Visualization/CustomMouseWheelHandler/Form1.Designer.cs b/Visualization/CustomMouseWheelHandler/Form1.Designer.cs index 5aaa7b6..c93bd65 100644 --- a/Visualization/CustomMouseWheelHandler/Form1.Designer.cs +++ b/Visualization/CustomMouseWheelHandler/Form1.Designer.cs @@ -29,7 +29,7 @@ protected override void Dispose(bool disposing) private void InitializeComponent() { System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(Form1)); - this.ilPanel1 = new ILNumerics.Drawing.Panel(); + this.ilPanel1 = new ILNumerics.Drawing.Controls.WinForms.Panel(); this.SuspendLayout(); // // ilPanel1 @@ -61,7 +61,7 @@ private void InitializeComponent() #endregion - private ILNumerics.Drawing.Panel ilPanel1; + private ILNumerics.Drawing.Controls.WinForms.Panel ilPanel1; } } diff --git a/Visualization/CustomRotationCenter/Form1.Designer.cs b/Visualization/CustomRotationCenter/Form1.Designer.cs index b090630..f66c37d 100644 --- a/Visualization/CustomRotationCenter/Form1.Designer.cs +++ b/Visualization/CustomRotationCenter/Form1.Designer.cs @@ -24,7 +24,7 @@ protected override void Dispose(bool disposing) { /// private void InitializeComponent() { System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(Form1)); - this.ilPanel1 = new ILNumerics.Drawing.Panel(); + this.ilPanel1 = new ILNumerics.Drawing.Controls.WinForms.Panel(); this.SuspendLayout(); // // ilPanel1 @@ -56,7 +56,7 @@ private void InitializeComponent() { #endregion - private ILNumerics.Drawing.Panel ilPanel1; + private ILNumerics.Drawing.Controls.WinForms.Panel ilPanel1; } } diff --git a/Visualization/CustomRotationTool/Form1.Designer.cs b/Visualization/CustomRotationTool/Form1.Designer.cs index f4a61f8..a9c07ed 100644 --- a/Visualization/CustomRotationTool/Form1.Designer.cs +++ b/Visualization/CustomRotationTool/Form1.Designer.cs @@ -24,7 +24,7 @@ protected override void Dispose(bool disposing) { /// private void InitializeComponent() { System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(Form1)); - this.panel1 = new ILNumerics.Drawing.Panel(); + this.panel1 = new ILNumerics.Drawing.Controls.WinForms.Panel(); this.SuspendLayout(); // // panel1 @@ -56,7 +56,7 @@ private void InitializeComponent() { #endregion - private ILNumerics.Drawing.Panel panel1; + private ILNumerics.Drawing.Controls.WinForms.Panel panel1; } } diff --git a/Visualization/CustomSceneGraphObject_Brick/Form1.Designer.cs b/Visualization/CustomSceneGraphObject_Brick/Form1.Designer.cs index 0f9a0c7..2d2bdb0 100644 --- a/Visualization/CustomSceneGraphObject_Brick/Form1.Designer.cs +++ b/Visualization/CustomSceneGraphObject_Brick/Form1.Designer.cs @@ -24,7 +24,7 @@ protected override void Dispose(bool disposing) { /// private void InitializeComponent() { System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(Form1)); - this.ilPanel1 = new ILNumerics.Drawing.Panel(); + this.ilPanel1 = new ILNumerics.Drawing.Controls.WinForms.Panel(); this.SuspendLayout(); // // ilPanel1 @@ -56,7 +56,7 @@ private void InitializeComponent() { #endregion - private ILNumerics.Drawing.Panel ilPanel1; + private ILNumerics.Drawing.Controls.WinForms.Panel ilPanel1; } } diff --git a/Visualization/CustomTripod/Form1.Designer.cs b/Visualization/CustomTripod/Form1.Designer.cs index 50b30d4..b8c67ba 100644 --- a/Visualization/CustomTripod/Form1.Designer.cs +++ b/Visualization/CustomTripod/Form1.Designer.cs @@ -24,7 +24,7 @@ protected override void Dispose(bool disposing) { /// private void InitializeComponent() { System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(Form1)); - this.ilPanel1 = new ILNumerics.Drawing.Panel(); + this.ilPanel1 = new ILNumerics.Drawing.Controls.WinForms.Panel(); this.SuspendLayout(); // // ilPanel1 @@ -56,7 +56,7 @@ private void InitializeComponent() { #endregion - private ILNumerics.Drawing.Panel ilPanel1; + private ILNumerics.Drawing.Controls.WinForms.Panel ilPanel1; } } diff --git a/Visualization/DirectionalZoom/Form1.Designer.cs b/Visualization/DirectionalZoom/Form1.Designer.cs index 86c3078..24f81ab 100644 --- a/Visualization/DirectionalZoom/Form1.Designer.cs +++ b/Visualization/DirectionalZoom/Form1.Designer.cs @@ -24,7 +24,7 @@ protected override void Dispose(bool disposing) { /// private void InitializeComponent() { System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(Form1)); - this.panel2 = new ILNumerics.Drawing.Panel(); + this.panel2 = new ILNumerics.Drawing.Controls.WinForms.Panel(); this.SuspendLayout(); // // panel2 @@ -56,6 +56,6 @@ private void InitializeComponent() { #endregion - private ILNumerics.Drawing.Panel panel2; + private ILNumerics.Drawing.Controls.WinForms.Panel panel2; } } \ No newline at end of file diff --git a/Visualization/Dynamic_Surface_Morph/Form1.Designer.cs b/Visualization/Dynamic_Surface_Morph/Form1.Designer.cs index 523f100..0b0426a 100644 --- a/Visualization/Dynamic_Surface_Morph/Form1.Designer.cs +++ b/Visualization/Dynamic_Surface_Morph/Form1.Designer.cs @@ -24,7 +24,7 @@ protected override void Dispose(bool disposing) { /// private void InitializeComponent() { System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(Form1)); - this.ilPanel1 = new ILNumerics.Drawing.Panel(); + this.ilPanel1 = new ILNumerics.Drawing.Controls.WinForms.Panel(); this.button1 = new System.Windows.Forms.Button(); this.SuspendLayout(); // @@ -67,7 +67,7 @@ private void InitializeComponent() { #endregion - private ILNumerics.Drawing.Panel ilPanel1; + private ILNumerics.Drawing.Controls.WinForms.Panel ilPanel1; private System.Windows.Forms.Button button1; } } diff --git a/Visualization/Dynamic_Surface_Morph/Form1.cs b/Visualization/Dynamic_Surface_Morph/Form1.cs index 315874e..5dafdb7 100644 --- a/Visualization/Dynamic_Surface_Morph/Form1.cs +++ b/Visualization/Dynamic_Surface_Morph/Form1.cs @@ -49,7 +49,7 @@ private void ilPanel1_Load(object sender, EventArgs e) { // blend between A and B Array C = A * time + B * (1 - time); // update the surface - var sf = (send as ILNumerics.Drawing.Panel).Scene.First(); + var sf = (send as ILNumerics.Drawing.Controls.WinForms.Panel).Scene.First(); sf.UpdateColormapped(C, dataValues: C); } }; diff --git a/Visualization/EulerAngles/Form1.Designer.cs b/Visualization/EulerAngles/Form1.Designer.cs index ac8eac2..c2004f9 100644 --- a/Visualization/EulerAngles/Form1.Designer.cs +++ b/Visualization/EulerAngles/Form1.Designer.cs @@ -24,7 +24,7 @@ protected override void Dispose(bool disposing) { /// private void InitializeComponent() { System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(Form1)); - this.ilPanel1 = new ILNumerics.Drawing.Panel(); + this.ilPanel1 = new ILNumerics.Drawing.Controls.WinForms.Panel(); this.label1 = new System.Windows.Forms.Label(); this.label2 = new System.Windows.Forms.Label(); this.label3 = new System.Windows.Forms.Label(); @@ -90,7 +90,7 @@ private void InitializeComponent() { #endregion - private ILNumerics.Drawing.Panel ilPanel1; + private ILNumerics.Drawing.Controls.WinForms.Panel ilPanel1; private System.Windows.Forms.Label label1; private System.Windows.Forms.Label label2; private System.Windows.Forms.Label label3; diff --git a/Visualization/Eventing_SharedScenes/Form1.Designer.cs b/Visualization/Eventing_SharedScenes/Form1.Designer.cs index 0d460da..0b3d16c 100644 --- a/Visualization/Eventing_SharedScenes/Form1.Designer.cs +++ b/Visualization/Eventing_SharedScenes/Form1.Designer.cs @@ -29,8 +29,8 @@ protected override void Dispose(bool disposing) private void InitializeComponent() { System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(Form1)); - this.ilPanel1 = new ILNumerics.Drawing.Panel(); - this.ilPanel2 = new ILNumerics.Drawing.Panel(); + this.ilPanel1 = new ILNumerics.Drawing.Controls.WinForms.Panel(); + this.ilPanel2 = new ILNumerics.Drawing.Controls.WinForms.Panel(); this.SuspendLayout(); // // ilPanel1 @@ -76,8 +76,8 @@ private void InitializeComponent() #endregion - private ILNumerics.Drawing.Panel ilPanel1; - private ILNumerics.Drawing.Panel ilPanel2; + private ILNumerics.Drawing.Controls.WinForms.Panel ilPanel1; + private ILNumerics.Drawing.Controls.WinForms.Panel ilPanel2; } } diff --git a/Visualization/ExtendedPickingon3DObjects/Form1.Designer.cs b/Visualization/ExtendedPickingon3DObjects/Form1.Designer.cs index d96f137..466dd12 100644 --- a/Visualization/ExtendedPickingon3DObjects/Form1.Designer.cs +++ b/Visualization/ExtendedPickingon3DObjects/Form1.Designer.cs @@ -24,7 +24,7 @@ protected override void Dispose(bool disposing) { /// private void InitializeComponent() { System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(Form1)); - this.ilPanel1 = new ILNumerics.Drawing.Panel(); + this.ilPanel1 = new ILNumerics.Drawing.Controls.WinForms.Panel(); this.SuspendLayout(); // // ilPanel1 @@ -56,7 +56,7 @@ private void InitializeComponent() { #endregion - private ILNumerics.Drawing.Panel ilPanel1; + private ILNumerics.Drawing.Controls.WinForms.Panel ilPanel1; } } diff --git a/Visualization/FlatShadedColormap/Form1.Designer.cs b/Visualization/FlatShadedColormap/Form1.Designer.cs index 1ab46aa..4aa0263 100644 --- a/Visualization/FlatShadedColormap/Form1.Designer.cs +++ b/Visualization/FlatShadedColormap/Form1.Designer.cs @@ -24,7 +24,7 @@ protected override void Dispose(bool disposing) { /// private void InitializeComponent() { System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(Form1)); - this.ilPanel1 = new ILNumerics.Drawing.Panel(); + this.ilPanel1 = new ILNumerics.Drawing.Controls.WinForms.Panel(); this.SuspendLayout(); // // ilPanel1 @@ -56,7 +56,7 @@ private void InitializeComponent() { #endregion - private ILNumerics.Drawing.Panel ilPanel1; + private ILNumerics.Drawing.Controls.WinForms.Panel ilPanel1; } } diff --git a/Visualization/ManyCubesColoredIndividually/Form1.Designer.cs b/Visualization/ManyCubesColoredIndividually/Form1.Designer.cs index 963d5a9..2faa118 100644 --- a/Visualization/ManyCubesColoredIndividually/Form1.Designer.cs +++ b/Visualization/ManyCubesColoredIndividually/Form1.Designer.cs @@ -24,7 +24,7 @@ protected override void Dispose(bool disposing) { /// private void InitializeComponent() { System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(Form1)); - this.ilPanel1 = new ILNumerics.Drawing.Panel(); + this.ilPanel1 = new ILNumerics.Drawing.Controls.WinForms.Panel(); this.SuspendLayout(); // // ilPanel1 @@ -56,7 +56,7 @@ private void InitializeComponent() { #endregion - private ILNumerics.Drawing.Panel ilPanel1; + private ILNumerics.Drawing.Controls.WinForms.Panel ilPanel1; } } diff --git a/Visualization/RadiationPatternVisualizationSphere/Form1.Designer.cs b/Visualization/RadiationPatternVisualizationSphere/Form1.Designer.cs index ab12a81..4646400 100644 --- a/Visualization/RadiationPatternVisualizationSphere/Form1.Designer.cs +++ b/Visualization/RadiationPatternVisualizationSphere/Form1.Designer.cs @@ -24,7 +24,7 @@ protected override void Dispose(bool disposing) { /// private void InitializeComponent() { System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(Form1)); - this.ilPanel1 = new ILNumerics.Drawing.Panel(); + this.ilPanel1 = new ILNumerics.Drawing.Controls.WinForms.Panel(); this.SuspendLayout(); // // ilPanel1 @@ -56,7 +56,7 @@ private void InitializeComponent() { #endregion - private ILNumerics.Drawing.Panel ilPanel1; + private ILNumerics.Drawing.Controls.WinForms.Panel ilPanel1; } } diff --git a/Visualization/STL_Viewer/Form1.cs b/Visualization/STL_Viewer/Form1.cs index df3425a..f8f2ca0 100644 --- a/Visualization/STL_Viewer/Form1.cs +++ b/Visualization/STL_Viewer/Form1.cs @@ -18,7 +18,7 @@ namespace STL_Viewer { public partial class Form1 : Form { - ILNumerics.Drawing.Panel Panel; + ILNumerics.Drawing.Controls.WinForms.Panel Panel; Triangles m_model; private const string GroupTag = "STLGroup"; @@ -32,7 +32,7 @@ public Form1() { protected override void OnLoad(EventArgs e) { base.OnLoad(e); - Panel = new ILNumerics.Drawing.Panel(); + Panel = new ILNumerics.Drawing.Controls.WinForms.Panel(); Panel.Dock = DockStyle.Fill; Panel.Load += Panel_Load; Controls.Add(Panel); diff --git a/Visualization/STL_Viewer_NET_FW/Form1.cs b/Visualization/STL_Viewer_NET_FW/Form1.cs index 99c9d47..95d79f7 100644 --- a/Visualization/STL_Viewer_NET_FW/Form1.cs +++ b/Visualization/STL_Viewer_NET_FW/Form1.cs @@ -18,7 +18,7 @@ namespace STL_Viewer_NET_FW { public partial class Form1 : Form { - ILNumerics.Drawing.Panel Panel; + ILNumerics.Drawing.Controls.WinForms.Panel Panel; Triangles m_model; private const string GroupTag = "STLGroup"; @@ -36,7 +36,7 @@ public Form1() { protected override void OnLoad(EventArgs e) { base.OnLoad(e); - Panel = new ILNumerics.Drawing.Panel(); + Panel = new ILNumerics.Drawing.Controls.WinForms.Panel(); Panel.Dock = DockStyle.Fill; Panel.Load += Panel_Load; Controls.Add(Panel); diff --git a/Visualization/Saving_scene_as_images/Form1.Designer.cs b/Visualization/Saving_scene_as_images/Form1.Designer.cs index e414f21..22dc80c 100644 --- a/Visualization/Saving_scene_as_images/Form1.Designer.cs +++ b/Visualization/Saving_scene_as_images/Form1.Designer.cs @@ -24,7 +24,7 @@ protected override void Dispose(bool disposing) { /// private void InitializeComponent() { System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(Form1)); - this.ilPanel1 = new ILNumerics.Drawing.Panel(); + this.ilPanel1 = new ILNumerics.Drawing.Controls.WinForms.Panel(); this.button1 = new System.Windows.Forms.Button(); this.button2 = new System.Windows.Forms.Button(); this.SuspendLayout(); @@ -80,7 +80,7 @@ private void InitializeComponent() { #endregion - private ILNumerics.Drawing.Panel ilPanel1; + private ILNumerics.Drawing.Controls.WinForms.Panel ilPanel1; private System.Windows.Forms.Button button1; private System.Windows.Forms.Button button2; } diff --git a/Visualization/ShowAllOrthographicZoom/Form1.Designer.cs b/Visualization/ShowAllOrthographicZoom/Form1.Designer.cs index 7bf92bd..283b751 100644 --- a/Visualization/ShowAllOrthographicZoom/Form1.Designer.cs +++ b/Visualization/ShowAllOrthographicZoom/Form1.Designer.cs @@ -24,7 +24,7 @@ protected override void Dispose(bool disposing) { /// private void InitializeComponent() { System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(Form1)); - this.ilPanel1 = new ILNumerics.Drawing.Panel(); + this.ilPanel1 = new ILNumerics.Drawing.Controls.WinForms.Panel(); this.button1 = new System.Windows.Forms.Button(); this.SuspendLayout(); // @@ -68,7 +68,7 @@ private void InitializeComponent() { #endregion - private ILNumerics.Drawing.Panel ilPanel1; + private ILNumerics.Drawing.Controls.WinForms.Panel ilPanel1; private System.Windows.Forms.Button button1; } } diff --git a/Visualization/SimpleCubeFromTriangles/Form1.Designer.cs b/Visualization/SimpleCubeFromTriangles/Form1.Designer.cs index b1d834f..86cd7af 100644 --- a/Visualization/SimpleCubeFromTriangles/Form1.Designer.cs +++ b/Visualization/SimpleCubeFromTriangles/Form1.Designer.cs @@ -24,7 +24,7 @@ protected override void Dispose(bool disposing) { /// private void InitializeComponent() { System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(Form1)); - this.panel1 = new ILNumerics.Drawing.Panel(); + this.panel1 = new ILNumerics.Drawing.Controls.WinForms.Panel(); this.SuspendLayout(); // // panel1 @@ -56,7 +56,7 @@ private void InitializeComponent() { #endregion - private ILNumerics.Drawing.Panel panel1; + private ILNumerics.Drawing.Controls.WinForms.Panel panel1; } } diff --git a/Visualization/SmoothSurface/MainWindow.xaml.cs b/Visualization/SmoothSurface/MainWindow.xaml.cs index 2ac1e47..2f9c93f 100644 --- a/Visualization/SmoothSurface/MainWindow.xaml.cs +++ b/Visualization/SmoothSurface/MainWindow.xaml.cs @@ -38,9 +38,9 @@ public MainWindow() { /// /// Convenience property to easily access the ILNumerics panel. /// - internal ILNumerics.Drawing.Panel Panel { + internal ILNumerics.Drawing.Controls.WinForms.Panel Panel { get { - return WFHost.Child as ILNumerics.Drawing.Panel; + return WFHost.Child as ILNumerics.Drawing.Controls.WinForms.Panel; } } /// @@ -63,7 +63,7 @@ internal SmoothSurface Surface { private void WFHost_Loaded(object sender, RoutedEventArgs e) { // CREATE THE ILNumerics PANEL - var panel = new ILNumerics.Drawing.Panel(); + var panel = new ILNumerics.Drawing.Controls.WinForms.Panel(); panel.RendererType = RendererTypes.GDI; // did you know that we can run w/o hardware acceleration, too? // WPF: ASSIGN THE PANEL AS CHILD OF THE WindowsFormsHost diff --git a/Visualization/SpecularLighting/Form1.Designer.cs b/Visualization/SpecularLighting/Form1.Designer.cs index b138849..6dc27e1 100644 --- a/Visualization/SpecularLighting/Form1.Designer.cs +++ b/Visualization/SpecularLighting/Form1.Designer.cs @@ -24,7 +24,7 @@ protected override void Dispose(bool disposing) { /// private void InitializeComponent() { System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(Form1)); - this.ilPanel1 = new ILNumerics.Drawing.Panel(); + this.ilPanel1 = new ILNumerics.Drawing.Controls.WinForms.Panel(); this.SuspendLayout(); // // ilPanel1 @@ -56,7 +56,7 @@ private void InitializeComponent() { #endregion - private ILNumerics.Drawing.Panel ilPanel1; + private ILNumerics.Drawing.Controls.WinForms.Panel ilPanel1; } } diff --git a/Visualization/TorusAndSurface/Form1.Designer.cs b/Visualization/TorusAndSurface/Form1.Designer.cs index 50edb67..b1762c5 100644 --- a/Visualization/TorusAndSurface/Form1.Designer.cs +++ b/Visualization/TorusAndSurface/Form1.Designer.cs @@ -25,9 +25,9 @@ protected override void Dispose(bool disposing) { private void InitializeComponent() { System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(Form1)); this.tableLayoutPanel1 = new System.Windows.Forms.TableLayoutPanel(); - this.ilPanel1 = new ILNumerics.Drawing.Panel(); - this.ilPanel2 = new ILNumerics.Drawing.Panel(); - this.ilPanel3 = new ILNumerics.Drawing.Panel(); + this.ilPanel1 = new ILNumerics.Drawing.Controls.WinForms.Panel(); + this.ilPanel2 = new ILNumerics.Drawing.Controls.WinForms.Panel(); + this.ilPanel3 = new ILNumerics.Drawing.Controls.WinForms.Panel(); this.tableLayoutPanel2 = new System.Windows.Forms.TableLayoutPanel(); this.pictureBox1 = new System.Windows.Forms.PictureBox(); this.groupBox1 = new System.Windows.Forms.GroupBox(); @@ -521,9 +521,9 @@ private void InitializeComponent() { #endregion private System.Windows.Forms.TableLayoutPanel tableLayoutPanel1; - private ILNumerics.Drawing.Panel ilPanel1; - private ILNumerics.Drawing.Panel ilPanel2; - private ILNumerics.Drawing.Panel ilPanel3; + private ILNumerics.Drawing.Controls.WinForms.Panel ilPanel1; + private ILNumerics.Drawing.Controls.WinForms.Panel ilPanel2; + private ILNumerics.Drawing.Controls.WinForms.Panel ilPanel3; private System.Windows.Forms.TableLayoutPanel tableLayoutPanel2; private System.Windows.Forms.PictureBox pictureBox1; private System.Windows.Forms.GroupBox groupBox1; diff --git a/Visualization/TripodScreen/Form1.Designer.cs b/Visualization/TripodScreen/Form1.Designer.cs index 9ef622a..d1ae84c 100644 --- a/Visualization/TripodScreen/Form1.Designer.cs +++ b/Visualization/TripodScreen/Form1.Designer.cs @@ -24,7 +24,7 @@ protected override void Dispose(bool disposing) { /// private void InitializeComponent() { System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(Form1)); - this.ilPanel1 = new ILNumerics.Drawing.Panel(); + this.ilPanel1 = new ILNumerics.Drawing.Controls.WinForms.Panel(); this.SuspendLayout(); // // ilPanel1 @@ -56,7 +56,7 @@ private void InitializeComponent() { #endregion - private ILNumerics.Drawing.Panel ilPanel1; + private ILNumerics.Drawing.Controls.WinForms.Panel ilPanel1; } } diff --git a/Visualization/Tripod_Arrow3D_Configuration/Form1.Designer.cs b/Visualization/Tripod_Arrow3D_Configuration/Form1.Designer.cs index 165d640..edf4bb1 100644 --- a/Visualization/Tripod_Arrow3D_Configuration/Form1.Designer.cs +++ b/Visualization/Tripod_Arrow3D_Configuration/Form1.Designer.cs @@ -24,7 +24,7 @@ protected override void Dispose(bool disposing) { /// private void InitializeComponent() { System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(Form1)); - this.ilPanel1 = new ILNumerics.Drawing.Panel(); + this.ilPanel1 = new ILNumerics.Drawing.Controls.WinForms.Panel(); this.SuspendLayout(); // // ilPanel1 @@ -56,7 +56,7 @@ private void InitializeComponent() { #endregion - private ILNumerics.Drawing.Panel ilPanel1; + private ILNumerics.Drawing.Controls.WinForms.Panel ilPanel1; } } diff --git a/Visualization/UpdatingDynamicSceneSharedBuffers/Form1.Designer.cs b/Visualization/UpdatingDynamicSceneSharedBuffers/Form1.Designer.cs index 18099b1..4be097f 100644 --- a/Visualization/UpdatingDynamicSceneSharedBuffers/Form1.Designer.cs +++ b/Visualization/UpdatingDynamicSceneSharedBuffers/Form1.Designer.cs @@ -24,7 +24,7 @@ protected override void Dispose(bool disposing) { /// private void InitializeComponent() { System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(Form1)); - this.ilPanel1 = new ILNumerics.Drawing.Panel(); + this.ilPanel1 = new ILNumerics.Drawing.Controls.WinForms.Panel(); this.trackBar1 = new System.Windows.Forms.TrackBar(); ((System.ComponentModel.ISupportInitialize)(this.trackBar1)).BeginInit(); this.SuspendLayout(); @@ -70,7 +70,7 @@ private void InitializeComponent() { #endregion - private ILNumerics.Drawing.Panel ilPanel1; + private ILNumerics.Drawing.Controls.WinForms.Panel ilPanel1; private System.Windows.Forms.TrackBar trackBar1; } } diff --git a/Visualization/VoxelViewerFastSurface/Form1.Designer.cs b/Visualization/VoxelViewerFastSurface/Form1.Designer.cs index 06d400a..894e472 100644 --- a/Visualization/VoxelViewerFastSurface/Form1.Designer.cs +++ b/Visualization/VoxelViewerFastSurface/Form1.Designer.cs @@ -24,7 +24,7 @@ protected override void Dispose(bool disposing) { /// private void InitializeComponent() { System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(Form1)); - this.ilPanel1 = new ILNumerics.Drawing.Panel(); + this.ilPanel1 = new ILNumerics.Drawing.Controls.WinForms.Panel(); this.SuspendLayout(); // // ilPanel1 @@ -57,7 +57,7 @@ private void InitializeComponent() { #endregion - private ILNumerics.Drawing.Panel ilPanel1; + private ILNumerics.Drawing.Controls.WinForms.Panel ilPanel1; } } diff --git a/Visualization/VoxelViewerScatteredArea/Form1.Designer.cs b/Visualization/VoxelViewerScatteredArea/Form1.Designer.cs index 86e9cd9..99df230 100644 --- a/Visualization/VoxelViewerScatteredArea/Form1.Designer.cs +++ b/Visualization/VoxelViewerScatteredArea/Form1.Designer.cs @@ -24,7 +24,7 @@ protected override void Dispose(bool disposing) { /// private void InitializeComponent() { System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(Form1)); - this.ilPanel1 = new ILNumerics.Drawing.Panel(); + this.ilPanel1 = new ILNumerics.Drawing.Controls.WinForms.Panel(); this.SuspendLayout(); // // ilPanel1 @@ -57,7 +57,7 @@ private void InitializeComponent() { #endregion - private ILNumerics.Drawing.Panel ilPanel1; + private ILNumerics.Drawing.Controls.WinForms.Panel ilPanel1; } } diff --git a/Visualization/ZoomFactorExample/Form1.Designer.cs b/Visualization/ZoomFactorExample/Form1.Designer.cs index 8de7aed..763ae3f 100644 --- a/Visualization/ZoomFactorExample/Form1.Designer.cs +++ b/Visualization/ZoomFactorExample/Form1.Designer.cs @@ -29,7 +29,7 @@ protected override void Dispose(bool disposing) private void InitializeComponent() { System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(Form1)); - this.ilPanel1 = new ILNumerics.Drawing.Panel(); + this.ilPanel1 = new ILNumerics.Drawing.Controls.WinForms.Panel(); this.panel1 = new System.Windows.Forms.Panel(); this.zoomOutButton = new System.Windows.Forms.Button(); this.zoomInButton = new System.Windows.Forms.Button(); @@ -122,7 +122,7 @@ private void InitializeComponent() #endregion - private ILNumerics.Drawing.Panel ilPanel1; + private ILNumerics.Drawing.Controls.WinForms.Panel ilPanel1; private System.Windows.Forms.Panel panel1; private System.Windows.Forms.Button zoomOutButton; private System.Windows.Forms.Button zoomInButton; diff --git a/tests/SmokeTest/SmokeHook/StartupHook.cs b/tests/SmokeTest/SmokeHook/StartupHook.cs index ec55da0..679ad38 100644 --- a/tests/SmokeTest/SmokeHook/StartupHook.cs +++ b/tests/SmokeTest/SmokeHook/StartupHook.cs @@ -141,8 +141,12 @@ static bool TryCaptureWinForms() { var panels = FindPanels(form).ToList(); result["panels"] = panels.Select(p => p.GetType().FullName).ToArray(); + result["screen"] = System.Windows.Forms.Screen.FromControl(form).Bounds.ToString(); + result["formBounds"] = form.Bounds.ToString(); + result["deviceDpi"] = form.DeviceDpi; for (int i = 0; i < panels.Count; i++) { var c = (System.Windows.Forms.Control)panels[i]; + result["panelGeometry" + Suffix(i)] = DescribeWindows(c); try { SaveScreen(c.RectangleToScreen(c.ClientRectangle), Path.Combine(s_outDir!, s_name + Suffix(i) + ".panel.png")); } catch (Exception exc) { result["panelScreenError"] = exc.Message; } } @@ -152,6 +156,24 @@ static bool TryCaptureWinForms() { return true; } + [System.Runtime.InteropServices.DllImport("user32.dll")] static extern bool GetWindowRect(IntPtr h, out RECT r); + [System.Runtime.InteropServices.DllImport("user32.dll")] static extern uint GetDpiForWindow(IntPtr h); + struct RECT { public int Left, Top, Right, Bottom; } + + // Diagnostics: the panel's screen rectangle and those of all native child windows (e.g. the GLFW window + // inside the OpenGL control), so a native window that does not follow the panel's size shows up in the result. + static string[] DescribeWindows(System.Windows.Forms.Control c) { + var list = new List { $"panel {c.RectangleToScreen(c.ClientRectangle)} dpi {SafeDpi(c.Handle)}" }; + EnumChildWindows(c.Handle, (h, _) => { + var cls = new System.Text.StringBuilder(64); GetClassName(h, cls, 64); + GetWindowRect(h, out var r); + list.Add($"{cls} visible={IsWindowVisible(h)} {{X={r.Left},Y={r.Top},Width={r.Right - r.Left},Height={r.Bottom - r.Top}}} dpi {SafeDpi(h)}"); + return true; + }, IntPtr.Zero); + return list.ToArray(); + } + static uint SafeDpi(IntPtr h) { try { return GetDpiForWindow(h); } catch { return 0; } } + static IEnumerable FindPanels(System.Windows.Forms.Control c) { foreach (System.Windows.Forms.Control child in c.Controls) { if (IsIlnPanel(child)) yield return child; @@ -215,11 +237,11 @@ static void CollectWpf(object node, List panels) { #endregion #region ILNumerics rendering - static bool IsIlnPanel(object o) => o is ILNumerics.Drawing.Panel || o is ILNumerics.Drawing.Controls.WPF.Panel; + static bool IsIlnPanel(object o) => o is ILNumerics.Drawing.Controls.WinForms.Panel || o is ILNumerics.Drawing.Controls.WPF.Panel; // Configure() first: it synchronizes changes the example made to panel.Scene into the scene the panel renders. static ILNumerics.Drawing.Scene CurrentScene(object panel) => panel switch { - ILNumerics.Drawing.Panel p => ConfigureAnd(p.Configure, p.GetCurrentScene), + ILNumerics.Drawing.Controls.WinForms.Panel p => ConfigureAnd(p.Configure, p.GetCurrentScene), ILNumerics.Drawing.Controls.WPF.Panel p => ConfigureAnd(p.Configure, p.GetCurrentScene), _ => throw new ArgumentException("not an ILNumerics panel") }; @@ -229,9 +251,15 @@ static ILNumerics.Drawing.Scene ConfigureAnd(Action configure, Func panel switch { + ILNumerics.Drawing.Controls.WinForms.Panel p => p.Scene, + ILNumerics.Drawing.Controls.WPF.Panel p => p.Scene, + _ => throw new ArgumentException("not an ILNumerics panel") + }; + static string? DriverName(object panel) => panel switch { - ILNumerics.Drawing.Panel p => p.Driver.ToString(), - ILNumerics.Drawing.Controls.WPF.Panel p => p.Driver.ToString(), + ILNumerics.Drawing.Controls.WinForms.Panel p => p.RendererType.ToString(), + ILNumerics.Drawing.Controls.WPF.Panel p => p.RendererType.ToString(), _ => null }; @@ -245,10 +273,18 @@ static void RenderPanels(List panels, Dictionary result var scene = CurrentScene(panels[i]); scene.Configure(); result["drawables" + (i == 0 ? "" : "." + i)] = scene.Find().Count(); - using var drv = new ILNumerics.Drawing.GDIDriver(800, 600, scene, Color.White); - drv.Render(); - drv.BackBuffer.SaveBitmap(Path.Combine(s_outDir!, file)); + using (var drv = new ILNumerics.Drawing.GDIDriver(800, 600, scene, Color.White)) { + drv.Render(); + drv.BackBuffer.SaveBitmap(Path.Combine(s_outDir!, file)); + } renders.Add(new { file, ok = true }); + // Diagnostics: the same, from the panel's (user side) Scene instead of the panel's render scene. + try { + var userScene = UserScene(panels[i]); + using var drv2 = new ILNumerics.Drawing.GDIDriver(800, 600, userScene, Color.White); + drv2.Render(); + drv2.BackBuffer.SaveBitmap(Path.Combine(s_outDir!, s_name + Suffix(i) + ".userscene.png")); + } catch (Exception exc) { result["userSceneError" + Suffix(i)] = exc.Message; } } catch (Exception exc) { renders.Add(new { file, ok = false, error = exc.ToString() }); Interlocked.Exchange(ref s_failed, 1); From 983d834b6276e9559ddc041c57763426aa04451e Mon Sep 17 00:00:00 2001 From: Claude Date: Thu, 5 Nov 2026 19:08:29 +0000 Subject: [PATCH 2/5] InteractiveWebApp: re-enable the ILNumerics Accelerator The Razor/ObjectPool failure that led to disabling it does not show up in the CI Release build (the Accelerator processed the project fine) and could not be reproduced on Windows; let CI confirm. Co-Authored-By: Claude Opus 5.5 Claude-Session: https://claude.ai/code/session_01JT2yHiXtw4BcZfEjbGLF4D --- Misc/InteractiveWebApp/InteractiveWebApp.csproj | 2 -- 1 file changed, 2 deletions(-) diff --git a/Misc/InteractiveWebApp/InteractiveWebApp.csproj b/Misc/InteractiveWebApp/InteractiveWebApp.csproj index 7871b28..0656e94 100644 --- a/Misc/InteractiveWebApp/InteractiveWebApp.csproj +++ b/Misc/InteractiveWebApp/InteractiveWebApp.csproj @@ -4,8 +4,6 @@ net10.0 enable enable - - false From ee0337035a6587005d1eedeb6dabbe3e2f649ace Mon Sep 17 00:00:00 2001 From: Claude Date: Fri, 6 Nov 2026 11:56:28 +0000 Subject: [PATCH 3/5] Smoke hook: record all first chance exceptions during the offscreen render Co-Authored-By: Claude Opus 5.5 Claude-Session: https://claude.ai/code/session_01JT2yHhw9eXc9rXq3n4rjNR --- tests/SmokeTest/SmokeHook/StartupHook.cs | 13 +++++++++++++ 1 file changed, 13 insertions(+) diff --git a/tests/SmokeTest/SmokeHook/StartupHook.cs b/tests/SmokeTest/SmokeHook/StartupHook.cs index 679ad38..1c280ed 100644 --- a/tests/SmokeTest/SmokeHook/StartupHook.cs +++ b/tests/SmokeTest/SmokeHook/StartupHook.cs @@ -34,6 +34,11 @@ public static void Initialize() { AppDomain.CurrentDomain.FirstChanceException += (s, e) => { try { var src = e.Exception.TargetSite?.DeclaringType?.FullName ?? ""; + if (s_inOffscreenRender) { + // during the offscreen render: record everything, the cause may be outside ILNumerics.Drawing + lock (s_renderExceptions) if (s_renderExceptions.Count < 8) s_renderExceptions.Add($"{e.Exception.GetType().Name} in {src}.{e.Exception.TargetSite?.Name}: {e.Exception.Message}"); + return; + } if (!(src.StartsWith("ILNumerics.Drawing") || src.StartsWith("OpenTK"))) return; lock (s_firstChance) if (s_firstChance.Count < 8) s_firstChance.Add($"{e.Exception.GetType().Name} in {src}.{e.Exception.TargetSite?.Name}: {e.Exception.Message}"); } catch { } @@ -67,6 +72,8 @@ static void ConfigureIlNumerics(string? renderer) { static readonly List s_dialogs = new(); static readonly List s_firstChance = new(); + static readonly List s_renderExceptions = new(); + static volatile bool s_inOffscreenRender; static void CaptureLoop(int delay) { var sw = System.Diagnostics.Stopwatch.StartNew(); @@ -265,6 +272,11 @@ static ILNumerics.Drawing.Scene ConfigureAnd(Action configure, FuncRenders each panel's current scene offscreen with the software (GDI) renderer. Works without a GPU. static void RenderPanels(List panels, Dictionary result) { + s_inOffscreenRender = true; + try { RenderPanelsCore(panels, result); } finally { s_inOffscreenRender = false; } + } + + static void RenderPanelsCore(List panels, Dictionary result) { var renders = new List(); for (int i = 0; i < panels.Count; i++) { var file = s_name + (i == 0 ? "" : "." + i) + ".render.png"; @@ -307,6 +319,7 @@ static void SaveScreen(Rectangle r, string path) { static void WriteResult(Dictionary result) { lock (s_dialogs) if (s_dialogs.Count > 0) result["dialogs"] = s_dialogs.ToArray(); lock (s_firstChance) if (s_firstChance.Count > 0) result["exceptions"] = s_firstChance.ToArray(); + lock (s_renderExceptions) if (s_renderExceptions.Count > 0) result["renderExceptions"] = s_renderExceptions.ToArray(); File.WriteAllText(Path.Combine(s_outDir!, s_name + ".result.json"), JsonSerializer.Serialize(result, new JsonSerializerOptions { WriteIndented = true })); } From d7382e4f3fe5198567edf53e6f4e5a160a63fd1e Mon Sep 17 00:00:00 2001 From: Claude Date: Fri, 6 Nov 2026 11:56:42 +0000 Subject: [PATCH 4/5] Smoke hook: capture the panel a second time after a resize (diagnostics) Co-Authored-By: Claude Opus 5.5 Claude-Session: https://claude.ai/code/session_01JT2yHhw9eXc9rXq3n4rjNR --- tests/SmokeTest/SmokeHook/StartupHook.cs | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/tests/SmokeTest/SmokeHook/StartupHook.cs b/tests/SmokeTest/SmokeHook/StartupHook.cs index 1c280ed..829ad4f 100644 --- a/tests/SmokeTest/SmokeHook/StartupHook.cs +++ b/tests/SmokeTest/SmokeHook/StartupHook.cs @@ -156,6 +156,15 @@ static bool TryCaptureWinForms() { result["panelGeometry" + Suffix(i)] = DescribeWindows(c); try { SaveScreen(c.RectangleToScreen(c.ClientRectangle), Path.Combine(s_outDir!, s_name + Suffix(i) + ".panel.png")); } catch (Exception exc) { result["panelScreenError"] = exc.Message; } + // Diagnostics: resize the panel once and capture again. Shows whether a clipped OpenGL screenshot + // is caused by a stale default framebuffer size. + try { + var size = c.Size; + c.Size = new Size(size.Width - 1, size.Height - 1); c.Refresh(); System.Windows.Forms.Application.DoEvents(); + c.Size = size; c.Refresh(); System.Windows.Forms.Application.DoEvents(); + Thread.Sleep(500); c.Refresh(); System.Windows.Forms.Application.DoEvents(); + SaveScreen(c.RectangleToScreen(c.ClientRectangle), Path.Combine(s_outDir!, s_name + Suffix(i) + ".panel-resized.png")); + } catch (Exception exc) { result["panelResizeError"] = exc.Message; } } RenderPanels(panels, result); }); From 40c25bb50527236c712a2dc6ca7bf03787849f71 Mon Sep 17 00:00:00 2001 From: Claude Date: Fri, 6 Nov 2026 12:23:17 +0000 Subject: [PATCH 5/5] Smoke test: fix clipped OpenGL screenshots, flag Starter-limited offscreen renders Diagnosis from CI runs of this branch: - Clipped screenshots (lower left part of the scene, black bar, rest white): the GLFW child window has the panel's size, but Mesa's software OpenGL keeps the default framebuffer at its initial size. Resizing the panel once makes it follow. The hook now does this before taking the screenshots. - Empty offscreen renders: the GDI renderer allocates ILNumerics arrays and hits the Starter plan's data size limit (StorageFactory.ThrowOnBasicTier), which is caught inside the renderer. The hook records exceptions thrown during the offscreen render and the runner marks such renders as incomplete. Missing Configure() calls in the examples are not the cause. Remove the temporary diagnostics (window geometry, user scene render, second screenshot). Co-Authored-By: Claude Opus 5.5 Claude-Session: https://claude.ai/code/session_01JT2yHhw9eXc9rXq3n4rjNR --- tests/SmokeTest/SmokeHook/StartupHook.cs | 69 ++++++++---------------- tests/SmokeTest/SmokeRunner/Program.cs | 9 +++- 2 files changed, 30 insertions(+), 48 deletions(-) diff --git a/tests/SmokeTest/SmokeHook/StartupHook.cs b/tests/SmokeTest/SmokeHook/StartupHook.cs index 829ad4f..9218650 100644 --- a/tests/SmokeTest/SmokeHook/StartupHook.cs +++ b/tests/SmokeTest/SmokeHook/StartupHook.cs @@ -35,8 +35,12 @@ public static void Initialize() { try { var src = e.Exception.TargetSite?.DeclaringType?.FullName ?? ""; if (s_inOffscreenRender) { - // during the offscreen render: record everything, the cause may be outside ILNumerics.Drawing - lock (s_renderExceptions) if (s_renderExceptions.Count < 8) s_renderExceptions.Add($"{e.Exception.GetType().Name} in {src}.{e.Exception.TargetSite?.Name}: {e.Exception.Message}"); + // During the offscreen render record exceptions from anywhere: e.g. the Starter plan's data size + // limit (thrown in ILNumerics.Core) silently leaves parts of the render empty. + // The lookup for embedded license resources is expected to fail in the examples: skip it. + if (src == "ILNumerics.Licensing.LicenseManager") return; + var msg = $"{e.Exception.GetType().Name} in {src}.{e.Exception.TargetSite?.Name}: {e.Exception.Message}"; + lock (s_renderExceptions) if (s_renderExceptions.Count < 8 && !s_renderExceptions.Contains(msg)) s_renderExceptions.Add(msg); return; } if (!(src.StartsWith("ILNumerics.Drawing") || src.StartsWith("OpenTK"))) return; @@ -139,32 +143,21 @@ static bool TryCaptureWinForms() { result["title"] = form.Text; // modal dialogs (MessageBox etc.) on top of the main form are a hint that something went wrong result["openForms"] = forms.Cast().Select(f => f.GetType().FullName + ": " + f.Text).ToArray(); + var panels = FindPanels(form).ToList(); + result["panels"] = panels.Select(p => p.GetType().FullName).ToArray(); try { form.WindowState = System.Windows.Forms.FormWindowState.Normal; - form.TopMost = true; form.Activate(); form.Refresh(); + form.TopMost = true; form.Activate(); + foreach (System.Windows.Forms.Control c in panels) NudgeSize(c); + form.Refresh(); System.Windows.Forms.Application.DoEvents(); SaveScreen(form.Bounds, Path.Combine(s_outDir!, s_name + ".screen.png")); } catch (Exception exc) { result["screenError"] = exc.Message; } - var panels = FindPanels(form).ToList(); - result["panels"] = panels.Select(p => p.GetType().FullName).ToArray(); - result["screen"] = System.Windows.Forms.Screen.FromControl(form).Bounds.ToString(); - result["formBounds"] = form.Bounds.ToString(); - result["deviceDpi"] = form.DeviceDpi; for (int i = 0; i < panels.Count; i++) { var c = (System.Windows.Forms.Control)panels[i]; - result["panelGeometry" + Suffix(i)] = DescribeWindows(c); try { SaveScreen(c.RectangleToScreen(c.ClientRectangle), Path.Combine(s_outDir!, s_name + Suffix(i) + ".panel.png")); } catch (Exception exc) { result["panelScreenError"] = exc.Message; } - // Diagnostics: resize the panel once and capture again. Shows whether a clipped OpenGL screenshot - // is caused by a stale default framebuffer size. - try { - var size = c.Size; - c.Size = new Size(size.Width - 1, size.Height - 1); c.Refresh(); System.Windows.Forms.Application.DoEvents(); - c.Size = size; c.Refresh(); System.Windows.Forms.Application.DoEvents(); - Thread.Sleep(500); c.Refresh(); System.Windows.Forms.Application.DoEvents(); - SaveScreen(c.RectangleToScreen(c.ClientRectangle), Path.Combine(s_outDir!, s_name + Suffix(i) + ".panel-resized.png")); - } catch (Exception exc) { result["panelResizeError"] = exc.Message; } } RenderPanels(panels, result); }); @@ -172,23 +165,18 @@ static bool TryCaptureWinForms() { return true; } - [System.Runtime.InteropServices.DllImport("user32.dll")] static extern bool GetWindowRect(IntPtr h, out RECT r); - [System.Runtime.InteropServices.DllImport("user32.dll")] static extern uint GetDpiForWindow(IntPtr h); - struct RECT { public int Left, Top, Right, Bottom; } - - // Diagnostics: the panel's screen rectangle and those of all native child windows (e.g. the GLFW window - // inside the OpenGL control), so a native window that does not follow the panel's size shows up in the result. - static string[] DescribeWindows(System.Windows.Forms.Control c) { - var list = new List { $"panel {c.RectangleToScreen(c.ClientRectangle)} dpi {SafeDpi(c.Handle)}" }; - EnumChildWindows(c.Handle, (h, _) => { - var cls = new System.Text.StringBuilder(64); GetClassName(h, cls, 64); - GetWindowRect(h, out var r); - list.Add($"{cls} visible={IsWindowVisible(h)} {{X={r.Left},Y={r.Top},Width={r.Right - r.Left},Height={r.Bottom - r.Top}}} dpi {SafeDpi(h)}"); - return true; - }, IntPtr.Zero); - return list.ToArray(); + // Software OpenGL (Mesa llvmpipe, as used on CI) keeps the default framebuffer at the size the GL window had + // when the context was created. Panels that are resized right after creation (AutoScale, docking) then show + // only the lower left part of the scene, above a black bar. One resize afterwards makes the framebuffer + // follow the panel. Hardware drivers are not affected; the resize is harmless there. + static void NudgeSize(System.Windows.Forms.Control c) { + if (c.Width < 2 || c.Height < 2) return; + var size = c.Size; + c.Size = new Size(size.Width - 1, size.Height - 1); c.Refresh(); System.Windows.Forms.Application.DoEvents(); + c.Size = size; c.Refresh(); System.Windows.Forms.Application.DoEvents(); + Thread.Sleep(300); + c.Refresh(); System.Windows.Forms.Application.DoEvents(); } - static uint SafeDpi(IntPtr h) { try { return GetDpiForWindow(h); } catch { return 0; } } static IEnumerable FindPanels(System.Windows.Forms.Control c) { foreach (System.Windows.Forms.Control child in c.Controls) { @@ -267,12 +255,6 @@ static ILNumerics.Drawing.Scene ConfigureAnd(Action configure, Func panel switch { - ILNumerics.Drawing.Controls.WinForms.Panel p => p.Scene, - ILNumerics.Drawing.Controls.WPF.Panel p => p.Scene, - _ => throw new ArgumentException("not an ILNumerics panel") - }; - static string? DriverName(object panel) => panel switch { ILNumerics.Drawing.Controls.WinForms.Panel p => p.RendererType.ToString(), ILNumerics.Drawing.Controls.WPF.Panel p => p.RendererType.ToString(), @@ -299,13 +281,6 @@ static void RenderPanelsCore(List panels, Dictionary re drv.BackBuffer.SaveBitmap(Path.Combine(s_outDir!, file)); } renders.Add(new { file, ok = true }); - // Diagnostics: the same, from the panel's (user side) Scene instead of the panel's render scene. - try { - var userScene = UserScene(panels[i]); - using var drv2 = new ILNumerics.Drawing.GDIDriver(800, 600, userScene, Color.White); - drv2.Render(); - drv2.BackBuffer.SaveBitmap(Path.Combine(s_outDir!, s_name + Suffix(i) + ".userscene.png")); - } catch (Exception exc) { result["userSceneError" + Suffix(i)] = exc.Message; } } catch (Exception exc) { renders.Add(new { file, ok = false, error = exc.ToString() }); Interlocked.Exchange(ref s_failed, 1); diff --git a/tests/SmokeTest/SmokeRunner/Program.cs b/tests/SmokeTest/SmokeRunner/Program.cs index d2b1edd..5ceab91 100644 --- a/tests/SmokeTest/SmokeRunner/Program.cs +++ b/tests/SmokeTest/SmokeRunner/Program.cs @@ -125,6 +125,7 @@ Result RunOne(string relProject) { p.StandardInput.Close(); string? renderFile = null; + bool starterLimited = false; if (isWeb) { renderFile = ProbeWeb(port, name, res); if (!p.HasExited) p.Kill(true); @@ -152,6 +153,12 @@ Result RunOne(string relProject) { res.Passed = true; res.Message = "window shown, no ILNumerics panel found"; return res; } renderFile = renders[0].GetProperty("file").GetString(); + // The offscreen (GDI) render allocates ILNumerics arrays and is therefore subject to the Starter plan's + // data size limit; the on-screen OpenGL rendering is not. Say so, so an incomplete render is not mistaken + // for a broken example. + if (doc.RootElement.TryGetProperty("renderExceptions", out var rex) + && rex.EnumerateArray().Any(x => x.GetString()?.Contains("ThrowOnBasicTier") == true)) + starterLimited = true; } if (renderFile != null) { var path = Path.Combine(outDir, renderFile); @@ -165,7 +172,7 @@ Result RunOne(string relProject) { } if (isWeb && res.Message != null) return res; res.Passed = true; - res.Message ??= (res.ScreenCoverage ?? res.Coverage) is double c ? $"{c:0.0}% of panel covered (offscreen render {res.Coverage:0.0}%)" : "ok"; + res.Message ??= (res.ScreenCoverage ?? res.Coverage) is double c ? $"{c:0.0}% of panel covered (offscreen render {res.Coverage:0.0}%{(starterLimited ? ", incomplete: Starter data size limit" : "")})" : "ok"; return res; }