C# Class SoundSwitch.Util.TrayIcon

Inheritance: IDisposable
ファイルを表示 Open project: Belphemur/SoundSwitch Class Usage Examples

Public Methods

Method Description
Dispose ( ) : void
ShowError ( string errorMessage, string errorTitle ) : void

shows an error messasge

ShowNoDevices ( ) : void

Notification for when there are no devices configured

ShowSettings ( ) : void
TrayIcon ( ) : System
UpdateDeviceSelectionList ( ) : void

Sets the names of devices that show up in the menu

Private Methods

Method Description
DeviceClicked ( object sender, EventArgs e ) : void
NewReleaseAvailable ( object sender, UpdateChecker newReleaseEvent ) : void
OnUpdateClick ( object sender, EventArgs eventArgs ) : void
PopulateSettingsMenu ( ) : void
SetEventHandlers ( ) : void

Method Details

Dispose() public method

public Dispose ( ) : void
return void

ShowError() public method

shows an error messasge
public ShowError ( string errorMessage, string errorTitle ) : void
errorMessage string
errorTitle string
return void

ShowNoDevices() public method

Notification for when there are no devices configured
public ShowNoDevices ( ) : void
return void

ShowSettings() public method

public ShowSettings ( ) : void
return void

TrayIcon() public method

public TrayIcon ( ) : System
return System

UpdateDeviceSelectionList() public method

Sets the names of devices that show up in the menu
public UpdateDeviceSelectionList ( ) : void
return void