C# Class SIPSorcery.AssetListMenuBar

Inheritance: System.Windows.Controls.UserControl
Datei anzeigen Open project: sipsorcery/sipsorcery

Public Methods

Method Description
AssetListMenuBar ( ) : System
EnableAdd ( bool isEnabled ) : void

Used to enable or disable the Add button on the menu bar.

EnableFilter ( bool isEnabled ) : void

Used to enable or disable the Filter button and text box on the menu bar.

EnableHelp ( bool isEnabled ) : void

Used to enable or disable the Help button on the menu bar.

EnablePaging ( bool enabled ) : void
EnableRefresh ( bool isEnabled ) : void

Used to enable or disable the Refresh button on the menu bar.

SetDisplayedRange ( int offset, int count, int total, int displayCount ) : void
SetTitle ( string title ) : void

Private Methods

Method Description
AddButton_Click ( object sender, System e ) : void
DisablePagingButtons ( ) : void
FilterButton_Click ( object sender, System e ) : void
HelpButton_Click ( object sender, System e ) : void
PageFirstButton_Click ( object sender, System e ) : void
PageLastButton_Click ( object sender, System e ) : void
PageNextButton_Click ( object sender, System e ) : void
PagePreviousButton_Click ( object sender, System e ) : void
RefreshButton_Click ( object sender, System e ) : void

Method Details

AssetListMenuBar() public method

public AssetListMenuBar ( ) : System
return System

EnableAdd() public method

Used to enable or disable the Add button on the menu bar.
public EnableAdd ( bool isEnabled ) : void
isEnabled bool True to enable the button so it appears on the menu bar, false to disable it.
return void

EnableFilter() public method

Used to enable or disable the Filter button and text box on the menu bar.
public EnableFilter ( bool isEnabled ) : void
isEnabled bool True to enable the filter controls so they appear on the menu bar, false to disable them.
return void

EnableHelp() public method

Used to enable or disable the Help button on the menu bar.
public EnableHelp ( bool isEnabled ) : void
isEnabled bool True to enable the Delete button so it appears on the menu bar, false to disable it.
return void

EnablePaging() public method

public EnablePaging ( bool enabled ) : void
enabled bool
return void

EnableRefresh() public method

Used to enable or disable the Refresh button on the menu bar.
public EnableRefresh ( bool isEnabled ) : void
isEnabled bool True to enable the button so it appears on the menu bar, false to disable it.
return void

SetDisplayedRange() public method

public SetDisplayedRange ( int offset, int count, int total, int displayCount ) : void
offset int
count int
total int
displayCount int
return void

SetTitle() public method

public SetTitle ( string title ) : void
title string
return void