<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="ru">
		<id>http://nfex.ru/index.php?action=history&amp;feed=atom&amp;title=Csharp%2FC_Sharp_by_API%2FSystem.Drawing.Printing%2FPrintDocument</id>
		<title>Csharp/C Sharp by API/System.Drawing.Printing/PrintDocument - История изменений</title>
		<link rel="self" type="application/atom+xml" href="http://nfex.ru/index.php?action=history&amp;feed=atom&amp;title=Csharp%2FC_Sharp_by_API%2FSystem.Drawing.Printing%2FPrintDocument"/>
		<link rel="alternate" type="text/html" href="http://nfex.ru/index.php?title=Csharp/C_Sharp_by_API/System.Drawing.Printing/PrintDocument&amp;action=history"/>
		<updated>2026-04-30T00:11:37Z</updated>
		<subtitle>История изменений этой страницы в вики</subtitle>
		<generator>MediaWiki 1.30.0</generator>

	<entry>
		<id>http://nfex.ru/index.php?title=Csharp/C_Sharp_by_API/System.Drawing.Printing/PrintDocument&amp;diff=3960&amp;oldid=prev</id>
		<title> в 15:31, 26 мая 2010</title>
		<link rel="alternate" type="text/html" href="http://nfex.ru/index.php?title=Csharp/C_Sharp_by_API/System.Drawing.Printing/PrintDocument&amp;diff=3960&amp;oldid=prev"/>
				<updated>2010-05-26T15:31:35Z</updated>
		
		<summary type="html">&lt;p&gt;&lt;/p&gt;
&lt;table class=&quot;diff diff-contentalign-left&quot; data-mw=&quot;interface&quot;&gt;
				&lt;tr style=&quot;vertical-align: top;&quot; lang=&quot;ru&quot;&gt;
				&lt;td colspan=&quot;1&quot; style=&quot;background-color: white; color:black; text-align: center;&quot;&gt;← Предыдущая&lt;/td&gt;
				&lt;td colspan=&quot;1&quot; style=&quot;background-color: white; color:black; text-align: center;&quot;&gt;Версия 15:31, 26 мая 2010&lt;/td&gt;
				&lt;/tr&gt;&lt;tr&gt;&lt;td colspan=&quot;2&quot; style=&quot;text-align: center;&quot; lang=&quot;ru&quot;&gt;&lt;div class=&quot;mw-diff-empty&quot;&gt;(нет различий)&lt;/div&gt;
&lt;/td&gt;&lt;/tr&gt;&lt;/table&gt;</summary>
			</entry>

	<entry>
		<id>http://nfex.ru/index.php?title=Csharp/C_Sharp_by_API/System.Drawing.Printing/PrintDocument&amp;diff=3961&amp;oldid=prev</id>
		<title>Admin: 1 версия</title>
		<link rel="alternate" type="text/html" href="http://nfex.ru/index.php?title=Csharp/C_Sharp_by_API/System.Drawing.Printing/PrintDocument&amp;diff=3961&amp;oldid=prev"/>
				<updated>2010-05-26T12:08:36Z</updated>
		
		<summary type="html">&lt;p&gt;1 версия&lt;/p&gt;
&lt;p&gt;&lt;b&gt;Новая страница&lt;/b&gt;&lt;/p&gt;&lt;div&gt;==extends PrintDocument==&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
   &lt;br /&gt;
