Code: Select all
#region UR
drawLoc=new Point((int)totalWidth-1,0);//in the UR area, we refer to the upper right corner of each element.
elementI=0;
while(drawLoc.Y<totalHeight && elementI<apptRows.Count) {
if(apptRows[elementI].ElementAlignment!=ApptViewAlignment.UR) {
elementI++;
continue;
}
drawLoc=DrawElement(g,elementI,drawLoc,apptViewCur.StackBehavUR,ApptViewAlignment.UR,backBrush,dataRoww,apptRows,tableApptFields,tablePatFields,totalWidth,totalHeight,fontSize,isPrinting);
elementI++;
}
// HOOK HERE
Plugins.HookAddCode(null, "OpenDentBusiness.UI.ApptSingleDrawing_DrawEntireAppt", new object[] {dataRoww, g, drawLoc });
// END HOOK
#endregion
Thanks !