private void BindMain() { ComputeNodes = BerComputeNodeMgr.LoadComputeNodes( Setting.GnsserConfig.ComputeNodeFilePath, Setting.GnsserConfig.TaskFilePath, Setting.GnsserConfig.SiteFilePath); this.bindingSource1.DataSource = ComputeNodes; }
private void BindMain() { mgr = new BerComputeNodeMgr(Setting.GnsserConfig.ComputeNodeFilePath); List <BerComputeNode> list = BerComputeNodeMgr.LoadComputeNodes( Setting.GnsserConfig.ComputeNodeFilePath, Setting.GnsserConfig.TaskFilePath, Setting.GnsserConfig.SiteFilePath); this.bindingSource1.DataSource = list; }