&amp;lt;source lang=&amp;quot;csharp&amp;quot;&amp;gt; &lt;br /&gt;
using System;&lt;br /&gt;
using System.Drawing;&lt;br /&gt;
using System.Windows.Forms;&lt;br /&gt;
using System.Drawing.Printing;&lt;br /&gt;
public class PrintParagraph : Form&lt;br /&gt;
{&lt;br /&gt;
    public PrintParagraph()&lt;br /&gt;
    {&lt;br /&gt;
        this.cmdPrint = new System.Windows.Forms.Button();&lt;br /&gt;
        this.SuspendLayout();&lt;br /&gt;
        this.cmdPrint.Location = new System.Drawing.Point(109, 122);&lt;br /&gt;
        this.cmdPrint.Size = new System.Drawing.Size(75, 23);&lt;br /&gt;
        this.cmdPrint.Text = &amp;quot;Print&amp;quot;;&lt;br /&gt;
        this.cmdPrint.UseVisualStyleBackColor = true;&lt;br /&gt;
        this.cmdPrint.Click += new System.EventHandler(this.cmdPrint_Click);&lt;br /&gt;
        this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F);&lt;br /&gt;
        this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;&lt;br /&gt;
        this.ClientSize = new System.Drawing.Size(282, 259);&lt;br /&gt;
        this.Controls.Add(this.cmdPrint);&lt;br /&gt;
        this.Text = &amp;quot;Wrapped Print&amp;quot;;&lt;br /&gt;
        this.ResumeLayout(false);&lt;br /&gt;
    }&lt;br /&gt;
    private void cmdPrint_Click(object sender, EventArgs e)&lt;br /&gt;
    {&lt;br /&gt;
        string text = &amp;quot;a paragraph&amp;quot;;&lt;br /&gt;
        PrintDocument doc = new ParagraphDocument(text);&lt;br /&gt;
        doc.PrintPage += new PrintPageEventHandler(this.Doc_PrintPage);&lt;br /&gt;
        PrintDialog dlgSettings = new PrintDialog();&lt;br /&gt;
        dlgSettings.Document = doc;&lt;br /&gt;
        if (dlgSettings.ShowDialog() == DialogResult.OK)&lt;br /&gt;
        {&lt;br /&gt;
            doc.Print();&lt;br /&gt;
        }&lt;br /&gt;
    }&lt;br /&gt;
    private void Doc_PrintPage(object sender, PrintPageEventArgs e)&lt;br /&gt;
    {&lt;br /&gt;
        ParagraphDocument doc = (ParagraphDocument)sender;&lt;br /&gt;
        Font font = new Font(&amp;quot;Arial&amp;quot;, 15);&lt;br /&gt;
        e.Graphics.DrawString(doc.Text, font, Brushes.Black,&lt;br /&gt;
               e.MarginBounds, StringFormat.GenericDefault);&lt;br /&gt;
    }&lt;br /&gt;
    [STAThread]&lt;br /&gt;
    static void Main()&lt;br /&gt;
    {&lt;br /&gt;
        Application.EnableVisualStyles();&lt;br /&gt;
        Application.SetCompatibleTextRenderingDefault(false);&lt;br /&gt;
        Application.Run(new PrintParagraph());&lt;br /&gt;
    }&lt;br /&gt;
    private System.Windows.Forms.Button cmdPrint;&lt;br /&gt;
    &lt;br /&gt;
}&lt;br /&gt;
public class ParagraphDocument : PrintDocument&lt;br /&gt;
{&lt;br /&gt;
    public string Text;&lt;br /&gt;
    public ParagraphDocument(string text)&lt;br /&gt;
    {&lt;br /&gt;
        this.Text = text;&lt;br /&gt;
    }&lt;br /&gt;
}&lt;br /&gt;
   &lt;br /&gt;
  &amp;lt;/source&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==new PrintDocument()==&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
   &lt;br /&gt;
&amp;lt;source lang=&amp;quot;csharp&amp;quot;&amp;gt; &lt;br /&gt;
using System;&lt;br /&gt;
using System.Drawing.Printing;&lt;br /&gt;
using System.Drawing;&lt;br /&gt;
  class PrintSample&lt;br /&gt;
  {&lt;br /&gt;
    [STAThread]&lt;br /&gt;
    static void Main(string[] args)&lt;br /&gt;
    {&lt;br /&gt;
      PrintSample oSample = new PrintSample();&lt;br /&gt;
      oSample.RunSample();&lt;br /&gt;
    }&lt;br /&gt;
    public void RunSample()&lt;br /&gt;
    {&lt;br /&gt;
        PrintDocument pd = new PrintDocument(); &lt;br /&gt;
      pd.PrintPage += new PrintPageEventHandler(this.PrintPageEvent);&lt;br /&gt;
      pd.Print();&lt;br /&gt;
    }&lt;br /&gt;
    private void PrintPageEvent(object sender, PrintPageEventArgs ev) &lt;br /&gt;
    {&lt;br /&gt;
      string strHello = &amp;quot;Hello Printer!&amp;quot;;&lt;br /&gt;
      Font oFont = new Font(&amp;quot;Arial&amp;quot;,10);&lt;br /&gt;
      Rectangle marginRect = ev.MarginBounds;&lt;br /&gt;
      ev.Graphics.DrawRectangle(new Pen(System.Drawing.Color.Black),marginRect);&lt;br /&gt;
      ev.Graphics.DrawString(strHello,oFont,new SolidBrush(System.Drawing.Color.Blue),&lt;br /&gt;
        (ev.PageBounds.Right/2), ev.PageBounds.Bottom/2);&lt;br /&gt;
    }&lt;br /&gt;
  }&lt;br /&gt;
   &lt;br /&gt;
  &amp;lt;/source&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==PrintDocument.DefaultPageSettings==&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
   &lt;br /&gt;
