C# Class Commander.MainForm

Inheritance: IClipboardActions
Show file Open project: SneWs/Commander Class Usage Examples

Public Methods

Method Description
AddTab ( TabPage tab ) : void
AppendOutput ( string output, bool newLine, bool addPrompt ) : void
ClearOutput ( ) : void
CloseAllTabs ( ) : void
CloseInstance ( ) : void
CloseTab ( TabPage tab ) : void
CloseTab ( int index ) : void
CloseTab ( int index, bool exitOnLastTabClosed ) : void
Copy ( ) : void
MainForm ( ) : System
Paste ( ) : void
Paste ( string content ) : void
SetDirectory ( string dir ) : void

Protected Methods

Method Description
Dispose ( bool disposing ) : void

Clean up any resources being used.

OnClientSizeChanged ( EventArgs e ) : void
OnFormClosing ( FormClosingEventArgs e ) : void
OnKeyUp ( KeyEventArgs e ) : void
OnMouseWheel ( MouseEventArgs e ) : void
OnShown ( EventArgs e ) : void

Private Methods

Method Description
CloseCurrentTab ( ) : void
GetActiveTab ( ) : ShellTabPresenter
GetTabFromPoint ( Point point ) : ShellTabPresenter
InitializeComponent ( ) : void

Required method for Designer support - do not modify the contents of this method with the code editor.

NewCommandTab ( ShellTypes type = ShellTypes.Cmd ) : void
OnAboutAppItemClicked ( object sender, EventArgs e ) : void
OnClipboardHistoryClicked ( object sender, EventArgs e ) : void
OnClipboardItemClicked ( object sender, EventArgs e ) : void
OnCloseAllTabsItemClicked ( object sender, EventArgs e ) : void
OnCloseTabItemClicked ( object sender, EventArgs e ) : void
OnExitAppItemClicked ( object sender, EventArgs e ) : void
OnFullScreenItemClicked ( object sender, EventArgs e ) : void
OnLoadedCommandInfoClicked ( object sender, EventArgs e ) : void
OnNewTabButtonClicked ( object sender, EventArgs e ) : void
OnNewTabPowerShellClicked ( object sender, EventArgs e ) : void
OnSettingsMenuItemClicked ( object sender, EventArgs e ) : void
OnShowMenuBarClicked ( object sender, EventArgs e ) : void
OnShowStatusBarItemClicked ( object sender, EventArgs e ) : void
OnTabContainerClicked ( object sender, EventArgs e ) : void
OnTabContainerDoubleClicked ( object sender, EventArgs e ) : void
OnTabContainerMouseUp ( object sender, MouseEventArgs e ) : void
OnTabContainerTabIndexChanged ( object sender, EventArgs e ) : void
RenameTab ( TabPage tab ) : void
SwitchTab ( int direction ) : void

Method Details

AddTab() public method

public AddTab ( TabPage tab ) : void
tab TabPage
return void

AppendOutput() public method

public AppendOutput ( string output, bool newLine, bool addPrompt ) : void
output string
newLine bool
addPrompt bool
return void

ClearOutput() public method

public ClearOutput ( ) : void
return void

CloseAllTabs() public method

public CloseAllTabs ( ) : void
return void

CloseInstance() public method

public CloseInstance ( ) : void
return void

CloseTab() public method

public CloseTab ( TabPage tab ) : void
tab TabPage
return void

CloseTab() public method

public CloseTab ( int index ) : void
index int
return void

CloseTab() public method

public CloseTab ( int index, bool exitOnLastTabClosed ) : void
index int
exitOnLastTabClosed bool
return void

Copy() public method

public Copy ( ) : void
return void

Dispose() protected method

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

MainForm() public method

public MainForm ( ) : System
return System

OnClientSizeChanged() protected method

protected OnClientSizeChanged ( EventArgs e ) : void
e EventArgs
return void

OnFormClosing() protected method

protected OnFormClosing ( FormClosingEventArgs e ) : void
e FormClosingEventArgs
return void

OnKeyUp() protected method

protected OnKeyUp ( KeyEventArgs e ) : void
e KeyEventArgs
return void

OnMouseWheel() protected method

protected OnMouseWheel ( MouseEventArgs e ) : void
e MouseEventArgs
return void

OnShown() protected method

protected OnShown ( EventArgs e ) : void
e EventArgs
return void

Paste() public method

public Paste ( ) : void
return void

Paste() public method

public Paste ( string content ) : void
content string
return void

SetDirectory() public method

public SetDirectory ( string dir ) : void
dir string
return void