Exemplo n.º 1
0
        protected PrinterForm OnPreviewEvent(PrintType printType, string title = "")
        {
            var pf = new PrinterForm("Preview", PrinterForm.PrintMode.Preview, printType)
            {
                Title = title
            };

            OpenDocument.Show(pf);
            return(pf);
        }
Exemplo n.º 2
0
        protected PrinterForm OnPreviewEvent(PrintType printType, string title = "")
        {
            var pf = new PrinterForm(Name, PrinterForm.PrintMode.Preview, printType)
            {
                Title = string.Concat(Properties.Resources.Preview, " ", title)
            };

            OpenDocument.Show(pf);
            return(pf);
        }
Exemplo n.º 3
0
        protected PrinterForm OnPrintEvent(PrintType printType)
        {
            var pf = new PrinterForm("Print", PrinterForm.PrintMode.Print, printType);

            return(pf);
        }
Exemplo n.º 4
0
 protected virtual bool OnPrintDocument(string sender, PrinterForm pf)
 {
     return(true);
 }
Exemplo n.º 5
0
        protected PrinterForm OnPrintEvent(PrintType printType)
        {
            PrinterForm pf = new PrinterForm(Name, PrinterForm.PrintMode.Print, printType);

            return(pf);
        }