&amp;lt;source lang=&amp;quot;csharp&amp;quot;&amp;gt;  &lt;br /&gt;
using System;&lt;br /&gt;
using System.Drawing.Printing;&lt;br /&gt;
namespace DefPrintSettings_c&lt;br /&gt;
{&lt;br /&gt;
    public class DefPrintSettings&lt;br /&gt;
    {&lt;br /&gt;
        [STAThread]&lt;br /&gt;
        static void Main(string[] args)&lt;br /&gt;
        {&lt;br /&gt;
      PrintDocument pd = new PrintDocument();&lt;br /&gt;
      PageSettings pg = pd.DefaultPageSettings;&lt;br /&gt;
      PrinterSettings ps = pg.PrinterSettings;&lt;br /&gt;
      Console.WriteLine(&amp;quot;Printer Settings&amp;quot;);&lt;br /&gt;
      Console.WriteLine(&amp;quot;PrinterName = &amp;quot; + pd.PrinterSettings.PrinterName);&lt;br /&gt;
      Console.WriteLine(&amp;quot;Is default Printer = &amp;quot; +&lt;br /&gt;
                         ps.IsDefaultPrinter.ToString());&lt;br /&gt;
      Console.WriteLine(&amp;quot;Is plotter = &amp;quot; + ps.IsPlotter.ToString());&lt;br /&gt;
      Console.WriteLine(&amp;quot;Is printer valid = &amp;quot; + ps.IsValid.ToString());&lt;br /&gt;
      Console.WriteLine(&amp;quot;Can Duplex = &amp;quot; + ps.IsValid.ToString());&lt;br /&gt;
      Console.WriteLine(&amp;quot;Num copies = &amp;quot; + ps.Copies.ToString());&lt;br /&gt;
      Console.WriteLine(&amp;quot;Max Copies = &amp;quot; + ps.MaximumCopies.ToString());&lt;br /&gt;
      Console.WriteLine(&amp;quot;Max Page = &amp;quot; + ps.MaximumPage.ToString());&lt;br /&gt;
      Console.WriteLine(&amp;quot;Min Page = &amp;quot; + ps.MinimumPage.ToString());&lt;br /&gt;
      Console.WriteLine(&amp;quot;Supports Color = &amp;quot; + ps.SupportsColor.ToString());&lt;br /&gt;
      foreach (PaperSize p in ps.PaperSizes)&lt;br /&gt;
        Console.WriteLine(&amp;quot;Supports Paper Size: &amp;quot; + p.PaperName);&lt;br /&gt;
      foreach (PaperSource p in ps.PaperSources)&lt;br /&gt;
        Console.WriteLine(&amp;quot;Supports Paper Source: &amp;quot; + p.SourceName);&lt;br /&gt;
      Console.WriteLine(&amp;quot;\nPage Settings&amp;quot;);&lt;br /&gt;
      Console.WriteLine(&amp;quot;Is Color = &amp;quot; + pg.Color.ToString());&lt;br /&gt;
      Console.WriteLine(&amp;quot;Top Bound = &amp;quot; + pg.Bounds.Top.ToString());&lt;br /&gt;
      Console.WriteLine(&amp;quot;Bottom Bound = &amp;quot; + pg.Bounds.Bottom.ToString());&lt;br /&gt;
      Console.WriteLine(&amp;quot;Left Bound = &amp;quot; + pg.Bounds.Left.ToString());&lt;br /&gt;
      Console.WriteLine(&amp;quot;Right Bound = &amp;quot; + pg.Bounds.Right.ToString());&lt;br /&gt;
      Console.WriteLine(&amp;quot;Top Margin = &amp;quot; + pg.Margins.Top.ToString());&lt;br /&gt;
      Console.WriteLine(&amp;quot;Bottom Margin = &amp;quot; + pg.Margins.Bottom.ToString());&lt;br /&gt;
      Console.WriteLine(&amp;quot;Left Margin = &amp;quot; + pg.Margins.Left.ToString());&lt;br /&gt;
      Console.WriteLine(&amp;quot;Right Margin = &amp;quot; + pg.Margins.Right.ToString());&lt;br /&gt;
      Console.WriteLine(&amp;quot;Landscape = &amp;quot; + pg.Landscape.ToString());&lt;br /&gt;
      Console.WriteLine(&amp;quot;PaperSize = &amp;quot; + pg.PaperSize.PaperName);&lt;br /&gt;
      Console.WriteLine(&amp;quot;PaperSource = &amp;quot; + pg.PaperSource.SourceName);&lt;br /&gt;
      Console.WriteLine(&amp;quot;PrinterResolution = &amp;quot; + &lt;br /&gt;
                        pg.PrinterResolution.Kind.ToString());&lt;br /&gt;
      Console.WriteLine(&amp;quot;PrinterResolution X = &amp;quot; + &lt;br /&gt;
                        pg.PrinterResolution.X.ToString());&lt;br /&gt;
      Console.WriteLine(&amp;quot;PrinterResolution Y = &amp;quot; + &lt;br /&gt;
                        pg.PrinterResolution.Y.ToString());&lt;br /&gt;
      Console.ReadLine();&lt;br /&gt;
    }&lt;br /&gt;
    }&lt;br /&gt;
}&lt;br /&gt;
   &lt;br /&gt;
    &lt;br /&gt;
  &amp;lt;/source&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==PrintDocument.DocumentName==&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
   &lt;br /&gt;
