C# 클래스 TFSExp.ExtendedMerge.MergeWIControl

This class inherites from UserControl.
파일 보기 프로젝트 열기: mirik123/tfsprod 1 사용 예제들

공개 프로퍼티들

프로퍼티 타입 설명
SuppressEvents bool

Private Properties

프로퍼티 타입 설명
DoMerge void
EditServerPath void
InitializeComponent void
button1_Click void
ctxMenuChangesets_ItemClicked void
listView1_ColumnClick void
listView1_MouseClick void
listView1_SelectedIndexChanged void
toolAutoCheckin_Click void
toolDChangeset_Click void
toolDClipboard_Click void
toolDServerPath_Click void
toolDWorkItem_Click void
toolEditServerPath_Click void
toolGetRelBranches_Click void
toolLinkWIs_Click void
toolMAlwaysAcceptMine_Click void
toolMConservative_Click void
toolMDiscard_Click void
toolMNormal_Click void
toolMerge_Click void
toolRefresh_Click void
toolResolve_Click void

공개 메소드들

메소드 설명
AddNewGridItem ( string wiID, string chID, string chDate, string chOwner, string sourcePath, string chchanges, string chcomment, ListViewItemTag tag ) : ListViewItem

Creates the new ListView item.

ClearGrids ( ) : void

Deletes all ListView items.

Initialize ( ) : void

Initializes this instance.

MergeWIControl ( ) : System

Initializes a new instance of the MergeWIControl class.

SetMergeTypes ( ) : void

Updates "Merge Types" column in Listview, see MergeFactory.SetMergeTypes.

SortItems ( ) : void

Sorts the ListView items using custom comparer MyListViewSorter.

UpdateRelatedBranchesCombo ( ) : void

보호된 메소드들

메소드 설명
Dispose ( bool disposing ) : void

Clean up any resources being used.

비공개 메소드들

메소드 설명
DoMerge ( ) : void

Does the main merge action, see MergeFactory.DoMerge.

EditServerPath ( ListViewItemTag itm ) : void

Updates ListView column "Server Path".

InitializeComponent ( ) : void

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

button1_Click ( object sender, EventArgs e ) : void

Handles the Click event of the button1 control. Shows folder browser dialog on version control server, see MergeFactory.ShowServerFolderDlg.

ctxMenuChangesets_ItemClicked ( object sender, ToolStripItemClickedEventArgs e ) : void

Handles the ItemClicked event of the ctxMenuChangesets context menu. viewChangesetDetailesToolStripMenuItem - the same as toolDChangeset_Click viewWorkItemDetailesToolStripMenuItem - the same as toolDWorkItem_Click copyToClipboardToolStripMenuItem - the same as toolDClipboard_Click showServerPathToolStripMenuItem - the same as toolDServerPath_Click editSourcePathToolStripMenuItem - the same as toolEditServerPath_Click

listView1_ColumnClick ( object sender, ColumnClickEventArgs e ) : void

Handles the ColumnClick event of the listView1 control. Sorts ListView items with custom comparer MyListViewSorter

listView1_MouseClick ( object sender, MouseEventArgs e ) : void

Handles the MouseClick event of the listView1 control. Shows ListView context menu, see ctxMenuChangesets_ItemClicked.

listView1_SelectedIndexChanged ( object sender, EventArgs e ) : void

Handles the SelectedIndexChanged event of the listView1 control. Updates ClickedItem object to currently selected ListView item.

toolAutoCheckin_Click ( object sender, EventArgs e ) : void
toolDChangeset_Click ( object sender, EventArgs e ) : void

Handles the Click event of the toolDChangeset control. Shows Changeset details dialog, see MergeFactory.ShowChangesetDetailsDlg

toolDClipboard_Click ( object sender, EventArgs e ) : void

Handles the Click event of the toolDClipboard control. Copies selected ListView item data contained in Tag object to Clipboard.

