C# 클래스 PrinterManagerHelper.Form1

파일 보기 프로젝트 열기: FOGProject/fog-client

공개 메소드들

메소드 설명
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