Esempio n. 1
0
 public frmPrintConfig(FrmTimeCalc parentForm)
 {
     this.parentForm = parentForm;
     InitializeComponent();
     foreach (String Printername in PrinterSettings.InstalledPrinters)
     {
         comboBoxDrucker.Items.Add(Printername);
     }
     comboBoxDrucker.Text = parentForm.printDocument.PrinterSettings.PrinterName;
     //MessageBox.Show(parentForm.printDocument.DefaultPageSettings.PrinterResolution.Kind.ToString());
     aktualisieren();
 }
Esempio n. 2
0
 public frmPrintPreview(FrmTimeCalc parentForm)
 {
     this.parentForm = parentForm;
     InitializeComponent();
 }