... Form1.cs(210,18): error CS0120: An object reference is required for the non-static field, method, or property 'WindowsFormsApplication1.IntegralF.IntRectangle(double, double, double, WindowsFormsApplication1.Parser)'
Здравствуйте, IvanProg, Вы писали:
IP>Снова всем привет. IP>Такая проблема:
IP>... Form1.cs(210,18): error CS0120: An object reference is required for the non-static field, method, or property 'WindowsFormsApplication1.IntegralF.IntRectangle(double, double, double, WindowsFormsApplication1.Parser)'
IP>Вызываю функцию IP>fg = IntegralF.IntRectangle(1, 2, 0.001, m_parser);
IP>IntegralF — класс организован в отдельном файле, вот часть:
IP>namespace WindowsFormsApplication1 IP>{ IP> class IntegralF IP> { IP> public double IntRectangle(double a, double b, double eps, Parser fPars)//; IntF: TIntFunc IP> { IP>.....
IP>В чем дело?