/// <summary>
 /// Print the control, using a custom IControlPrinter instance.
 /// </summary>
 public static void Print(this RichTextBox richTextBox, IControlPrinter<RichTextBox> controlPrinter)
 {
     controlPrinter.TargetControl = richTextBox;
     controlPrinter.Print();
 }
Exemplo n.º 2
0
 public static void Print(this RichTextBox richTextBox, IControlPrinter <RichTextBox> controlPrinter)
 {
     controlPrinter.TargetControl = richTextBox;
     controlPrinter.Print();
 }
Exemplo n.º 3
0
 public static void Print(this PictureBox pictureBox, IControlPrinter <PictureBox> controlPrinter)
 {
     controlPrinter.TargetControl = pictureBox;
     controlPrinter.Print();
 }
Exemplo n.º 4
0
 public static void Print(this PictureBox pictureBox, IControlPrinter<PictureBox> controlPrinter)
 {
     controlPrinter.TargetControl = pictureBox;
     controlPrinter.Print();
 }