Пример #1
0
        private void PrintDoc_PrintPage(object sender, PrintPageEventArgs e)
        {
            var pf = new PrintForm(this);

            pf.Print(true, PrintForm.PrintMode_ENUM.FitToPage);
        }
Пример #2
0
        private void PrintFormToolStripMenuItem_Click(object sender, EventArgs e)
        {
            var pf = new PrintForm(this);

            pf.Print(true, PrintForm.PrintMode_ENUM.FitToPage);
        }