&amp;lt;source lang=&amp;quot;csharp&amp;quot;&amp;gt; &lt;br /&gt;
using System;&lt;br /&gt;
using System.Drawing;&lt;br /&gt;
using System.Drawing.Printing;&lt;br /&gt;
using System.Windows.Forms;&lt;br /&gt;
   &lt;br /&gt;
class HelloPrinter: Form&lt;br /&gt;
{&lt;br /&gt;
     public static void Main()&lt;br /&gt;
     {&lt;br /&gt;
          Application.Run(new HelloPrinter());&lt;br /&gt;
     }&lt;br /&gt;
     protected override void OnPaint(PaintEventArgs pea)&lt;br /&gt;
     {&lt;br /&gt;
          Graphics     grfx   = pea.Graphics;&lt;br /&gt;
          StringFormat strfmt = new StringFormat();&lt;br /&gt;
          grfx.DrawString(&amp;quot;Click to print&amp;quot;, Font, new SolidBrush(ForeColor),ClientRectangle, strfmt);&lt;br /&gt;
     }&lt;br /&gt;
     protected override void OnClick(EventArgs ea)&lt;br /&gt;
     {&lt;br /&gt;
          PrintDocument prndoc = new PrintDocument();&lt;br /&gt;
   &lt;br /&gt;
          prndoc.DocumentName = Text;&lt;br /&gt;
          prndoc.PrintPage += new PrintPageEventHandler(PrintDocumentOnPrintPage);&lt;br /&gt;
          prndoc.Print();&lt;br /&gt;
     }&lt;br /&gt;
     void PrintDocumentOnPrintPage(object obj, PrintPageEventArgs ppea)&lt;br /&gt;
     {&lt;br /&gt;
          Graphics grfx = ppea.Graphics;&lt;br /&gt;
          grfx.DrawString(Text, Font, Brushes.Black, 0, 0);&lt;br /&gt;
          SizeF sizef = grfx.MeasureString(Text, Font);&lt;br /&gt;
          grfx.DrawLine(Pens.Black, sizef.ToPointF(), grfx.VisibleClipBounds.Size.ToPointF());&lt;br /&gt;
     }&lt;br /&gt;
}&lt;br /&gt;
   &lt;br /&gt;
  &amp;lt;/source&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==PrintDocument.Print()==&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
   &lt;br /&gt;
