This commit is contained in:
parent
65c47b3e8b
commit
8d946d1f26
@ -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;
|
||||
}
|
||||
}
|
||||
}
|
Loading…
x
Reference in New Issue
Block a user