Exemplo n.º 1
0
        private void BindMain()
        {
            ComputeNodes = ComputeNodeMgr <GofTask> .LoadGofComputeNodes(
                Setting.GnsserConfig.ComputeNodeFilePath,
                Setting.GnsserConfig.GofTaskFilePath);

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

            this.bindingSource1.DataSource = list;
        }