&amp;lt;source lang=&amp;quot;csharp&amp;quot;&amp;gt; &lt;br /&gt;
using System;&lt;br /&gt;
using System.Drawing;&lt;br /&gt;
using System.Windows.Forms;&lt;br /&gt;
using System.Drawing.Printing;&lt;br /&gt;
public class PrintDocumentSubClass : Form&lt;br /&gt;
{&lt;br /&gt;
    public PrintDocumentSubClass()&lt;br /&gt;
    {&lt;br /&gt;
        this.cmdPrint = new System.Windows.Forms.Button();&lt;br /&gt;
        this.SuspendLayout();&lt;br /&gt;
        // &lt;br /&gt;
        this.cmdPrint.Location = new System.Drawing.Point(109, 122);&lt;br /&gt;
        this.cmdPrint.Size = new System.Drawing.Size(75, 23);&lt;br /&gt;
        this.cmdPrint.Text = &amp;quot;Print&amp;quot;;&lt;br /&gt;
        this.cmdPrint.UseVisualStyleBackColor = true;&lt;br /&gt;
        this.cmdPrint.Click += new System.EventHandler(this.cmdPrint_Click);&lt;br /&gt;
        // &lt;br /&gt;
        this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F);&lt;br /&gt;
        this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;&lt;br /&gt;
        this.ClientSize = new System.Drawing.Size(278, 259);&lt;br /&gt;
        this.Controls.Add(this.cmdPrint);&lt;br /&gt;
        this.Text = &amp;quot;Multi Page Print&amp;quot;;&lt;br /&gt;
        this.ResumeLayout(false);&lt;br /&gt;
    }&lt;br /&gt;
    private void cmdPrint_Click(object sender, EventArgs e)&lt;br /&gt;
    {&lt;br /&gt;
        PrintDocument doc = new TextDocument();&lt;br /&gt;
        doc.PrintPage += this.Doc_PrintPage;&lt;br /&gt;
        PrintDialog dlgSettings = new PrintDialog();&lt;br /&gt;
        dlgSettings.Document = doc;&lt;br /&gt;
        if (dlgSettings.ShowDialog() == DialogResult.OK)&lt;br /&gt;
        {&lt;br /&gt;
            doc.Print();&lt;br /&gt;
        }&lt;br /&gt;
    }&lt;br /&gt;
    private void Doc_PrintPage(object sender, PrintPageEventArgs e)&lt;br /&gt;
    {&lt;br /&gt;
        TextDocument doc = (TextDocument)sender;&lt;br /&gt;
        Font font = new Font(&amp;quot;Arial&amp;quot;, 10);&lt;br /&gt;
        &lt;br /&gt;
        float lineHeight = font.GetHeight(e.Graphics);&lt;br /&gt;
        float x = e.MarginBounds.Left;&lt;br /&gt;
        float y = e.MarginBounds.Top;&lt;br /&gt;
        doc.PageNumber += 1;&lt;br /&gt;
        while ((y + lineHeight) &amp;lt; e.MarginBounds.Bottom &amp;amp;&amp;amp; doc.Offset &amp;lt;= doc.Text.GetUpperBound(0))&lt;br /&gt;
        {&lt;br /&gt;
            e.Graphics.DrawString(doc.Text[doc.Offset], font,Brushes.Black, x, y);&lt;br /&gt;
            doc.Offset += 1;&lt;br /&gt;
            y += lineHeight;&lt;br /&gt;
        }&lt;br /&gt;
        if (doc.Offset &amp;lt; doc.Text.GetUpperBound(0))&lt;br /&gt;
        {&lt;br /&gt;
            e.HasMorePages = true;&lt;br /&gt;
        } else {&lt;br /&gt;
            doc.Offset = 0;&lt;br /&gt;
        }&lt;br /&gt;
        &lt;br /&gt;
    }&lt;br /&gt;
    [STAThread]&lt;br /&gt;
    static void Main()&lt;br /&gt;
    {&lt;br /&gt;
        Application.EnableVisualStyles();&lt;br /&gt;
        Application.SetCompatibleTextRenderingDefault(false);&lt;br /&gt;
        Application.Run(new PrintDocumentSubClass());&lt;br /&gt;
    }&lt;br /&gt;
    private System.Windows.Forms.Button cmdPrint;&lt;br /&gt;
}&lt;br /&gt;
class TextDocument : PrintDocument{&lt;br /&gt;
    private string[] text;&lt;br /&gt;
    public string[] Text;&lt;br /&gt;
    public int PageNumber;&lt;br /&gt;
    public int Offset;&lt;br /&gt;
    &lt;br /&gt;
    public TextDocument()&lt;br /&gt;
    {&lt;br /&gt;
        this.Text = new string[100];&lt;br /&gt;
        for (int i = 0; i &amp;lt; 100; i++)&lt;br /&gt;
        {&lt;br /&gt;
            this.Text[i] += &amp;quot;string Text &amp;quot;;&lt;br /&gt;
        }&lt;br /&gt;
    }&lt;br /&gt;
}&lt;br /&gt;
   &lt;br /&gt;
  &amp;lt;/source&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==PrintDocument.PrintPage==&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
   &lt;br /&gt;
