![]() | Steema Issues DatabaseNote: This database is for bugs and wishes only. For technical support help, if you are a customer please visit our online forums;otherwise you can use StackOverflow. Before using this bug-tracker we recommend a look at this document, Steema Bug Fixing Policy. |
| Summary: | some errors with DemoProject for VS2005 | ||
|---|---|---|---|
| Product: | .NET TeeChart | Reporter: | Shinobu Nagai <nagai> |
| Component: | Examples Demos | Assignee: | Steema Issue Manager <issuemanager> |
| Status: | RESOLVED FIXED | ||
| Severity: | normal | CC: | chris, sandra |
| Priority: | --- | ||
| Version: | TeeChart.NET 2014 4.1.2014.12154 | ||
| Target Milestone: | --- | ||
| Hardware: | PC | ||
| OS: | Windows | ||
| Chart Series: | --- | Delphi / C++ Builder RAD IDE Version: | |
| Attachments: | some errors with DemoProject for VS2005 | ||
*** Bug 1084 has been marked as a duplicate of this bug. *** Hello Sandra, Are there any workaround for it? We'd like to release it without any compilation errors. Hello Nagai,
The lambda expression (=>) is a feature introduced in C#3 and VS2005 use C#2. Therefore, it’s version of language of he VS2005 that causes the problem. A workaround is change the lambda expression:
public ClockGauge_Series() : base()
{
InitializeComponent();
Load += (s, e) => { InitializeChart(); };
}
For code below:
public ClockGauge_Series() : base(
{
InitializeComponent();
Load += new EventHandler(ClockGauge_Series_Load);
}
void ClockGauge_Series_Load(object sender, EventArgs e)
{
InitializeChart();
}
|
Created attachment 384 [details] some errors with DemoProject for VS2005 If compiling DemoProject for VS2005, some error occur (see the attached image) and can't run it. The error messages say ... "(", ";" and ";" are required. ")" and "," are disabled.