C# 클래스 GitForce.FormShowChangelist

Shows a changelist or stash with the ability to "walk" the chain. Returns "DialogResult.No" to load a previous change Returns "DialogResult.Yes" to load a next change Otherwise returns "DialogResult.Cancel"
상속: System.Windows.Forms.Form
파일 보기 프로젝트 열기: gdevic/GitForce 1 사용 예제들

공개 메소드들

메소드 설명
DriveChangelistFromListViewEx ( ListViewEx &listRev ) : void

Describe (view) selected changelist and drive up/down back propagation through the host list view

FormShowChangelist ( ) : System

Constructor, set the same font as for commit text box.

LoadChangelist ( string sha ) : void

Given a Sha string, loads that commit into the form.

비공개 메소드들

메소드 설명
ComboShowSelectedIndexChanged ( object sender, EventArgs e ) : void

User changed the show mode (format) 'This' Tag contains the SHA of a current commit

FormShowChangelistFormClosing ( object sender, FormClosingEventArgs e ) : void

On form closing, save the dialog location and size

MenuItemCopyClick ( object sender, EventArgs e ) : void

Copy selected text onto the clipboard

MenuItemDiffClick ( object sender, EventArgs e ) : void

Diff selected file versus one of several options. The root menu class' Tag contains the name of the file to diff The individual menu item class Tag contains the diff options

MenuItemRevClick ( object sender, EventArgs e ) : void

Show the revision history dialog for a selected file. This dialog is _not_ modal, so user can view multiple files.

TextChangelistKeyDown ( object sender, KeyEventArgs e ) : void

Handle key down event so we can do the copy (Ctrl + C)

TextChangelistLinkClicked ( object sender, System.Windows.Forms.LinkClickedEventArgs e ) : void

User left-clicked on a file link within the rich text box

메소드 상세

DriveChangelistFromListViewEx() 공개 정적인 메소드

Describe (view) selected changelist and drive up/down back propagation through the host list view
public static DriveChangelistFromListViewEx ( ListViewEx &listRev ) : void
listRev ListViewEx
리턴 void

FormShowChangelist() 공개 메소드

Constructor, set the same font as for commit text box.
public FormShowChangelist ( ) : System
리턴 System

LoadChangelist() 공개 메소드

Given a Sha string, loads that commit into the form.
public LoadChangelist ( string sha ) : void
sha string
리턴 void