Exemple #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);
        }
        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);
        }
Exemple #3
0
        protected PrinterForm OnPrintEvent(PrintType printType)
        {
            var pf = new PrinterForm("Print", PrinterForm.PrintMode.Print, printType);

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

            return(pf);
        }