Industrial Data Science
in C# and .NET:
Simple. Fast. Reliable.

ILNumerics - Technical Computing

Modern High Performance Tools for Technical

Computing and Visualization in Industry and Science

Reuse Plotting Forms (instead of recreating them)

This example demonstrates how to reuse your Panel plotting forms. Instead of closing and recreating them later it is better to reuse the form. A simple modification is done to the plotting form to redirect the Close() call to a Hide() only. Form1 serves as the main/startup form. It maintains a reference to the plotting_form. Instead of repeatedly recreating the plotting_form it simply calls Show() on the single, local instance 'myForm'.

Last modified: August 25 2021 18:29

Download ZIP


All Examples