&amp;lt;source lang=&amp;quot;csharp&amp;quot;&amp;gt; &lt;br /&gt;
using System;&lt;br /&gt;
using System.Drawing;&lt;br /&gt;
using System.Drawing.Printing;&lt;br /&gt;
using System.Windows.Forms;&lt;br /&gt;
   &lt;br /&gt;
class PrintableForm: Form&lt;br /&gt;
{&lt;br /&gt;
     public static void Main()&lt;br /&gt;
     {&lt;br /&gt;
          Application.Run(new PrintableForm());&lt;br /&gt;
     }&lt;br /&gt;
     public PrintableForm()&lt;br /&gt;
     {&lt;br /&gt;
          ResizeRedraw = true;&lt;br /&gt;
     }&lt;br /&gt;
     protected override void OnPaint(PaintEventArgs pea)&lt;br /&gt;
     {&lt;br /&gt;
          DoPage(pea.Graphics, ForeColor,ClientSize.Width, ClientSize.Height);&lt;br /&gt;
     }&lt;br /&gt;
     protected override void OnClick(EventArgs ea)&lt;br /&gt;
     {&lt;br /&gt;
          PrintDocument prndoc = new PrintDocument();&lt;br /&gt;
   &lt;br /&gt;
          prndoc.DocumentName = Text;&lt;br /&gt;
          prndoc.PrintPage += new PrintPageEventHandler(PrintDocumentOnPrintPage);&lt;br /&gt;
          prndoc.Print();&lt;br /&gt;
     }&lt;br /&gt;
     void PrintDocumentOnPrintPage(object obj, PrintPageEventArgs ppea)&lt;br /&gt;
     {&lt;br /&gt;
          Graphics grfx  = ppea.Graphics;&lt;br /&gt;
          SizeF    sizef = grfx.VisibleClipBounds.Size;&lt;br /&gt;
   &lt;br /&gt;
          DoPage(grfx, Color.Black, (int)sizef.Width, (int)sizef.Height);&lt;br /&gt;
     }&lt;br /&gt;
     protected virtual void DoPage(Graphics grfx, Color clr, int cx, int cy)&lt;br /&gt;
     {&lt;br /&gt;
          Pen pen = new Pen(clr);&lt;br /&gt;
   &lt;br /&gt;
          grfx.DrawLine(pen, 0,      0, cx - 1, cy - 1);&lt;br /&gt;
          grfx.DrawLine(pen, cx - 1, 0, 0,      cy - 1);&lt;br /&gt;
     }&lt;br /&gt;
}&lt;br /&gt;
   &lt;br /&gt;
  &amp;lt;/source&amp;gt;&lt;/div&gt;</summary>
		<author><name>Admin</name></author>	</entry>

	</feed>