C# Class PrinterManagerHelper.Form1

Afficher le fichier Open project: FOGProject/fog-client

Méthodes publiques

Méthode Description
Form1 ( ) : System

Méthodes protégées

Méthode Description
Dispose ( bool disposing ) : void

Clean up any resources being used.

Private Methods

Méthode Description
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

Method Details

Dispose() protected méthode

Clean up any resources being used.
protected Dispose ( bool disposing ) : void
disposing bool true if managed resources should be disposed; otherwise, false.
Résultat void

Form1() public méthode

public Form1 ( ) : System
Résultat System