Esempio n. 1
0
 //Nyomtatás
 private void PrintButton_Click(object sender, EventArgs e)
 {
     try
     {
         PrintHandler ph = new PrintHandler(SOList, PrintersList, CopiesTbx.Text);
         ph.Printing();
     }
     catch (Exception ex)
     {
         MessageBox.Show(ex.Message, "Hibaüzenet", MessageBoxButtons.OK, MessageBoxIcon.Error);
     }
 }
Esempio n. 2
0
        //Nyomtatási előnézet
        private void PrintPreviewLabel_LinkClicked(object sender, LinkLabelLinkClickedEventArgs e)
        {
            PrintHandler ph = new PrintHandler(SOList, PrintersList, CopiesTbx.Text);

            ph.preview();
        }