private void BindMain() { ComputeNodes = ComputeNodeMgr <GofTask> .LoadGofComputeNodes( Setting.GnsserConfig.ComputeNodeFilePath, Setting.GnsserConfig.GofTaskFilePath); this.bindingSource1.DataSource = ComputeNodes; }
private void BindMain() { mgr = new GofComputeNodeMgr(Setting.GnsserConfig.ComputeNodeFilePath); List <GofComputeNode> list = GofComputeNodeMgr.LoadGofComputeNodes( Setting.GnsserConfig.ComputeNodeFilePath, Setting.GnsserConfig.GofTaskFilePath); this.bindingSource1.DataSource = list; }