C# Class ApProg.UserInterface.Shell.MainWindow

Interaction logic for MainWindow.xaml... When logic gets complicated, move it to presenter class
Inheritance: IShell
Show file Open project: JoKr2/ApProg Class Usage Examples

Public Methods

Method Description
AddScreen ( IScreen screen, string caption ) : void
AskUserForFileName ( bool open ) : string
InformUser ( string message ) : void
MainWindow ( ) : System
RemoveScreen ( IScreen screen ) : void
ShowProgressBar ( bool show ) : void
UpdateProgress ( int value, string message ) : void

Protected Methods

Method Description
GetTabByScreen ( IScreen screen ) : System.Windows.Controls.TabItem

Method Details

AddScreen() public method

public AddScreen ( IScreen screen, string caption ) : void
screen IScreen
caption string
return void

AskUserForFileName() public method

public AskUserForFileName ( bool open ) : string
open bool
return string

GetTabByScreen() protected method

protected GetTabByScreen ( IScreen screen ) : System.Windows.Controls.TabItem
screen IScreen
return System.Windows.Controls.TabItem

InformUser() public method

public InformUser ( string message ) : void
message string
return void

MainWindow() public method

public MainWindow ( ) : System
return System

RemoveScreen() public method

public RemoveScreen ( IScreen screen ) : void
screen IScreen
return void

ShowProgressBar() public method

public ShowProgressBar ( bool show ) : void
show bool
return void

UpdateProgress() public method

public UpdateProgress ( int value, string message ) : void
value int
message string
return void