C# Класс PrinterManagerHelper.Form1

Показать файл Открыть проект

Открытые методы

Метод Описание
Form1 ( ) : System

Защищенные методы

Метод Описание
Dispose ( bool disposing ) : void

Clean up any resources being used.

Приватные методы

Метод Описание
ClearAll ( ) : void
GetPrinterDriver ( ManagementBaseObject printer ) : string

Get the path to the inf used by a printer

GetPrinterIP ( ManagementBaseObject printer ) : string

Get the IP of a printer

GetPrinterNames ( ) : List

Extract just the printers' names from the existing list

GetPrinters ( ) : ManagementBaseObject>.Dictionary

Get a list of all printers attached to a host

InitializeComponent ( ) : void

Required method for Designer support - do not modify the contents of this method with the code editor.

addButton_Click ( object sender, EventArgs e ) : void
printerComboBox_SelectedIndexChanged ( object sender, System e ) : void

Update the fields when a new printer is selected

typeCombo_SelectedIndexChanged ( object sender, EventArgs e ) : void

Описание методов

Dispose() защищенный Метод

Clean up any resources being used.
protected Dispose ( bool disposing ) : void
disposing bool true if managed resources should be disposed; otherwise, false.
Результат void

Form1() публичный Метод

public Form1 ( ) : System
Результат System