Browse Source
git-svn-id: svn://svn.sharpdevelop.net/sharpdevelop/trunk@169 1ccf3a8d-04fe-1044-b7c0-cef0b8235c61shortcuts
15 changed files with 368 additions and 669 deletions
@ -0,0 +1 @@ |
|||||||
|
copy ..\..\..\..\src\AddIns\Misc\SubversionAddIn\RequiredLibraries\ms* . |
||||||
@ -1,154 +0,0 @@ |
|||||||
<Components version="1.0"> |
|
||||||
<System.Windows.Forms.UserControl> |
|
||||||
<Name value="XmlUserControl1" /> |
|
||||||
<DockPadding value="" /> |
|
||||||
<ClientSize value="{Width=608, Height=472}" /> |
|
||||||
<Controls> |
|
||||||
<System.Windows.Forms.Panel> |
|
||||||
<Name value="panel2" /> |
|
||||||
<Location value="{X=0,Y=203}" /> |
|
||||||
<Size value="{Width=608, Height=269}" /> |
|
||||||
<DockPadding value="" /> |
|
||||||
<TabIndex value="2" /> |
|
||||||
<Dock value="Fill" /> |
|
||||||
<Controls> |
|
||||||
<System.Windows.Forms.Label> |
|
||||||
<Name value="contentLabel" /> |
|
||||||
<Text value="&Content:" /> |
|
||||||
<TextAlign value="BottomLeft" /> |
|
||||||
<Anchor value="Top, Left, Right" /> |
|
||||||
<TabIndex value="1" /> |
|
||||||
<Size value="{Width=592, Height=16}" /> |
|
||||||
<Location value="{X=8,Y=8}" /> |
|
||||||
</System.Windows.Forms.Label> |
|
||||||
<System.Windows.Forms.RichTextBox> |
|
||||||
<Name value="contentRichTextBox" /> |
|
||||||
<Anchor value="Top, Bottom, Left, Right" /> |
|
||||||
<ReadOnly value="True" /> |
|
||||||
<Size value="{Width=592, Height=236}" /> |
|
||||||
<Location value="{X=8,Y=24}" /> |
|
||||||
<Text value="" /> |
|
||||||
<TabIndex value="0" /> |
|
||||||
<WordWrap value="False" /> |
|
||||||
</System.Windows.Forms.RichTextBox> |
|
||||||
</Controls> |
|
||||||
</System.Windows.Forms.Panel> |
|
||||||
<System.Windows.Forms.Splitter> |
|
||||||
<Name value="splitter1" /> |
|
||||||
<TabIndex value="1" /> |
|
||||||
<Size value="{Width=608, Height=3}" /> |
|
||||||
<Location value="{X=0,Y=200}" /> |
|
||||||
<Dock value="Top" /> |
|
||||||
</System.Windows.Forms.Splitter> |
|
||||||
<System.Windows.Forms.Panel> |
|
||||||
<Name value="panel1" /> |
|
||||||
<Location value="{X=0,Y=0}" /> |
|
||||||
<Size value="{Width=608, Height=200}" /> |
|
||||||
<DockPadding value="" /> |
|
||||||
<TabIndex value="0" /> |
|
||||||
<Dock value="Top" /> |
|
||||||
<Controls> |
|
||||||
<System.Windows.Forms.Label> |
|
||||||
<Name value="label2" /> |
|
||||||
<Text value="&Revision history:" /> |
|
||||||
<TextAlign value="BottomLeft" /> |
|
||||||
<Anchor value="Top, Left, Right" /> |
|
||||||
<TabIndex value="1" /> |
|
||||||
<Size value="{Width=592, Height=16}" /> |
|
||||||
<Location value="{X=8,Y=8}" /> |
|
||||||
</System.Windows.Forms.Label> |
|
||||||
<System.Windows.Forms.ListView> |
|
||||||
<Name value="revisionListView" /> |
|
||||||
<GridLines value="True" /> |
|
||||||
<MultiSelect value="False" /> |
|
||||||
<Anchor value="Top, Bottom, Left, Right" /> |
|
||||||
<TabIndex value="0" /> |
|
||||||
<View value="Details" /> |
|
||||||
<FullRowSelect value="True" /> |
|
||||||
<Location value="{X=8,Y=24}" /> |
|
||||||
<Size value="{Width=592, Height=168}" /> |
|
||||||
<HideSelection value="False" /> |
|
||||||
<Columns> |
|
||||||
<System.Windows.Forms.ColumnHeader> |
|
||||||
<Name value="columnHeader1" /> |
|
||||||
<Text value="Revision" /> |
|
||||||
</System.Windows.Forms.ColumnHeader> |
|
||||||
<System.Windows.Forms.ColumnHeader> |
|
||||||
<Width value="150" /> |
|
||||||
<Name value="columnHeader2" /> |
|
||||||
<Text value="Date" /> |
|
||||||
</System.Windows.Forms.ColumnHeader> |
|
||||||
<System.Windows.Forms.ColumnHeader> |
|
||||||
<Width value="150" /> |
|
||||||
<Name value="columnHeader3" /> |
|
||||||
<Text value="Author" /> |
|
||||||
</System.Windows.Forms.ColumnHeader> |
|
||||||
<System.Windows.Forms.ColumnHeader> |
|
||||||
<Width value="180" /> |
|
||||||
<Name value="columnHeader4" /> |
|
||||||
<Text value="Comment" /> |
|
||||||
</System.Windows.Forms.ColumnHeader> |
|
||||||
</Columns> |
|
||||||
</System.Windows.Forms.ListView> |
|
||||||
</Controls> |
|
||||||
</System.Windows.Forms.Panel> |
|
||||||
</Controls> |
|
||||||
</System.Windows.Forms.UserControl> |
|
||||||
<System.Windows.Forms.ColumnHeader> |
|
||||||
<Width value="150" /> |
|
||||||
<Name value="columnHeader3" /> |
|
||||||
<Text value="Author" /> |
|
||||||
</System.Windows.Forms.ColumnHeader> |
|
||||||
<System.Windows.Forms.ColumnHeader> |
|
||||||
<Width value="150" /> |
|
||||||
<Name value="columnHeader2" /> |
|
||||||
<Text value="Date" /> |
|
||||||
</System.Windows.Forms.ColumnHeader> |
|
||||||
<System.Windows.Forms.ColumnHeader> |
|
||||||
<Name value="columnHeader1" /> |
|
||||||
<Text value="Revision" /> |
|
||||||
</System.Windows.Forms.ColumnHeader> |
|
||||||
<System.Windows.Forms.ColumnHeader> |
|
||||||
<Name value="columnHeader7" /> |
|
||||||
<Text value="Revision" /> |
|
||||||
</System.Windows.Forms.ColumnHeader> |
|
||||||
<System.Windows.Forms.ColumnHeader> |
|
||||||
<Width value="150" /> |
|
||||||
<Name value="columnHeader6" /> |
|
||||||
<Text value="Date" /> |
|
||||||
</System.Windows.Forms.ColumnHeader> |
|
||||||
<System.Windows.Forms.ColumnHeader> |
|
||||||
<Width value="150" /> |
|
||||||
<Name value="columnHeader5" /> |
|
||||||
<Text value="Date" /> |
|
||||||
</System.Windows.Forms.ColumnHeader> |
|
||||||
<System.Windows.Forms.ColumnHeader> |
|
||||||
<Width value="180" /> |
|
||||||
<Name value="columnHeader4" /> |
|
||||||
<Text value="Comment" /> |
|
||||||
</System.Windows.Forms.ColumnHeader> |
|
||||||
<System.Windows.Forms.ColumnHeader> |
|
||||||
<Width value="180" /> |
|
||||||
<Name value="columnHeader8" /> |
|
||||||
<Text value="Comment" /> |
|
||||||
</System.Windows.Forms.ColumnHeader> |
|
||||||
<System.Windows.Forms.ColumnHeader> |
|
||||||
<Width value="150" /> |
|
||||||
<Name value="columnHeader9" /> |
|
||||||
<Text value="Author" /> |
|
||||||
</System.Windows.Forms.ColumnHeader> |
|
||||||
<System.Windows.Forms.ColumnHeader> |
|
||||||
<Width value="180" /> |
|
||||||
<Name value="columnHeader12" /> |
|
||||||
<Text value="Comment" /> |
|
||||||
</System.Windows.Forms.ColumnHeader> |
|
||||||
<System.Windows.Forms.ColumnHeader> |
|
||||||
<Width value="150" /> |
|
||||||
<Name value="columnHeader10" /> |
|
||||||
<Text value="Author" /> |
|
||||||
</System.Windows.Forms.ColumnHeader> |
|
||||||
<System.Windows.Forms.ColumnHeader> |
|
||||||
<Name value="columnHeader11" /> |
|
||||||
<Text value="Revision" /> |
|
||||||
</System.Windows.Forms.ColumnHeader> |
|
||||||
</Components> |
|
||||||
@ -1,154 +1,112 @@ |
|||||||
<Components version="1.0"> |
<Components version="1.0"> |
||||||
<System.Windows.Forms.UserControl> |
<System.Windows.Forms.UserControl> |
||||||
<Name value="XmlUserControl1" /> |
<Name value="XmlUserControl1" /> |
||||||
<DockPadding value="" /> |
|
||||||
<ClientSize value="{Width=608, Height=472}" /> |
<ClientSize value="{Width=608, Height=472}" /> |
||||||
<Controls> |
<Controls> |
||||||
<System.Windows.Forms.Panel> |
|
||||||
<Name value="panel2" /> |
|
||||||
<Location value="{X=0,Y=203}" /> |
|
||||||
<Size value="{Width=608, Height=269}" /> |
|
||||||
<DockPadding value="" /> |
|
||||||
<TabIndex value="3" /> |
|
||||||
<Dock value="Fill" /> |
|
||||||
<Controls> |
|
||||||
<System.Windows.Forms.Label> |
|
||||||
<Name value="commentLabel" /> |
|
||||||
<Text value="&Comment:" /> |
|
||||||
<TextAlign value="BottomLeft" /> |
|
||||||
<Anchor value="Top, Left, Right" /> |
|
||||||
<TabIndex value="4" /> |
|
||||||
<Size value="{Width=592, Height=16}" /> |
|
||||||
<Location value="{X=8,Y=8}" /> |
|
||||||
</System.Windows.Forms.Label> |
|
||||||
<System.Windows.Forms.RichTextBox> |
|
||||||
<Name value="commentRichTextBox" /> |
|
||||||
<Anchor value="Top, Bottom, Left, Right" /> |
|
||||||
<ReadOnly value="True" /> |
|
||||||
<Size value="{Width=592, Height=236}" /> |
|
||||||
<Location value="{X=8,Y=24}" /> |
|
||||||
<Text value="" /> |
|
||||||
<TabIndex value="5" /> |
|
||||||
<WordWrap value="False" /> |
|
||||||
</System.Windows.Forms.RichTextBox> |
|
||||||
</Controls> |
|
||||||
</System.Windows.Forms.Panel> |
|
||||||
<System.Windows.Forms.Splitter> |
|
||||||
<Name value="splitter1" /> |
|
||||||
<TabIndex value="1" /> |
|
||||||
<Size value="{Width=608, Height=3}" /> |
|
||||||
<Location value="{X=0,Y=200}" /> |
|
||||||
<Dock value="Top" /> |
|
||||||
</System.Windows.Forms.Splitter> |
|
||||||
<System.Windows.Forms.Panel> |
<System.Windows.Forms.Panel> |
||||||
<Name value="panel1" /> |
<Name value="panel1" /> |
||||||
<Location value="{X=0,Y=0}" /> |
<Location value="{X=0,Y=0}" /> |
||||||
<Size value="{Width=608, Height=200}" /> |
<Size value="{Width=608, Height=196}" /> |
||||||
<DockPadding value="" /> |
|
||||||
<TabIndex value="0" /> |
<TabIndex value="0" /> |
||||||
<Dock value="Top" /> |
<Dock value="Fill" /> |
||||||
<Controls> |
<Controls> |
||||||
<System.Windows.Forms.Label> |
<System.Windows.Forms.Label> |
||||||
<Name value="label2" /> |
<Name value="label2" /> |
||||||
|
<Location value="{X=8,Y=0}" /> |
||||||
<Text value="&Revision history:" /> |
<Text value="&Revision history:" /> |
||||||
<TextAlign value="BottomLeft" /> |
<TextAlign value="BottomLeft" /> |
||||||
<Anchor value="Top, Left, Right" /> |
|
||||||
<TabIndex value="1" /> |
|
||||||
<Size value="{Width=592, Height=16}" /> |
<Size value="{Width=592, Height=16}" /> |
||||||
<Location value="{X=8,Y=8}" /> |
<TabIndex value="1" /> |
||||||
|
<Anchor value="Top, Left, Right" /> |
||||||
</System.Windows.Forms.Label> |
</System.Windows.Forms.Label> |
||||||
<System.Windows.Forms.ListView> |
<System.Windows.Forms.ListView> |
||||||
<Name value="revisionListView" /> |
<Name value="revisionListView" /> |
||||||
|
<Size value="{Width=592, Height=171}" /> |
||||||
|
<TabIndex value="2" /> |
||||||
|
<FullRowSelect value="True" /> |
||||||
<GridLines value="True" /> |
<GridLines value="True" /> |
||||||
<MultiSelect value="False" /> |
<MultiSelect value="False" /> |
||||||
<Anchor value="Top, Bottom, Left, Right" /> |
|
||||||
<TabIndex value="2" /> |
|
||||||
<View value="Details" /> |
<View value="Details" /> |
||||||
<FullRowSelect value="True" /> |
|
||||||
<Location value="{X=8,Y=24}" /> |
|
||||||
<Size value="{Width=592, Height=168}" /> |
|
||||||
<HideSelection value="False" /> |
<HideSelection value="False" /> |
||||||
|
<Location value="{X=8,Y=19}" /> |
||||||
|
<Anchor value="Top, Bottom, Left, Right" /> |
||||||
<Columns> |
<Columns> |
||||||
<System.Windows.Forms.ColumnHeader> |
<System.Windows.Forms.ColumnHeader> |
||||||
<Name value="columnHeader1" /> |
<Name value="columnHeader1" /> |
||||||
<Text value="Revision" /> |
<Text value="Revision" /> |
||||||
</System.Windows.Forms.ColumnHeader> |
</System.Windows.Forms.ColumnHeader> |
||||||
<System.Windows.Forms.ColumnHeader> |
<System.Windows.Forms.ColumnHeader> |
||||||
<Width value="150" /> |
|
||||||
<Name value="columnHeader2" /> |
<Name value="columnHeader2" /> |
||||||
<Text value="Date" /> |
<Width value="100" /> |
||||||
|
<Text value="Author" /> |
||||||
</System.Windows.Forms.ColumnHeader> |
</System.Windows.Forms.ColumnHeader> |
||||||
<System.Windows.Forms.ColumnHeader> |
<System.Windows.Forms.ColumnHeader> |
||||||
<Width value="150" /> |
<Width value="120" /> |
||||||
|
<Text value="Date" /> |
||||||
<Name value="columnHeader3" /> |
<Name value="columnHeader3" /> |
||||||
<Text value="Author" /> |
|
||||||
</System.Windows.Forms.ColumnHeader> |
</System.Windows.Forms.ColumnHeader> |
||||||
<System.Windows.Forms.ColumnHeader> |
<System.Windows.Forms.ColumnHeader> |
||||||
<Width value="180" /> |
<Width value="400" /> |
||||||
<Name value="columnHeader4" /> |
|
||||||
<Text value="Comment" /> |
<Text value="Comment" /> |
||||||
|
<Name value="columnHeader4" /> |
||||||
</System.Windows.Forms.ColumnHeader> |
</System.Windows.Forms.ColumnHeader> |
||||||
</Columns> |
</Columns> |
||||||
</System.Windows.Forms.ListView> |
</System.Windows.Forms.ListView> |
||||||
</Controls> |
</Controls> |
||||||
</System.Windows.Forms.Panel> |
</System.Windows.Forms.Panel> |
||||||
</Controls> |
<System.Windows.Forms.Splitter> |
||||||
</System.Windows.Forms.UserControl> |
<Name value="splitter1" /> |
||||||
<System.Windows.Forms.ColumnHeader> |
<Location value="{X=0,Y=196}" /> |
||||||
<Width value="150" /> |
<Size value="{Width=608, Height=3}" /> |
||||||
<Name value="columnHeader3" /> |
<TabIndex value="4" /> |
||||||
<Text value="Author" /> |
<Dock value="Bottom" /> |
||||||
</System.Windows.Forms.ColumnHeader> |
</System.Windows.Forms.Splitter> |
||||||
<System.Windows.Forms.ColumnHeader> |
<System.Windows.Forms.Panel> |
||||||
<Width value="150" /> |
<Name value="panel2" /> |
||||||
<Name value="columnHeader2" /> |
<Location value="{X=8,Y=205}" /> |
||||||
<Text value="Date" /> |
<Size value="{Width=499, Height=240}" /> |
||||||
</System.Windows.Forms.ColumnHeader> |
<Dock value="Bottom" /> |
||||||
<System.Windows.Forms.ColumnHeader> |
<TabIndex value="3" /> |
||||||
<Name value="columnHeader1" /> |
<Controls> |
||||||
<Text value="Revision" /> |
<System.Windows.Forms.ListView> |
||||||
</System.Windows.Forms.ColumnHeader> |
<Name value="changesListView" /> |
||||||
<System.Windows.Forms.ColumnHeader> |
<Size value="{Width=483, Height=115}" /> |
||||||
<Name value="columnHeader7" /> |
<TabIndex value="6" /> |
||||||
<Text value="Revision" /> |
<View value="Details" /> |
||||||
</System.Windows.Forms.ColumnHeader> |
<Location value="{X=8,Y=114}" /> |
||||||
<System.Windows.Forms.ColumnHeader> |
<Anchor value="Top, Bottom, Left, Right" /> |
||||||
<Width value="150" /> |
<FullRowSelect value="true" /> |
||||||
<Name value="columnHeader6" /> |
<Columns> |
||||||
<Text value="Date" /> |
|
||||||
</System.Windows.Forms.ColumnHeader> |
|
||||||
<System.Windows.Forms.ColumnHeader> |
|
||||||
<Width value="150" /> |
|
||||||
<Name value="columnHeader5" /> |
|
||||||
<Text value="Date" /> |
|
||||||
</System.Windows.Forms.ColumnHeader> |
|
||||||
<System.Windows.Forms.ColumnHeader> |
|
||||||
<Width value="180" /> |
|
||||||
<Name value="columnHeader4" /> |
|
||||||
<Text value="Comment" /> |
|
||||||
</System.Windows.Forms.ColumnHeader> |
|
||||||
<System.Windows.Forms.ColumnHeader> |
|
||||||
<Width value="180" /> |
|
||||||
<Name value="columnHeader8" /> |
|
||||||
<Text value="Comment" /> |
|
||||||
</System.Windows.Forms.ColumnHeader> |
|
||||||
<System.Windows.Forms.ColumnHeader> |
|
||||||
<Width value="150" /> |
|
||||||
<Name value="columnHeader9" /> |
|
||||||
<Text value="Author" /> |
|
||||||
</System.Windows.Forms.ColumnHeader> |
|
||||||
<System.Windows.Forms.ColumnHeader> |
<System.Windows.Forms.ColumnHeader> |
||||||
<Width value="180" /> |
<Width value="65" /> |
||||||
<Name value="columnHeader12" /> |
<Text value="Action" /> |
||||||
<Text value="Comment" /> |
<Name value="actionColumnHeader" /> |
||||||
</System.Windows.Forms.ColumnHeader> |
</System.Windows.Forms.ColumnHeader> |
||||||
<System.Windows.Forms.ColumnHeader> |
<System.Windows.Forms.ColumnHeader> |
||||||
<Width value="150" /> |
<Name value="pathColumnHeader" /> |
||||||
<Name value="columnHeader10" /> |
<Width value="70" /> |
||||||
<Text value="Author" /> |
<Text value="Path" /> |
||||||
</System.Windows.Forms.ColumnHeader> |
</System.Windows.Forms.ColumnHeader> |
||||||
<System.Windows.Forms.ColumnHeader> |
<System.Windows.Forms.ColumnHeader> |
||||||
<Name value="columnHeader11" /> |
<Name value="copyFromColumnHeader" /> |
||||||
<Text value="Revision" /> |
<Width value="70" /> |
||||||
|
<Text value="Copy from" /> |
||||||
</System.Windows.Forms.ColumnHeader> |
</System.Windows.Forms.ColumnHeader> |
||||||
|
</Columns> |
||||||
|
</System.Windows.Forms.ListView> |
||||||
|
<System.Windows.Forms.RichTextBox> |
||||||
|
<Name value="commentRichTextBox" /> |
||||||
|
<TabIndex value="5" /> |
||||||
|
<BackColor value="Color [Window]" /> |
||||||
|
<WordWrap value="False" /> |
||||||
|
<Text value="" /> |
||||||
|
<Anchor value="Top, Left, Right" /> |
||||||
|
<Location value="{X=8,Y=6}" /> |
||||||
|
<Size value="{Width=483, Height=102}" /> |
||||||
|
<ReadOnly value="True" /> |
||||||
|
</System.Windows.Forms.RichTextBox> |
||||||
|
</Controls> |
||||||
|
</System.Windows.Forms.Panel> |
||||||
|
</Controls> |
||||||
|
</System.Windows.Forms.UserControl> |
||||||
</Components> |
</Components> |
||||||
@ -1,86 +0,0 @@ |
|||||||
/* |
|
||||||
* Created by SharpDevelop. |
|
||||||
* User: Omnibrain |
|
||||||
* Date: 22.11.2004 |
|
||||||
* Time: 11:08 |
|
||||||
* |
|
||||||
* To change this template use Tools | Options | Coding | Edit Standard Headers. |
|
||||||
*/ |
|
||||||
|
|
||||||
using System; |
|
||||||
using System.Drawing; |
|
||||||
using System.Text; |
|
||||||
using System.Threading; |
|
||||||
using System.IO; |
|
||||||
using System.Windows.Forms; |
|
||||||
using System.Reflection; |
|
||||||
|
|
||||||
using ICSharpCode.Core; |
|
||||||
using ICSharpCode.SharpDevelop; |
|
||||||
using ICSharpCode.SharpDevelop.Gui; |
|
||||||
using ICSharpCode.SharpDevelop.Gui.XmlForms; |
|
||||||
using NSvn.Common; |
|
||||||
using NSvn.Core; |
|
||||||
|
|
||||||
namespace ICSharpCode.Svn |
|
||||||
{ |
|
||||||
/// <summary>
|
|
||||||
/// Description of InfoPanel.
|
|
||||||
/// </summary>
|
|
||||||
public class ContentPanel : BaseSharpDevelopUserControl |
|
||||||
{ |
|
||||||
IViewContent viewContent; |
|
||||||
|
|
||||||
public ContentPanel(IViewContent viewContent) |
|
||||||
{ |
|
||||||
SetupFromXmlStream(GetType().Assembly.GetManifestResourceStream("ICSharpCode.Svn.Resources.ContentPanel.xfrm")); |
|
||||||
this.viewContent = viewContent; |
|
||||||
((ListView)ControlDictionary["revisionListView"]).SelectedIndexChanged += new EventHandler(RevisionListViewSelectionChanged); |
|
||||||
ControlDictionary["contentRichTextBox"].Enabled = false; |
|
||||||
ControlDictionary["contentRichTextBox"].Font = new Font("Courier New", 10); |
|
||||||
ControlDictionary["splitter1"].Height = 3; |
|
||||||
} |
|
||||||
|
|
||||||
LogMessage logMessage; |
|
||||||
|
|
||||||
void DoCat() |
|
||||||
{ |
|
||||||
MemoryStream memStream = new MemoryStream(); |
|
||||||
try { |
|
||||||
SvnClient.Instance.Client.Cat(memStream, |
|
||||||
Path.GetFullPath(viewContent.FileName), |
|
||||||
logMessage.Revision == 1 ? Revision.Head : Revision.FromNumber(logMessage.Revision)); |
|
||||||
|
|
||||||
ControlDictionary["contentRichTextBox"].Enabled = true; |
|
||||||
ControlDictionary["contentRichTextBox"].Text = Encoding.Default.GetString(memStream.ToArray()); |
|
||||||
ControlDictionary["contentLabel"].Text = "Content of revision " + logMessage.Revision + ":"; |
|
||||||
} finally { |
|
||||||
memStream.Close(); |
|
||||||
} |
|
||||||
} |
|
||||||
|
|
||||||
void RevisionListViewSelectionChanged(object sender, EventArgs e) |
|
||||||
{ |
|
||||||
if (((ListView)ControlDictionary["revisionListView"]).SelectedItems.Count == 0) { |
|
||||||
ControlDictionary["contentRichTextBox"].Text = ""; |
|
||||||
ControlDictionary["contentRichTextBox"].Enabled = false; |
|
||||||
ControlDictionary["contentLabel"].Text = "Content:"; |
|
||||||
return; |
|
||||||
} |
|
||||||
logMessage = ((ListView)ControlDictionary["revisionListView"]).SelectedItems[0].Tag as LogMessage; |
|
||||||
SvnClient.Instance.OperationStart("Cat", new ThreadStart(DoCat)); |
|
||||||
} |
|
||||||
|
|
||||||
public void AddLogMessage(LogMessage logMessage) |
|
||||||
{ |
|
||||||
ListViewItem newItem = new ListViewItem(new string[] { |
|
||||||
logMessage.Revision.ToString(), |
|
||||||
logMessage.Date.ToString(), |
|
||||||
logMessage.Author, |
|
||||||
logMessage.Message |
|
||||||
}); |
|
||||||
newItem.Tag = logMessage; |
|
||||||
((ListView)ControlDictionary["revisionListView"]).Items.Add(newItem); |
|
||||||
} |
|
||||||
} |
|
||||||
} |
|
||||||
Loading…
Reference in new issue