Alsing.SourceCode.SourceCodePrintDocument.OnBeginPrint C# (CSharp) Метод

OnBeginPrint() защищенный Метод

protected OnBeginPrint ( System.Drawing.Printing.PrintEventArgs ev ) : void
ev System.Drawing.Printing.PrintEventArgs
Результат void
        protected override void OnBeginPrint(PrintEventArgs ev)
        {
            base.OnBeginPrint(ev);
            fontNormal = new Font("Courier new", 8, FontStyle.Regular);
            fontBreak = new Font("Symbol", 8, FontStyle.Bold);
            //			fontBold						= new Font("Arial", 10,FontStyle.Bold);
            //			fontItalic						= new Font("Arial", 10,FontStyle.Italic);
            //			fontBoldItalic					= new Font("Arial", 10,FontStyle.Bold | FontStyle.Italic);
            //			fontUnderline					= new Font("Arial", 10,FontStyle.Underline);
            //			fontBoldUnderline				= new Font("Arial", 10,FontStyle.Bold | FontStyle.Underline);
            //			fontItalicUnderline				= new Font("Arial", 10,FontStyle.Italic | FontStyle.Underline);
            //			fontBoldItalicUnderline			= new Font("Arial", 10,FontStyle.Bold | FontStyle.Italic | FontStyle.Underline);
            RowIndex = 0;
        }