Changed FormProgram Read to Load

This commit is contained in:
2018-11-14 20:41:53 -05:00
parent 1802488449
commit 5d32af7bea

View File

@@ -42,14 +42,14 @@ namespace CincyLib.PressBrake
public List<Step> Steps { get; set; }
public static Program Read(string file)
public static Program Load(string file)
{
var reader = new ProgramReader();
reader.Read(file);
return reader.Program;
}
public static Program Read(Stream stream)
public static Program Load(Stream stream)
{
var reader = new ProgramReader();
reader.Read(stream);