سلام دوستان من کد زیر رو نوشتم ازش ران تایم ارور می گیره درست وقتی می زنم پرینت. 255.png
نوشته شده توسط jebreily سلام دوستان من کد زیر رو نوشتم ازش ران تایم ارور می گیره درست وقتی می زنم پرینت. 255.png private void Btn_Prin_Click(object sender, EventArgs e) { printDialog1.Document = printDocument1; var y = printDialog1.ShowDialog(this); if (y == DialogResult.OK) { printDocument1.Print(); } }
private void Btn_Prin_Click(object sender, EventArgs e) { printDialog1.Document = printDocument1; var y = printDialog1.ShowDialog(this); if (y == DialogResult.OK) { printDocument1.Print(); } }
ممنون مشکلم بر طرف شد.
قوانین سایت