Ejemplo n.º 1
0
        private void PrintObjectData(SchoolClass Node, float x, ref float y, List <TableCellWithAlignment> PrintCol, Font PrintFont, float LineHeight)
        {
            List <string> AspectToPrint = new List <string>();

            AspectToPrint.Add(Node.ClassCode);
            AspectToPrint.Add(Node.ClassName);
            AspectToPrint.Add(Node.IsVirtual.ToString());

            for (int i = 0; i < AspectToPrint.Count; i++)
            {
                PH.DrawText(AspectToPrint[i], PrintFont, x, y, PrintCol[i].Size, LineHeight, PrintCol[i].Alignment, Brushes.Black, false, false);
                x += PrintCol[i].Size;
            }
            y += LineHeight;
        }
Ejemplo n.º 2
0
 private void GetSignature(SchoolClass UserItem)
 {
     lblData.Text = UserItem.Creator.Version.ToString();
     lblIP.Text   = UserItem.Creator.IP;
     lblUser.Text = UserItem.Creator.ToString();
 }