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
Показать файл Открыть проект Примеры использования класса

Открытые методы

Метод Описание
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