프로젝트 모록에 sfi 추가 (박성민)
This commit is contained in:
@@ -73,20 +73,9 @@ namespace FPJ0000.Project
|
||||
Boolean brect = true;
|
||||
protected override void OnPaint(PaintEventArgs pe)
|
||||
{
|
||||
if (items == null || items.Count != 12)
|
||||
if (items == null || items.Any()==false )
|
||||
{
|
||||
for (int i = 1; i <= 12; i++)
|
||||
{
|
||||
items.Add(new itemdata()
|
||||
{
|
||||
no = i,
|
||||
body = string.Empty,
|
||||
champion = "담당자",
|
||||
duedate = "만료일자",
|
||||
rect = Rectangle.Empty
|
||||
});
|
||||
|
||||
}
|
||||
return;
|
||||
}
|
||||
base.OnPaint(pe);
|
||||
|
||||
@@ -133,6 +122,9 @@ namespace FPJ0000.Project
|
||||
rect.Top + (j * itemh) + ((j + 1) * itemp),
|
||||
itemw,
|
||||
itemh);
|
||||
|
||||
if (cnt >= items.Count) continue;
|
||||
|
||||
var data = items[cnt - 1];
|
||||
|
||||
var no = j * colcount + i + 1;
|
||||
|
||||
Reference in New Issue
Block a user