コード例 #1
0
        public void LoadData()
        {
            if (FileToLoad == null) throw new ArgumentNullException("FileToLoad", "No load file specified");
            if (!FileToLoad.Exists) throw new FileNotFoundException("Cannot find file to load: " + this.FileToLoad.FullName);

            LogMessage("Loading GraphML file:\t" + FileToLoad.FullName);
            loader = new NetworkDataReader();
            loader.ProgressInterval = ProgressInterval;
            loader.LoadData(FileToLoad);
        }