toolDServerPath_Click ( object sender, EventArgs e ) : void

Handles the Click event of the toolDServerPath control. Navigates to the selected server path in Source Control Explorer, see MergeFactory.SelectVersionControlServerPath

toolDWorkItem_Click ( object sender, EventArgs e ) : void

Handles the Click event of the toolDWorkItem control. Shows WorkItem details dialog, see MergeFactory.ShowWorkItemDetailsDlg

toolEditServerPath_Click ( object sender, EventArgs e ) : void

Handles the Click event of the toolEditServerPath control. Updates ListView column "Server Path" for selected items, see EditServerPath

toolGetRelBranches_Click ( object sender, EventArgs e ) : void

Handles the Click event of the toolGetRelBranches control. Shows MessageBox with branches that have child/parent relationship for source and target paths.

toolLinkWIs_Click ( object sender, EventArgs e ) : void

Handles the Click event of the toolLinkWIs control. Sets the MergeFactory.LinkWorkItems.

toolMAlwaysAcceptMine_Click ( object sender, EventArgs e ) : void

Handles the Click event of the toolMAlwaysAcceptMine control. Sets MergeFactory.mergeOptions to MergeOptionsEx.AlwaysAcceptMine.

toolMConservative_Click ( object sender, EventArgs e ) : void

Handles the Click event of the toolMConservative control. Sets MergeFactory.mergeOptions to MergeOptionsEx.Conservative.

toolMDiscard_Click ( object sender, EventArgs e ) : void

Handles the Click event of the toolMDiscard control. Sets MergeFactory.mergeOptions to MergeOptionsEx.NoMerge.

toolMNormal_Click ( object sender, EventArgs e ) : void

Handles the Click event of the toolMNormal control. Sets MergeFactory.mergeOptions to MergeOptionsEx.None.

toolMerge_Click ( object sender, EventArgs e ) : void

Handles the Click event of the toolMerge control. Does the main merge operation, see DoMerge

toolRefresh_Click ( object sender, EventArgs e ) : void

Handles the Click event of the toolRefresh control, see SetMergeTypes.

toolResolve_Click ( object sender, EventArgs e ) : void

Handles the Click event of the toolResolve control. Shows ResolveConflicts dialog, see MergeFactory.ShowResolveConflictsDlg

메소드 상세

AddNewGridItem() 공개 메소드

Creates the new ListView item.
public AddNewGridItem ( string wiID, string chID, string chDate, string chOwner, string sourcePath, string chchanges, string chcomment, ListViewItemTag tag ) : ListViewItem
wiID string The Work Item ID.
chID string The Chengeset ID.
chDate string The Changeset check-in date.
chOwner string The Changeset creator.
sourcePath string The Changeset root server path.
chchanges string The Changes types comma separated list.
chcomment string The Changeset comment.
tag ListViewItemTag The ListView item Tag object, see .
리턴 ListViewItem

ClearGrids() 공개 메소드

Deletes all ListView items.
public ClearGrids ( ) : void
리턴 void

Dispose() 보호된 메소드

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

Initialize() 공개 메소드

Initializes this instance.
public Initialize ( ) : void
리턴 void

MergeWIControl() 공개 메소드

Initializes a new instance of the MergeWIControl class.
public MergeWIControl ( ) : System
리턴 System

SetMergeTypes() 공개 메소드

Updates "Merge Types" column in Listview, see MergeFactory.SetMergeTypes.
public SetMergeTypes ( ) : void
리턴 void

SortItems() 공개 메소드

Sorts the ListView items using custom comparer MyListViewSorter.
public SortItems ( ) : void
리턴 void

UpdateRelatedBranchesCombo() 공개 메소드

public UpdateRelatedBranchesCombo ( ) : void
리턴 void

프로퍼티 상세

SuppressEvents 공개적으로 프로퍼티

Suppresses the ListView events when its items are changed by the inner code functions.
public bool SuppressEvents
리턴 bool