public XFrmPrinterText() { InitializeComponent(); carregarListaImpressoras(); this.util = new PrinterTextUtil(TypePrinter.Documento, this.txtImpressao.Text); openFileDialog1.Filter = FileManagerIts.DocumentFilter; }
private void carregarListaImpressoras() { cbImpressoras.Properties.Items.Clear(); PrinterTextUtil.GetPrinters().ForEach(delegate(String impressora) { cbImpressoras.Properties.Items.Add(impressora); }); }