I achieved this with a timer.
Drop the timer on the form containing the dashboard and turn it into a one-shot timer with a delay of 1 ms. Note: for the timer, you must first set Enabled to False
private void toolStripBtnPrint_Click(object sender, EventArgs e) { timer1.Interval = 1;
Create a timer event handler
private void timer1_Tick(object sender, EventArgs e) { timer1.Enabled = false; PrintDialog printDialogue=new PrintDocument();
It may be dirty, but he pulled me out of the pit. NTN
source share