예제 #1
0
파일: MainForm.cs 프로젝트: rollend/LevelUp
        private void bbiOpen_ItemClick(object sender, ItemClickEventArgs e)
        {
            OpenFileDialog ofd = new OpenFileDialog();
            ofd.Filter = "SWARM Expriment Record File(*.serf)|*.serf";
            if (ofd.ShowDialog() == DialogResult.Cancel) {
                return;
            }
            ChunkReader reader = new ChunkReader( ofd.FileName );
            BatchExperiment batch = new BatchExperiment(reader.RootChunk);

            InitializeExperiment(batch);

            if (expListForm == null) {
                expListForm = new UI.ExperimentInformation.ExperimentListForm();
            }

            expListForm.BindExperiment(ctxt);
            expListForm.MdiParent = this;
            expListForm.Show();

            MessageBox.Show(batch.ExperimentCount.ToString());
        }
예제 #2
0
 public DataFormatTable(BatchExperiment batch)
 {
     this.batch = batch;
 }
예제 #3
0
 public ExperimentTable(BatchExperiment batch)
 {
     this.batch = batch;
 }
예제 #4
0
파일: MainForm.cs 프로젝트: rollend/LevelUp
 private void InitializeExperiment(BatchExperiment batch)
 {
     ctxt = new Context();
     ctxt.BatchExperiment = batch;
     ctxt.FocusedItemChanged += this.OnSelectedItemChanged;
 }
예제 #5
0
 public ValueExporter( BatchExperiment batch )
 {
     this.batch = batch;
 }