예제 #1
0
 private void BindMain()
 {
     ComputeNodes = BerComputeNodeMgr.LoadComputeNodes(
         Setting.GnsserConfig.ComputeNodeFilePath,
         Setting.GnsserConfig.TaskFilePath,
         Setting.GnsserConfig.SiteFilePath);
     this.bindingSource1.DataSource = ComputeNodes;
 }
예제 #2
0
        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;
        }