我在以下代码中收到错误,因为错误位置的注释:
using Autodesk.iLogic.Interfaces;
using System;
using System.Windows.Forms;
namespace DllTest
{
public partial class Form1 : Form
{
public IParamDynamic Parameter = null; // From Autodesk.iLogic.Interfaces
public double x;
public Form1()
{
InitializeComponent();
}
private void Form1_Load(object sender, EventArgs e)
{
x = Parameter("myVariable"); //Error: The name 'Parameter' does not exist in the current context.
}
}
}
谁能帮帮我?非常感谢!