This commit is contained in:
John Jenko 2010-03-31 16:46:46 +00:00
parent 65c47b3e8b
commit 8d946d1f26

View File

@ -5,6 +5,7 @@ using System.Data;
using System.Drawing;
using System.Text;
using System.Windows.Forms;
using System.IO;
namespace DataLoader
{
@ -43,5 +44,16 @@ namespace DataLoader
Top = _MyParent.Top;
Left = _MyParent.Right + Width > rec.Right ? rec.Right - Width : _MyParent.Right;
}
public void Save(string path)
{
StreamWriter fs = new StreamWriter(path,false);
foreach (string txt in MyErrors)
fs.WriteLine(txt);
fs.Close();
}
public int ItemCount()
{
return MyErrors.Count;
}
}
}