private absImageStream accessImage(string imagepath) { FileInfo f = new FileInfo(imagepath); absImageStream ais; switch (f.Extension) { case ".001": case ".dmg": i = new DDSetStream(imagepath); ais = new DDSetStream(imagepath); break; default: i = new DDSetStream(imagepath); ais = new DDSetStream(imagepath); break; } return(i); }
private absImageStream accessImage(string imagepath) { FileInfo f = new FileInfo(imagepath); absImageStream ais; switch (f.Extension) { case ".001": case ".dmg": i = new DDSetStream(imagepath); ais = new DDSetStream(imagepath); break; default: i = new DDSetStream(imagepath); ais = new DDSetStream(imagepath); break; } return i; }