C# Class Commander.MainForm

Inheritance: IClipboardActions
Afficher le fichier Open project: SneWs/Commander Class Usage Examples

Méthodes publiques

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

Méthodes protégées

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

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

public AddTab ( TabPage tab ) : void
tab TabPage
Résultat void

AppendOutput() public méthode

public AppendOutput ( string output, bool newLine, bool addPrompt ) : void
output string
newLine bool
addPrompt bool
Résultat void

ClearOutput() public méthode

public ClearOutput ( ) : void
Résultat void

CloseAllTabs() public méthode

public CloseAllTabs ( ) : void
Résultat void

CloseInstance() public méthode

public CloseInstance ( ) : void
Résultat void

CloseTab() public méthode

public CloseTab ( TabPage tab ) : void
tab TabPage
Résultat void

CloseTab() public méthode

public CloseTab ( int index ) : void
index int
Résultat void

CloseTab() public méthode

public CloseTab ( int index, bool exitOnLastTabClosed ) : void
index int
exitOnLastTabClosed bool
Résultat void

Copy() public méthode

public Copy ( ) : void
Résultat void

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

MainForm() public méthode

public MainForm ( ) : System
Résultat System

OnClientSizeChanged() protected méthode

protected OnClientSizeChanged ( EventArgs e ) : void
e EventArgs
Résultat void

OnFormClosing() protected méthode

protected OnFormClosing ( FormClosingEventArgs e ) : void
e FormClosingEventArgs
Résultat void

OnKeyUp() protected méthode

protected OnKeyUp ( KeyEventArgs e ) : void
e KeyEventArgs
Résultat void

OnMouseWheel() protected méthode

protected OnMouseWheel ( MouseEventArgs e ) : void
e MouseEventArgs
Résultat void

OnShown() protected méthode

protected OnShown ( EventArgs e ) : void
e EventArgs
Résultat void

Paste() public méthode

public Paste ( ) : void
Résultat void

Paste() public méthode

public Paste ( string content ) : void
content string
Résultat void

SetDirectory() public méthode

public SetDirectory ( string dir ) : void
dir string
Résultat void