Esempio n. 1
0
 public SimulationProgress(Form1 _f, FlowVisualization _fv)
 {
     f        = _f;
     fv       = _fv;
     pressure = f.checkPressure.Checked;
     velocity = f.checkVelocity.Checked;
     custom   = f.checkCustom.Checked;
     param    = f.textParam.Text;
 }
Esempio n. 2
0
        public Form1()
        {
            InitializeComponent();
            Text += " (rev: " + rev + ')';

            // Init scenes etc.
            fVis          = new FlowVisualization(this);
            fVis.progress = progress = new SimulationProgress(this, fVis);
            fVis.InitializeScenes();
            buttonRes.Text = FormResolution.GetLabel(ref ImageWidth, ref ImageHeight);
        }