Exemplo n.º 1
0
 private void btnPrint_Click(object sender, EventArgs e)
 {
     if (InitPrinter())
     {
         Result = PrintDialogResult.Yes;
         this.Close();
     }
 }
Exemplo n.º 2
0
 private void btnSet_Click(object sender, EventArgs e)
 {
     InitPrinter();
     Result = PrintDialogResult.Set;
 }
Exemplo n.º 3
0
 private void btnCancel_Click(object sender, EventArgs e)
 {
     this.Close();
     Result = PrintDialogResult.Cancel;
 }