Hi!
Can anybody help me as to why I am getting this error: "the reference of the object is not set to an instance of an object"
here is the part of the code concerned
- private void button5_Click(object sender, EventArgs e)
- {
- printPreviewDialog.Document = printDocument;
- printPreviewDialog.ShowDialog();
- }

Rajanikant HawaldarPosted Sep 20, 2020, 6:35 AM
Amit GuptaPosted Sep 16, 2020, 5:27 AM