示例#1
0
文件: Form1.cs 项目: maoap1/grcis-1
 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;
 }
示例#2
0
文件: Form1.cs 项目: maoap1/grcis-1
        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);
        }