This commit is contained in:
Stefan Hutter
2025-03-28 16:02:52 +01:00
parent e0d3dbbbff
commit c0bf4774b5
364 changed files with 1751 additions and 83539 deletions

View File

@@ -33,6 +33,9 @@ namespace OnDoc.UIControls
public int partnernr = 0;
public string partnerkurzname = "";
public int personnr = 0;
public string personkurzname = "";
public bool bpperson_changed { get; set; } = false;
public bool partnersaldiert = false;
public bool person = false;
@@ -321,11 +324,11 @@ namespace OnDoc.UIControls
var dataRow = (e.DataRow.RowData as DataRowView).Row;
if (Convert.ToInt32(dataRow["Typ"]) == 1)
{
e.Graphics.DrawImage(OnDoc.Properties.Resources.BP_16x16_32, e.Bounds.X + 5, e.Bounds.Y + 3);
e.Graphics.DrawImage(OnDoc.Properties.Resources.BP_gray_16x16_32, e.Bounds.X + 5, e.Bounds.Y + 3);
}
else
{
e.Graphics.DrawImage(OnDoc.Properties.Resources.Person_16x16_32, e.Bounds.X + 5, e.Bounds.Y + 3);
e.Graphics.DrawImage(OnDoc.Properties.Resources.Person_gray_16x16_32, e.Bounds.X + 5, e.Bounds.Y + 3);
}
Pen borderPen = new Pen(Color.LightGray);
e.Graphics.DrawLine(borderPen, e.Bounds.Right, e.Bounds.Top, e.Bounds.Right, e.Bounds.Bottom);