/// <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(); }
public static void Print(this RichTextBox richTextBox, IControlPrinter <RichTextBox> controlPrinter) { controlPrinter.TargetControl = richTextBox; controlPrinter.Print(); }
public static void Print(this PictureBox pictureBox, IControlPrinter <PictureBox> controlPrinter) { controlPrinter.TargetControl = pictureBox; controlPrinter.Print(); }
public static void Print(this PictureBox pictureBox, IControlPrinter<PictureBox> controlPrinter) { controlPrinter.TargetControl = pictureBox; controlPrinter.Print(); }