Skip to main content
FluidEarth Portal Header version 3

FluidEarth Portal

Go Search
  
FluidEarth Portal > FluidEarth Discussions > Using Windows Forms  

FluidEarth Discussions: Using Windows Forms

Open

Subject

Using Windows Forms 

Body

I am wrapping an existing model and am having trouble compiling the code. The model has a GUI built using windows forms and the engine is in the format below. Although all brackets are correct i am getting the following errors:
 
} - expected after 1st {
=, +, ; - invalid tokens in class struct, or interface member decleration - called on the advancing of timestep
 

void Compute()

{

    public class Form1 : System.Windows.Forms.Form

    {

         GUI Code and model equations

    }

   _time_current = _time_current + _time_delta;

}

Attachments
Content Type: Discussion
Created at 29/03/2011 10:49  by ABarkwith 
Last modified at 29/03/2011 10:49  by ABarkwith