29259328
This commit is contained in:
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user