private void PrintDoc_PrintPage(object sender, PrintPageEventArgs e) { var pf = new PrintForm(this); pf.Print(true, PrintForm.PrintMode_ENUM.FitToPage); }
private void PrintFormToolStripMenuItem_Click(object sender, EventArgs e) { var pf = new PrintForm(this); pf.Print(true, PrintForm.PrintMode_ENUM.FitToPage); }