vishnu krishnan

vishnu krishnan

  • NA
  • 105
  • 251.3k

printing problem

Dec 19 2010 3:31 AM
private void printDocument1_PrintPage(object sender, System.Drawing.Printing.PrintPageEventArgs e)
        {

            e.Graphics.DrawString(textBox1.Text, textBox1.Font, Brushes.Black, 100, 100);


        }

        private void button1_Click_1(object sender, EventArgs e)
        {
            printDocument1.Print();
        }

here i click the print button, default  control will go to the microsoft office notebook, then i can take the print. how to change the control to microsoft office.


Answers (2)