This commit is contained in:
chi
2021-02-18 16:23:34 +09:00
parent f942419d52
commit b61d444bd2
17 changed files with 621 additions and 89 deletions

View File

@@ -277,19 +277,24 @@ namespace FEQ0000
this.fpSpread1.ActiveSheet.Rows[i].ForeColor = Color.Black;
break;
}
}
//프로젝트가 걸린데이터는 글자를 bold체로 변경한다.
var pidx = (int)this.fpSpread1.ActiveSheet.GetValue(i, prjindex);
if(pidx == -1) //프로젝트가 없다
var prjdata = this.fpSpread1.ActiveSheet.GetValue(i, prjindex);
if(prjdata != null)
{
this.fpSpread1.ActiveSheet.Rows[i].Font = fBase;
}
else
{
this.fpSpread1.ActiveSheet.Rows[i].Font = fBold;
var pidx = (int)this.fpSpread1.ActiveSheet.GetValue(i, prjindex);
if (pidx == -1) //프로젝트가 없다
{
this.fpSpread1.ActiveSheet.Rows[i].Font = fBase;
}
else
{
this.fpSpread1.ActiveSheet.Rows[i].Font = fBold;
}
}
else this.fpSpread1.ActiveSheet.Rows[i].Font = fBold;
}
this.fpSpread1.ResumeLayout();