This commit is contained in:
chi
2022-04-20 15:09:23 +09:00
parent dd3fcf149f
commit b6607dde2d
23 changed files with 3858 additions and 3532 deletions

View File

@@ -480,13 +480,15 @@ namespace FPJ0000
if (col == curyw)
{
e.Graphics.FillRectangle(Brushes.DeepSkyBlue, rect);
e.Graphics.DrawString(col, this.Font, Brushes.Black, rect, new StringFormat { Alignment = StringAlignment.Center, LineAlignment = StringAlignment.Center });
}
else
{
e.Graphics.FillRectangle(Brushes.DimGray, rect);
e.Graphics.DrawString(col, this.Font, Brushes.White, rect, new StringFormat { Alignment = StringAlignment.Center, LineAlignment = StringAlignment.Center });
}
e.Graphics.DrawRectangle(Pens.Black, rect.Left, rect.Top, rect.Width, rect.Height);
e.Graphics.DrawString(col, this.Font, Brushes.Black, rect, new StringFormat { Alignment = StringAlignment.Center, LineAlignment = StringAlignment.Center });
ci += 1;
}
@@ -581,7 +583,7 @@ namespace FPJ0000
{
e.Graphics.DrawString(str + "\n" + dr.uid + $"\n\n[시작 안함]",
this.Font,
(isBusy ? (dr.progress < 1 ? Brushes.Tomato : Brushes.WhiteSmoke) : Brushes.Lime),
(isBusy ? (dr.progress < 1 ? Brushes.Yellow : Brushes.WhiteSmoke) : Brushes.Lime),
rect2,
new StringFormat { Alignment = StringAlignment.Near, LineAlignment = StringAlignment.Center }
);
@@ -590,7 +592,7 @@ namespace FPJ0000
{
e.Graphics.DrawString(str + "\n" + dr.uid + $"\n\n[{dr.progress:N1}% 진행 중]",
this.Font,
(isBusy ? (dr.progress < 1 ? Brushes.Tomato : Brushes.WhiteSmoke) : Brushes.Lime),
(isBusy ? (dr.progress < 1 ? Brushes.Yellow : Brushes.WhiteSmoke) : Brushes.Lime),
rect2,
new StringFormat { Alignment = StringAlignment.Near, LineAlignment = StringAlignment.Center }
);