research project on plot library
- Target “build” does not exist in the project for Visual Studio
- Build error when signing with snk key
- Incorrect warning CS1616: Option 'CryptoKeyFile' overrides attribute 'System.Reflection.AssemblyKeyFileAttribute' given in a source file or added module #10339
- C#'s GetManifestResourceStream Gotcha
- How to read embedded resource text file: this is the most recent version of Visual Studio
- Visual Studio : can't find “resource file” in list of items to add to project
- How to use resource files in your C# WPF project
- Adding Files to Visual Studio Projects
- 10 ways to make your .NET projects play nice with others
- Working with .resx files programmatically
- ComboBox In C#
- quick introduction to NPlot in PDF
- NPlot on GitHub
- Generate graph using Nplot
- NPlot on github
- NPlot Charting Library
- NPlot Charting Library
- NPlot Documentation
- SDK stable documentation
- NPlot Documented Class Library: it is the same as above link
- hwthomas/NPlot
- NPLOT Home Page
- Windows Developer Power Tools:
- Creating a Mechanical Trading System Part 1: Technical Indicators
- Comparing .NET chart solutions for web-applications
- Volume Weighted Average Price (VWAP) Algorithm
- A Simple Moving Average Algorithm
- A Simple Moving Average Algorithm
- Time moving average
- Precise and safe calculation method for the average of large integer arrays
-
IEnumerable
Interface - Simple Moving Average
- cheind-blog-files:simple moving average
- Move Controls on a Form at Runtime
- Move and Resize Controls on a Form at Runtime (With Mouse)
- 食管癌会偷袭8类人
- 我与反流性食管炎抗争的日子!
- 反流性食管炎
- 沙棘果油正品口服 野生新疆天然滋补保健品60粒 沙棘油软胶囊正品
- 沙棘果油软胶囊瑞典buckthorn正品天然养胃护心脏护肝500mg/粒
- Membra Femin Forte 120 capsules
when convert Nplot project from sourceforge, I tried to load this project into VS 2017. surely it got a lot of error. I opebed csharp project file, removed two imports statement because it needs MSBEE to build targeting version 1.1 framework. then I got first error and overcome like following. then I added back one import statement from the following suggestion. it works. continue to build this project. then I got the second error. so I searched and find the second link for my new error.
the second error is fixed from the link below. I give a new snk file.:
I build this project again and look at bin folder. this folder contains few subfolder. to make it simple, I just keep bin folder, removed all subfolders. also update project property page, set output folder to "bin\debug\" only. I build it for debug mode, it works as expected. in release mode, I have to update this property page again to "bin\release\" only.
when I try to load demo project, I moved it up and change folder name to nplot-demo. load it into VS 2017, failed.
I opened csproj file and removed the following three imports statements and building still failed. so to be short, I create a brand new WinForm project, and load orginial files one by one
then I have an error to use resource file. after research, I got the following few links. to summarize, there are two ways to use resource files. one is to add resource files into project, then set build action to "embedded resource". it looks like this demo project is using this approach. but it can not get the right reference from resource files. so I need to dig further.
a working resolution is from dtb in the above link. I summarize here:
You can use the Assembly.GetManifestResourceStream Method:
Add the following usings
using System.IO;
using System.Reflection;
Set property of relevant file:
Parameter Build Action with value Embedded Resource
Use the following code
var assembly = Assembly.GetExecutingAssembly();
var resourceName = "MyCompany.MyProduct.MyFile.txt";
using (Stream stream = assembly.GetManifestResourceStream(resourceName))
using (StreamReader reader = new StreamReader(stream))
{
string result = reader.ReadToEnd();
}
resourceName is the name of one of the resources embedded in assembly. For example, if you embed a text file named "MyFile.txt" that is placed in the root of a project with default namespace "MyCompany.MyProduct", then resourceName is "MyCompany.MyProduct.MyFile.txt". You can get a list of all resources in an assembly using the Assembly.GetManifestResourceNames Method.
how to use comboBox control
NPlot is an open source charting library for .NET. It boasts an elegant and flexible API. NPlot includes controls for Windows.Forms, ASP.NET and a class for creating Bitmaps. A GTK# control is also available.
No comments:
Post a Comment