コード例 #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);
        }