Browse Source
Fixed control size in HistoryViewDisplayBinding/InfoPanel. git-svn-id: svn://svn.sharpdevelop.net/sharpdevelop/trunk@2735 1ccf3a8d-04fe-1044-b7c0-cef0b8235c61shortcuts
8 changed files with 372 additions and 151 deletions
@ -1,112 +0,0 @@
@@ -1,112 +0,0 @@
|
||||
<Components version="1.0"> |
||||
<System.Windows.Forms.UserControl> |
||||
<Name value="XmlUserControl1" /> |
||||
<ClientSize value="{Width=608, Height=472}" /> |
||||
<Controls> |
||||
<System.Windows.Forms.Panel> |
||||
<Name value="panel1" /> |
||||
<Location value="{X=0,Y=0}" /> |
||||
<Size value="{Width=608, Height=196}" /> |
||||
<TabIndex value="0" /> |
||||
<Dock value="Fill" /> |
||||
<Controls> |
||||
<System.Windows.Forms.Label> |
||||
<Name value="label2" /> |
||||
<Location value="{X=8,Y=0}" /> |
||||
<Text value="&Revision history:" /> |
||||
<TextAlign value="BottomLeft" /> |
||||
<Size value="{Width=592, Height=16}" /> |
||||
<TabIndex value="1" /> |
||||
<Anchor value="Top, Left, Right" /> |
||||
</System.Windows.Forms.Label> |
||||
<System.Windows.Forms.ListView> |
||||
<Name value="revisionListView" /> |
||||
<Size value="{Width=592, Height=171}" /> |
||||
<TabIndex value="2" /> |
||||
<FullRowSelect value="True" /> |
||||
<GridLines value="True" /> |
||||
<MultiSelect value="False" /> |
||||
<View value="Details" /> |
||||
<HideSelection value="False" /> |
||||
<Location value="{X=8,Y=19}" /> |
||||
<Anchor value="Top, Bottom, Left, Right" /> |
||||
<Columns> |
||||
<System.Windows.Forms.ColumnHeader> |
||||
<Name value="columnHeader1" /> |
||||
<Text value="Revision" /> |
||||
</System.Windows.Forms.ColumnHeader> |
||||
<System.Windows.Forms.ColumnHeader> |
||||
<Name value="columnHeader2" /> |
||||
<Width value="100" /> |
||||
<Text value="Author" /> |
||||
</System.Windows.Forms.ColumnHeader> |
||||
<System.Windows.Forms.ColumnHeader> |
||||
<Width value="120" /> |
||||
<Text value="Date" /> |
||||
<Name value="columnHeader3" /> |
||||
</System.Windows.Forms.ColumnHeader> |
||||
<System.Windows.Forms.ColumnHeader> |
||||
<Width value="400" /> |
||||
<Text value="Comment" /> |
||||
<Name value="columnHeader4" /> |
||||
</System.Windows.Forms.ColumnHeader> |
||||
</Columns> |
||||
</System.Windows.Forms.ListView> |
||||
</Controls> |
||||
</System.Windows.Forms.Panel> |
||||
<System.Windows.Forms.Splitter> |
||||
<Name value="splitter1" /> |
||||
<Location value="{X=0,Y=196}" /> |
||||
<Size value="{Width=608, Height=3}" /> |
||||
<TabIndex value="4" /> |
||||
<Dock value="Bottom" /> |
||||
</System.Windows.Forms.Splitter> |
||||
<System.Windows.Forms.Panel> |
||||
<Name value="panel2" /> |
||||
<Location value="{X=8,Y=205}" /> |
||||
<Size value="{Width=499, Height=240}" /> |
||||
<Dock value="Bottom" /> |
||||
<TabIndex value="3" /> |
||||
<Controls> |
||||
<System.Windows.Forms.ListView> |
||||
<Name value="changesListView" /> |
||||
<Size value="{Width=483, Height=115}" /> |
||||
<TabIndex value="6" /> |
||||
<View value="Details" /> |
||||
<Location value="{X=8,Y=114}" /> |
||||
<Anchor value="Top, Bottom, Left, Right" /> |
||||
<FullRowSelect value="true" /> |
||||
<Columns> |
||||
<System.Windows.Forms.ColumnHeader> |
||||
<Width value="65" /> |
||||
<Text value="Action" /> |
||||
<Name value="actionColumnHeader" /> |
||||
</System.Windows.Forms.ColumnHeader> |
||||
<System.Windows.Forms.ColumnHeader> |
||||
<Name value="pathColumnHeader" /> |
||||
<Width value="70" /> |
||||
<Text value="Path" /> |
||||
</System.Windows.Forms.ColumnHeader> |
||||
<System.Windows.Forms.ColumnHeader> |
||||
<Name value="copyFromColumnHeader" /> |
||||
<Width value="70" /> |
||||
<Text value="Copy from" /> |
||||
</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> |
||||
@ -0,0 +1,192 @@
@@ -0,0 +1,192 @@
|
||||
// <file>
|
||||
// <copyright see="prj:///doc/copyright.txt"/>
|
||||
// <license see="prj:///doc/license.txt"/>
|
||||
// <author name="Daniel Grunwald"/>
|
||||
// <version>$Revision$</version>
|
||||
// </file>
|
||||
namespace ICSharpCode.Svn |
||||
{ |
||||
partial class InfoPanel |
||||
{ |
||||
/// <summary>
|
||||
/// Designer variable used to keep track of non-visual components.
|
||||
/// </summary>
|
||||
private System.ComponentModel.IContainer components = null; |
||||
|
||||
/// <summary>
|
||||
/// Disposes resources used by the control.
|
||||
/// </summary>
|
||||
/// <param name="disposing">true if managed resources should be disposed; otherwise, false.</param>
|
||||
protected override void Dispose(bool disposing) |
||||
{ |
||||
if (disposing) { |
||||
if (components != null) { |
||||
components.Dispose(); |
||||
} |
||||
} |
||||
base.Dispose(disposing); |
||||
} |
||||
|
||||
/// <summary>
|
||||
/// This method is required for Windows Forms designer support.
|
||||
/// Do not change the method contents inside the source code editor. The Forms designer might
|
||||
/// not be able to load this method if it was changed manually.
|
||||
/// </summary>
|
||||
private void InitializeComponent() |
||||
{ |
||||
this.label1 = new System.Windows.Forms.Label(); |
||||
this.revisionListView = new System.Windows.Forms.ListView(); |
||||
this.columnHeader1 = new System.Windows.Forms.ColumnHeader(); |
||||
this.columnHeader2 = new System.Windows.Forms.ColumnHeader(); |
||||
this.columnHeader3 = new System.Windows.Forms.ColumnHeader(); |
||||
this.columnHeader4 = new System.Windows.Forms.ColumnHeader(); |
||||
this.splitContainer1 = new System.Windows.Forms.SplitContainer(); |
||||
this.changesListView = new System.Windows.Forms.ListView(); |
||||
this.columnHeader5 = new System.Windows.Forms.ColumnHeader(); |
||||
this.columnHeader6 = new System.Windows.Forms.ColumnHeader(); |
||||
this.columnHeader7 = new System.Windows.Forms.ColumnHeader(); |
||||
this.commentRichTextBox = new System.Windows.Forms.RichTextBox(); |
||||
this.splitContainer1.Panel1.SuspendLayout(); |
||||
this.splitContainer1.Panel2.SuspendLayout(); |
||||
this.splitContainer1.SuspendLayout(); |
||||
this.SuspendLayout(); |
||||
//
|
||||
// label1
|
||||
//
|
||||
this.label1.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left) |
||||
| System.Windows.Forms.AnchorStyles.Right))); |
||||
this.label1.Location = new System.Drawing.Point(3, 0); |
||||
this.label1.Name = "label1"; |
||||
this.label1.Size = new System.Drawing.Size(709, 23); |
||||
this.label1.TabIndex = 0; |
||||
this.label1.Text = "&Revision history:"; |
||||
//
|
||||
// revisionListView
|
||||
//
|
||||
this.revisionListView.Anchor = ((System.Windows.Forms.AnchorStyles)((((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Bottom) |
||||
| System.Windows.Forms.AnchorStyles.Left) |
||||
| System.Windows.Forms.AnchorStyles.Right))); |
||||
this.revisionListView.Columns.AddRange(new System.Windows.Forms.ColumnHeader[] { |
||||
this.columnHeader1, |
||||
this.columnHeader2, |
||||
this.columnHeader3, |
||||
this.columnHeader4}); |
||||
this.revisionListView.FullRowSelect = true; |
||||
this.revisionListView.GridLines = true; |
||||
this.revisionListView.HideSelection = false; |
||||
this.revisionListView.Location = new System.Drawing.Point(3, 26); |
||||
this.revisionListView.MultiSelect = false; |
||||
this.revisionListView.Name = "revisionListView"; |
||||
this.revisionListView.Size = new System.Drawing.Size(709, 238); |
||||
this.revisionListView.TabIndex = 1; |
||||
this.revisionListView.UseCompatibleStateImageBehavior = false; |
||||
this.revisionListView.View = System.Windows.Forms.View.Details; |
||||
//
|
||||
// columnHeader1
|
||||
//
|
||||
this.columnHeader1.Text = "Revision"; |
||||
//
|
||||
// columnHeader2
|
||||
//
|
||||
this.columnHeader2.Text = "Author"; |
||||
this.columnHeader2.Width = 100; |
||||
//
|
||||
// columnHeader3
|
||||
//
|
||||
this.columnHeader3.Text = "Date"; |
||||
this.columnHeader3.Width = 120; |
||||
//
|
||||
// columnHeader4
|
||||
//
|
||||
this.columnHeader4.Text = "Comment"; |
||||
this.columnHeader4.Width = 400; |
||||
//
|
||||
// splitContainer1
|
||||
//
|
||||
this.splitContainer1.Dock = System.Windows.Forms.DockStyle.Fill; |
||||
this.splitContainer1.Location = new System.Drawing.Point(0, 0); |
||||
this.splitContainer1.Name = "splitContainer1"; |
||||
this.splitContainer1.Orientation = System.Windows.Forms.Orientation.Horizontal; |
||||
//
|
||||
// splitContainer1.Panel1
|
||||
//
|
||||
this.splitContainer1.Panel1.Controls.Add(this.label1); |
||||
this.splitContainer1.Panel1.Controls.Add(this.revisionListView); |
||||
this.splitContainer1.Panel1MinSize = 75; |
||||
//
|
||||
// splitContainer1.Panel2
|
||||
//
|
||||
this.splitContainer1.Panel2.Controls.Add(this.changesListView); |
||||
this.splitContainer1.Panel2.Controls.Add(this.commentRichTextBox); |
||||
this.splitContainer1.Panel2MinSize = 150; |
||||
this.splitContainer1.Size = new System.Drawing.Size(715, 542); |
||||
this.splitContainer1.SplitterDistance = 267; |
||||
this.splitContainer1.TabIndex = 2; |
||||
//
|
||||
// changesListView
|
||||
//
|
||||
this.changesListView.Anchor = ((System.Windows.Forms.AnchorStyles)((((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Bottom) |
||||
| System.Windows.Forms.AnchorStyles.Left) |
||||
| System.Windows.Forms.AnchorStyles.Right))); |
||||
this.changesListView.Columns.AddRange(new System.Windows.Forms.ColumnHeader[] { |
||||
this.columnHeader5, |
||||
this.columnHeader6, |
||||
this.columnHeader7}); |
||||
this.changesListView.FullRowSelect = true; |
||||
this.changesListView.Location = new System.Drawing.Point(3, 112); |
||||
this.changesListView.Name = "changesListView"; |
||||
this.changesListView.Size = new System.Drawing.Size(709, 156); |
||||
this.changesListView.TabIndex = 1; |
||||
this.changesListView.UseCompatibleStateImageBehavior = false; |
||||
this.changesListView.View = System.Windows.Forms.View.Details; |
||||
//
|
||||
// columnHeader5
|
||||
//
|
||||
this.columnHeader5.Text = "Action"; |
||||
//
|
||||
// columnHeader6
|
||||
//
|
||||
this.columnHeader6.Text = "Path"; |
||||
//
|
||||
// columnHeader7
|
||||
//
|
||||
this.columnHeader7.Text = "Copy from"; |
||||
//
|
||||
// commentRichTextBox
|
||||
//
|
||||
this.commentRichTextBox.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left) |
||||
| System.Windows.Forms.AnchorStyles.Right))); |
||||
this.commentRichTextBox.BackColor = System.Drawing.SystemColors.Window; |
||||
this.commentRichTextBox.Location = new System.Drawing.Point(3, 3); |
||||
this.commentRichTextBox.Name = "commentRichTextBox"; |
||||
this.commentRichTextBox.ReadOnly = true; |
||||
this.commentRichTextBox.Size = new System.Drawing.Size(709, 103); |
||||
this.commentRichTextBox.TabIndex = 0; |
||||
this.commentRichTextBox.Text = ""; |
||||
//
|
||||
// InfoPanel
|
||||
//
|
||||
this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F); |
||||
this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font; |
||||
this.Controls.Add(this.splitContainer1); |
||||
this.Name = "InfoPanel"; |
||||
this.Size = new System.Drawing.Size(715, 542); |
||||
this.splitContainer1.Panel1.ResumeLayout(false); |
||||
this.splitContainer1.Panel2.ResumeLayout(false); |
||||
this.splitContainer1.ResumeLayout(false); |
||||
this.ResumeLayout(false); |
||||
} |
||||
private System.Windows.Forms.ColumnHeader columnHeader7; |
||||
private System.Windows.Forms.ColumnHeader columnHeader6; |
||||
private System.Windows.Forms.ColumnHeader columnHeader5; |
||||
private System.Windows.Forms.ListView changesListView; |
||||
private System.Windows.Forms.RichTextBox commentRichTextBox; |
||||
private System.Windows.Forms.ColumnHeader columnHeader4; |
||||
private System.Windows.Forms.ColumnHeader columnHeader3; |
||||
private System.Windows.Forms.ColumnHeader columnHeader2; |
||||
private System.Windows.Forms.ColumnHeader columnHeader1; |
||||
private System.Windows.Forms.SplitContainer splitContainer1; |
||||
private System.Windows.Forms.ListView revisionListView; |
||||
private System.Windows.Forms.Label label1; |
||||
} |
||||
} |
||||
@ -0,0 +1,120 @@
@@ -0,0 +1,120 @@
|
||||
<?xml version="1.0" encoding="utf-8"?> |
||||
<root> |
||||
<!-- |
||||
Microsoft ResX Schema |
||||
|
||||
Version 2.0 |
||||
|
||||
The primary goals of this format is to allow a simple XML format |
||||
that is mostly human readable. The generation and parsing of the |
||||
various data types are done through the TypeConverter classes |
||||
associated with the data types. |
||||
|
||||
Example: |
||||
|
||||
... ado.net/XML headers & schema ... |
||||
<resheader name="resmimetype">text/microsoft-resx</resheader> |
||||
<resheader name="version">2.0</resheader> |
||||
<resheader name="reader">System.Resources.ResXResourceReader, System.Windows.Forms, ...</resheader> |
||||
<resheader name="writer">System.Resources.ResXResourceWriter, System.Windows.Forms, ...</resheader> |
||||
<data name="Name1"><value>this is my long string</value><comment>this is a comment</comment></data> |
||||
<data name="Color1" type="System.Drawing.Color, System.Drawing">Blue</data> |
||||
<data name="Bitmap1" mimetype="application/x-microsoft.net.object.binary.base64"> |
||||
<value>[base64 mime encoded serialized .NET Framework object]</value> |
||||
</data> |
||||
<data name="Icon1" type="System.Drawing.Icon, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64"> |
||||
<value>[base64 mime encoded string representing a byte array form of the .NET Framework object]</value> |
||||
<comment>This is a comment</comment> |
||||
</data> |
||||
|
||||
There are any number of "resheader" rows that contain simple |
||||
name/value pairs. |
||||
|
||||
Each data row contains a name, and value. The row also contains a |
||||
type or mimetype. Type corresponds to a .NET class that support |
||||
text/value conversion through the TypeConverter architecture. |
||||
Classes that don't support this are serialized and stored with the |
||||
mimetype set. |
||||
|
||||
The mimetype is used for serialized objects, and tells the |
||||
ResXResourceReader how to depersist the object. This is currently not |
||||
extensible. For a given mimetype the value must be set accordingly: |
||||
|
||||
Note - application/x-microsoft.net.object.binary.base64 is the format |
||||
that the ResXResourceWriter will generate, however the reader can |
||||
read any of the formats listed below. |
||||
|
||||
mimetype: application/x-microsoft.net.object.binary.base64 |
||||
value : The object must be serialized with |
||||
: System.Runtime.Serialization.Formatters.Binary.BinaryFormatter |
||||
: and then encoded with base64 encoding. |
||||
|
||||
mimetype: application/x-microsoft.net.object.soap.base64 |
||||
value : The object must be serialized with |
||||
: System.Runtime.Serialization.Formatters.Soap.SoapFormatter |
||||
: and then encoded with base64 encoding. |
||||
|
||||
mimetype: application/x-microsoft.net.object.bytearray.base64 |
||||
value : The object must be serialized into a byte array |
||||
: using a System.ComponentModel.TypeConverter |
||||
: and then encoded with base64 encoding. |
||||
--> |
||||
<xsd:schema id="root" xmlns="" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:msdata="urn:schemas-microsoft-com:xml-msdata"> |
||||
<xsd:import namespace="http://www.w3.org/XML/1998/namespace" /> |
||||
<xsd:element name="root" msdata:IsDataSet="true"> |
||||
<xsd:complexType> |
||||
<xsd:choice maxOccurs="unbounded"> |
||||
<xsd:element name="metadata"> |
||||
<xsd:complexType> |
||||
<xsd:sequence> |
||||
<xsd:element name="value" type="xsd:string" minOccurs="0" /> |
||||
</xsd:sequence> |
||||
<xsd:attribute name="name" use="required" type="xsd:string" /> |
||||
<xsd:attribute name="type" type="xsd:string" /> |
||||
<xsd:attribute name="mimetype" type="xsd:string" /> |
||||
<xsd:attribute ref="xml:space" /> |
||||
</xsd:complexType> |
||||
</xsd:element> |
||||
<xsd:element name="assembly"> |
||||
<xsd:complexType> |
||||
<xsd:attribute name="alias" type="xsd:string" /> |
||||
<xsd:attribute name="name" type="xsd:string" /> |
||||
</xsd:complexType> |
||||
</xsd:element> |
||||
<xsd:element name="data"> |
||||
<xsd:complexType> |
||||
<xsd:sequence> |
||||
<xsd:element name="value" type="xsd:string" minOccurs="0" msdata:Ordinal="1" /> |
||||
<xsd:element name="comment" type="xsd:string" minOccurs="0" msdata:Ordinal="2" /> |
||||
</xsd:sequence> |
||||
<xsd:attribute name="name" type="xsd:string" use="required" msdata:Ordinal="1" /> |
||||
<xsd:attribute name="type" type="xsd:string" msdata:Ordinal="3" /> |
||||
<xsd:attribute name="mimetype" type="xsd:string" msdata:Ordinal="4" /> |
||||
<xsd:attribute ref="xml:space" /> |
||||
</xsd:complexType> |
||||
</xsd:element> |
||||
<xsd:element name="resheader"> |
||||
<xsd:complexType> |
||||
<xsd:sequence> |
||||
<xsd:element name="value" type="xsd:string" minOccurs="0" msdata:Ordinal="1" /> |
||||
</xsd:sequence> |
||||
<xsd:attribute name="name" type="xsd:string" use="required" /> |
||||
</xsd:complexType> |
||||
</xsd:element> |
||||
</xsd:choice> |
||||
</xsd:complexType> |
||||
</xsd:element> |
||||
</xsd:schema> |
||||
<resheader name="resmimetype"> |
||||
<value>text/microsoft-resx</value> |
||||
</resheader> |
||||
<resheader name="version"> |
||||
<value>2.0</value> |
||||
</resheader> |
||||
<resheader name="reader"> |
||||
<value>System.Resources.ResXResourceReader, System.Windows.Forms, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value> |
||||
</resheader> |
||||
<resheader name="writer"> |
||||
<value>System.Resources.ResXResourceWriter, System.Windows.Forms, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value> |
||||
</resheader> |
||||
</root> |
||||
Loading…
Reference in new issue