answersLogoWhite

0

1. Create a subclass of System.Windows.Forms.Control. (Right click on the project in Visual Studio, select new item, select "Custom Control").

2. View Code on the control.

3. Add data fields and accessors to the class to hold the seismic data.

4. Override the OnPaint method (a stub should be created for you automagically). In this method, get the PaintEventArgs.Graphics object. This has methods for drawing. Use the Size() property to get the size of the canvas. I also like to add if(!DesignMode... so that it will not expect initialized data in the Visual Studio designer.)

5. To refresh the display, call the Invalidate() method. This should be done whenever the data changes (e.g.: in the data property setter methods)

6. After compiling, your custom control should appear in the toolbox. You can now drag it on to forms.

User Avatar

Wiki User

12y ago

What else can I help you with?

Related Questions

How can you draw a math data analysis histogram graphs using cookies?

if you dont know ask your math teacher


What step do you do with all your data before drawing a conclusion?

Once a researcher has designed the study and collected the data, it is time to examine this information and draw conclusions about what has been found. Using statistics, researchers can summarize the data, analyze the results, and draw conclusions based on this evidence.


Draw Data flow diagram of car dealer?

"Draw Data flow diagram of car dealer?"


How do you draw a G major scale without a key signature instead using an accidental?

G A B C D E F-sharp G


How to draw a Data flow diagram for blood bank?

how to draw a data floe diagram for blood bank system?


Using the data o the graph draw a conclusion concerning the population of peppered moths in the sampled area of England?

POde POde


What do scientists draw after analyzing data from experiment?

After analyzing data from their experiments, scientists will draw conclusions. They will consider whether their hypothesis was correct and what the observable trends were in the data.


How do draw the Gantt chart to illustrate Round-robin scheduling?

You can draw the Gantt chart by using Microsoft Excel which will allow you to input the exact data you have collected and be able to determine the results in various ways.


How can statistics be used in a scientific study to analyze and interpret data effectively?

Statistics can be used in a scientific study to analyze and interpret data effectively by providing methods to summarize and analyze data, identify patterns and relationships, test hypotheses, and draw conclusions based on the data collected. By using statistical techniques, researchers can make informed decisions and draw reliable conclusions from their study results.


What should an experimenter do after analyzing data?

scientist analyes their experiment


What is used the draw a circle and a arcs?

A compass is used to draw a circle, which consists of an adjustable pair of arms with a sharp point on one arm and a pencil or pen on the other. To draw an arc, a compass can also be used by adjusting the distance between the arms and using the sharp point as a center point, while rotating the pencil or pen to create the curve.


What step occurs after the scientist collects data?

After collecting data, the scientist typically analyzes the data to draw conclusions. This involves examining the data to identify trends, patterns, and relationships that can help answer the research question or hypothesis.