This commit is contained in:
parent
65c47b3e8b
commit
8d946d1f26
@ -5,6 +5,7 @@ using System.Data;
|
|||||||
using System.Drawing;
|
using System.Drawing;
|
||||||
using System.Text;
|
using System.Text;
|
||||||
using System.Windows.Forms;
|
using System.Windows.Forms;
|
||||||
|
using System.IO;
|
||||||
|
|
||||||
namespace DataLoader
|
namespace DataLoader
|
||||||
{
|
{
|
||||||
@ -43,5 +44,16 @@ namespace DataLoader
|
|||||||
Top = _MyParent.Top;
|
Top = _MyParent.Top;
|
||||||
Left = _MyParent.Right + Width > rec.Right ? rec.Right - Width : _MyParent.Right;
|
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