Skip to content

Commit a860a36

Browse files
authoredNov 28, 2022
Merge pull request #50 from mabrams17/master
Update WinForms Getting Started
2 parents 750ade1 + 1d41155 commit a860a36

4 files changed

+19
-2
lines changed
 

‎getting-started/hello-windows-forms.rst

+19-2
Original file line numberDiff line numberDiff line change
@@ -32,10 +32,27 @@ You can also use the `Package Manager Console <http://docs.nuget.org/docs/start-
3232
PM> Install-Package OxyPlot.WindowsForms
3333

3434

35-
Add a plot view
35+
Add to the Toolbox
36+
------------------
37+
38+
You need to add the OxyPlot PlotView dll to the Toolbox. The fastest way to do this is to first build the project. This will populate the dll's from the nuget package pulled in earlier.
39+
40+
.. image:: windows-forms-choose-items.png
41+
42+
In the Toolbox, Right Click inside and select "Choose Items...". This will open the Choose Toolbox Items Window. It will take a little while to load all the .NET Framework Components. Once it has loaded them all click on the "Browse" Button below.
43+
44+
.. image:: windows-forms-choose-toolbox-items.png
45+
46+
Inside the File Select folder that opened, navigate to the "OxyPlot.WindowsForms.dll" and Open it. This will add the OxyPlot PlotView Control to the ".NET Framework Components" List.
47+
48+
To enable the PlotView Component to show up in the Toolbox, in the filter enter in "OxyPlot" and it will narrow it down to just the Components added from the OxyPlot.WindowsForms.dll. Put a checkmark on the PlotView Component and it will now show up in your Toolbox.
49+
50+
.. image:: windows-forms-plot-view.png
51+
52+
Adding plot view
3653
---------------
3754

38-
TODO (add component to toolbox?)
55+
TODO (add explanation of adding PlotView to the Form)
3956

4057

4158
Create the plot model
14.4 KB
Loading
Loading
14.4 KB
Loading

0 commit comments

Comments
 (0)
Please sign in to comment.