C# Class GitUI.CommandsDialogs.FormCheckoutBranch

Exibir arquivo Open project: gitextensions/gitextensions Class Usage Examples

Private Properties

Property Type Description
BranchTypeChanged void
Branches_SelectedIndexChanged void
FinishFormLayout void
FormCheckoutBranch System
FormCheckoutBranch System
FormCheckoutBranch_Activated void
GetContainsRevisionBranches IList
GetLocalBranchRef IGitRef
GetLocalBranches IEnumerable
GetRemoteBranchRef IGitRef
GetRemoteBranches IEnumerable
Initialize void
InitializeComponent void
IsThereUncommittedChanges bool
LocalBranchCheckedChanged void
LocalBranchExists bool
OkClick DialogResult
OkClick void
RemoteBranchCheckedChanged void
rbCreateBranchWithCustomName_CheckedChanged void
rbReset_CheckedChanged void
txtCustomBranchName_Leave void

Public Methods

Method Description
DoDefaultActionOrShow ( IWin32Window owner ) : DialogResult
FormCheckoutBranch ( GitUICommands aCommands, string branch, bool remote ) : System
FormCheckoutBranch ( GitUICommands aCommands, string branch, bool remote, string containRevisons ) : System

Protected Methods

Method Description
Dispose ( bool disposing ) : void

Clean up any resources being used.

Private Methods

Method Description
BranchTypeChanged ( ) : void
Branches_SelectedIndexChanged ( object sender, EventArgs e ) : void
FinishFormLayout ( ) : void

This functions applies docking properties of controls in a way that is compatible with both Windows and Linux: 1. Remember container size. 2. Turn AutoSize off. 3. Apply docking properties of child controls. This helps to avoid containers size issues on Linux.

FormCheckoutBranch ( ) : System
FormCheckoutBranch ( GitUICommands aCommands ) : System
FormCheckoutBranch_Activated ( object sender, EventArgs e ) : void
GetContainsRevisionBranches ( ) : IList
GetLocalBranchRef ( string name ) : IGitRef
GetLocalBranches ( ) : IEnumerable
GetRemoteBranchRef ( string name ) : IGitRef
GetRemoteBranches ( ) : IEnumerable
Initialize ( ) : void
InitializeComponent ( ) : void

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

IsThereUncommittedChanges ( ) : bool
LocalBranchCheckedChanged ( object sender, EventArgs e ) : void
LocalBranchExists ( string name ) : bool
OkClick ( ) : DialogResult
OkClick ( object sender, EventArgs e ) : void
RemoteBranchCheckedChanged ( object sender, EventArgs e ) : void
rbCreateBranchWithCustomName_CheckedChanged ( object sender, EventArgs e ) : void
rbReset_CheckedChanged ( object sender, EventArgs e ) : void
txtCustomBranchName_Leave ( object sender, EventArgs e ) : void

Method Details

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

DoDefaultActionOrShow() public method

public DoDefaultActionOrShow ( IWin32Window owner ) : DialogResult
owner IWin32Window
return DialogResult

FormCheckoutBranch() public method

public FormCheckoutBranch ( GitUICommands aCommands, string branch, bool remote ) : System
aCommands GitUICommands
branch string
remote bool
return System

FormCheckoutBranch() public method

public FormCheckoutBranch ( GitUICommands aCommands, string branch, bool remote, string containRevisons ) : System
aCommands GitUICommands
branch string
remote bool
containRevisons string
return System