11 changed files with 700 additions and 330 deletions
@ -0,0 +1,263 @@
@@ -0,0 +1,263 @@
|
||||
// Copyright (c) AlphaSierraPapa for the SharpDevelop Team (for details please see \doc\copyright.txt)
|
||||
// This code is distributed under the GNU LGPL (for details please see \doc\license.txt)
|
||||
|
||||
namespace ICSharpCode.FormsDesigner.Gui |
||||
{ |
||||
partial class ConfigureSideBarDialog |
||||
{ |
||||
/// <summary>
|
||||
/// Designer variable used to keep track of non-visual components.
|
||||
/// </summary>
|
||||
private System.ComponentModel.IContainer components = null; |
||||
|
||||
/// <summary>
|
||||
/// Disposes resources used by the form.
|
||||
/// </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.panel2 = new System.Windows.Forms.Panel(); |
||||
this.addComponentsButton = new System.Windows.Forms.Button(); |
||||
this.removeComponentsButton = new System.Windows.Forms.Button(); |
||||
this.renameCategoryButton = new System.Windows.Forms.Button(); |
||||
this.columnHeader3 = new System.Windows.Forms.ColumnHeader(); |
||||
this.splitter = new System.Windows.Forms.Splitter(); |
||||
this.columnHeader2 = new System.Windows.Forms.ColumnHeader(); |
||||
this.categoryListView = new System.Windows.Forms.ListView(); |
||||
this.columnHeader5 = new System.Windows.Forms.ColumnHeader(); |
||||
this.cancelButton = new System.Windows.Forms.Button(); |
||||
this.columnHeader = new System.Windows.Forms.ColumnHeader(); |
||||
this.okButton = new System.Windows.Forms.Button(); |
||||
this.removeCategoryButton = new System.Windows.Forms.Button(); |
||||
this.componentListView = new System.Windows.Forms.ListView(); |
||||
this.newCategoryButton = new System.Windows.Forms.Button(); |
||||
this.panel = new System.Windows.Forms.Panel(); |
||||
this.panel2.SuspendLayout(); |
||||
this.panel.SuspendLayout(); |
||||
this.SuspendLayout(); |
||||
//
|
||||
// panel2
|
||||
//
|
||||
this.panel2.Controls.Add(this.addComponentsButton); |
||||
this.panel2.Controls.Add(this.removeComponentsButton); |
||||
this.panel2.Dock = System.Windows.Forms.DockStyle.Bottom; |
||||
this.panel2.Location = new System.Drawing.Point(166, 315); |
||||
this.panel2.Name = "panel2"; |
||||
this.panel2.Size = new System.Drawing.Size(420, 40); |
||||
this.panel2.TabIndex = 3; |
||||
//
|
||||
// addComponentsButton
|
||||
//
|
||||
this.addComponentsButton.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Right))); |
||||
this.addComponentsButton.Location = new System.Drawing.Point(70, 8); |
||||
this.addComponentsButton.Name = "addComponentsButton"; |
||||
this.addComponentsButton.Size = new System.Drawing.Size(166, 23); |
||||
this.addComponentsButton.TabIndex = 3; |
||||
this.addComponentsButton.Text = "${res:ICSharpCode.SharpDevelop.FormDesigner.Gui.ConfigureSidebarDialog.AddCompone" + |
||||
"ntsButton}"; |
||||
this.addComponentsButton.Click += new System.EventHandler(this.AddComponentsButtonClick); |
||||
//
|
||||
// removeComponentsButton
|
||||
//
|
||||
this.removeComponentsButton.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Right))); |
||||
this.removeComponentsButton.Location = new System.Drawing.Point(246, 8); |
||||
this.removeComponentsButton.Name = "removeComponentsButton"; |
||||
this.removeComponentsButton.Size = new System.Drawing.Size(166, 23); |
||||
this.removeComponentsButton.TabIndex = 4; |
||||
this.removeComponentsButton.Text = "${res:ICSharpCode.SharpDevelop.FormDesigner.Gui.ConfigureSidebarDialog.RemoveComp" + |
||||
"onentsButton}"; |
||||
this.removeComponentsButton.Click += new System.EventHandler(this.RemoveComponentsButtonClick); |
||||
//
|
||||
// renameCategoryButton
|
||||
//
|
||||
this.renameCategoryButton.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Left))); |
||||
this.renameCategoryButton.Location = new System.Drawing.Point(200, 371); |
||||
this.renameCategoryButton.Name = "renameCategoryButton"; |
||||
this.renameCategoryButton.Size = new System.Drawing.Size(90, 23); |
||||
this.renameCategoryButton.TabIndex = 9; |
||||
this.renameCategoryButton.Text = "${res:ICSharpCode.SharpDevelop.FormDesigner.Gui.ConfigureSidebarDialog.RenameButt" + |
||||
"on}"; |
||||
this.renameCategoryButton.Click += new System.EventHandler(this.RenameCategoryButtonClick); |
||||
//
|
||||
// columnHeader3
|
||||
//
|
||||
this.columnHeader3.Name = "columnHeader3"; |
||||
this.columnHeader3.Text = "${res:ICSharpCode.SharpDevelop.FormDesigner.Gui.ConfigureSidebarDialog.Assembly}"; |
||||
this.columnHeader3.Width = 148; |
||||
//
|
||||
// splitter
|
||||
//
|
||||
this.splitter.Location = new System.Drawing.Point(160, 0); |
||||
this.splitter.Name = "splitter"; |
||||
this.splitter.Size = new System.Drawing.Size(6, 355); |
||||
this.splitter.TabIndex = 1; |
||||
this.splitter.TabStop = false; |
||||
//
|
||||
// columnHeader2
|
||||
//
|
||||
this.columnHeader2.Name = "columnHeader2"; |
||||
this.columnHeader2.Text = "${res:ICSharpCode.SharpDevelop.FormDesigner.Gui.ConfigureSidebarDialog.Namespace}" + |
||||
""; |
||||
this.columnHeader2.Width = 145; |
||||
//
|
||||
// categoryListView
|
||||
//
|
||||
this.categoryListView.CheckBoxes = true; |
||||
this.categoryListView.Columns.AddRange(new System.Windows.Forms.ColumnHeader[] { |
||||
this.columnHeader5}); |
||||
this.categoryListView.Dock = System.Windows.Forms.DockStyle.Left; |
||||
this.categoryListView.FullRowSelect = true; |
||||
this.categoryListView.HideSelection = false; |
||||
this.categoryListView.Location = new System.Drawing.Point(0, 0); |
||||
this.categoryListView.MultiSelect = false; |
||||
this.categoryListView.Name = "categoryListView"; |
||||
this.categoryListView.Size = new System.Drawing.Size(160, 355); |
||||
this.categoryListView.TabIndex = 0; |
||||
this.categoryListView.UseCompatibleStateImageBehavior = false; |
||||
this.categoryListView.View = System.Windows.Forms.View.Details; |
||||
this.categoryListView.SelectedIndexChanged += new System.EventHandler(this.CategoryListViewSelectedIndexChanged); |
||||
//
|
||||
// columnHeader5
|
||||
//
|
||||
this.columnHeader5.Name = "columnHeader5"; |
||||
this.columnHeader5.Text = "${res:ICSharpCode.SharpDevelop.FormDesigner.Gui.ConfigureSidebarDialog.Categories" + |
||||
"}"; |
||||
this.columnHeader5.Width = 156; |
||||
//
|
||||
// cancelButton
|
||||
//
|
||||
this.cancelButton.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Right))); |
||||
this.cancelButton.DialogResult = System.Windows.Forms.DialogResult.Cancel; |
||||
this.cancelButton.Location = new System.Drawing.Point(519, 371); |
||||
this.cancelButton.Name = "cancelButton"; |
||||
this.cancelButton.Size = new System.Drawing.Size(75, 23); |
||||
this.cancelButton.TabIndex = 11; |
||||
this.cancelButton.Text = "${res:Global.CancelButtonText}"; |
||||
//
|
||||
// columnHeader
|
||||
//
|
||||
this.columnHeader.Name = "columnHeader"; |
||||
this.columnHeader.Text = "${res:Global.Name}"; |
||||
this.columnHeader.Width = 123; |
||||
//
|
||||
// okButton
|
||||
//
|
||||
this.okButton.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Right))); |
||||
this.okButton.DialogResult = System.Windows.Forms.DialogResult.OK; |
||||
this.okButton.Location = new System.Drawing.Point(439, 371); |
||||
this.okButton.Name = "okButton"; |
||||
this.okButton.Size = new System.Drawing.Size(75, 23); |
||||
this.okButton.TabIndex = 10; |
||||
this.okButton.Text = "${res:Global.OKButtonText}"; |
||||
this.okButton.Click += new System.EventHandler(this.OkButtonClick); |
||||
//
|
||||
// removeCategoryButton
|
||||
//
|
||||
this.removeCategoryButton.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Left))); |
||||
this.removeCategoryButton.Location = new System.Drawing.Point(104, 371); |
||||
this.removeCategoryButton.Name = "removeCategoryButton"; |
||||
this.removeCategoryButton.Size = new System.Drawing.Size(90, 23); |
||||
this.removeCategoryButton.TabIndex = 8; |
||||
this.removeCategoryButton.Text = "${res:Global.RemoveButtonText}"; |
||||
this.removeCategoryButton.Click += new System.EventHandler(this.RemoveCategoryButtonClick); |
||||
//
|
||||
// componentListView
|
||||
//
|
||||
this.componentListView.CheckBoxes = true; |
||||
this.componentListView.Columns.AddRange(new System.Windows.Forms.ColumnHeader[] { |
||||
this.columnHeader, |
||||
this.columnHeader2, |
||||
this.columnHeader3}); |
||||
this.componentListView.Dock = System.Windows.Forms.DockStyle.Fill; |
||||
this.componentListView.FullRowSelect = true; |
||||
this.componentListView.GridLines = true; |
||||
this.componentListView.HideSelection = false; |
||||
this.componentListView.Location = new System.Drawing.Point(166, 0); |
||||
this.componentListView.Name = "componentListView"; |
||||
this.componentListView.Size = new System.Drawing.Size(420, 315); |
||||
this.componentListView.TabIndex = 2; |
||||
this.componentListView.UseCompatibleStateImageBehavior = false; |
||||
this.componentListView.View = System.Windows.Forms.View.Details; |
||||
this.componentListView.SelectedIndexChanged += new System.EventHandler(this.ComponentListViewSelectedIndexChanged); |
||||
//
|
||||
// newCategoryButton
|
||||
//
|
||||
this.newCategoryButton.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Left))); |
||||
this.newCategoryButton.Location = new System.Drawing.Point(8, 371); |
||||
this.newCategoryButton.Name = "newCategoryButton"; |
||||
this.newCategoryButton.Size = new System.Drawing.Size(90, 23); |
||||
this.newCategoryButton.TabIndex = 7; |
||||
this.newCategoryButton.Text = "${res:ICSharpCode.SharpDevelop.FormDesigner.Gui.ConfigureSidebarDialog.NewButton}" + |
||||
""; |
||||
this.newCategoryButton.Click += new System.EventHandler(this.NewCategoryButtonClick); |
||||
//
|
||||
// panel
|
||||
//
|
||||
this.panel.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.panel.Controls.Add(this.componentListView); |
||||
this.panel.Controls.Add(this.panel2); |
||||
this.panel.Controls.Add(this.splitter); |
||||
this.panel.Controls.Add(this.categoryListView); |
||||
this.panel.Location = new System.Drawing.Point(8, 8); |
||||
this.panel.Name = "panel"; |
||||
this.panel.Size = new System.Drawing.Size(586, 355); |
||||
this.panel.TabIndex = 6; |
||||
//
|
||||
// ConfigureSideBarDialog
|
||||
//
|
||||
this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F); |
||||
this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font; |
||||
this.ClientSize = new System.Drawing.Size(602, 402); |
||||
this.Controls.Add(this.renameCategoryButton); |
||||
this.Controls.Add(this.cancelButton); |
||||
this.Controls.Add(this.okButton); |
||||
this.Controls.Add(this.removeCategoryButton); |
||||
this.Controls.Add(this.newCategoryButton); |
||||
this.Controls.Add(this.panel); |
||||
this.FormBorderStyle = System.Windows.Forms.FormBorderStyle.FixedDialog; |
||||
this.MaximizeBox = false; |
||||
this.MinimizeBox = false; |
||||
this.Name = "ConfigureSideBarDialog"; |
||||
this.ShowInTaskbar = false; |
||||
this.StartPosition = System.Windows.Forms.FormStartPosition.CenterScreen; |
||||
this.Text = "${res:ICSharpCode.SharpDevelop.FormDesigner.Gui.ConfigureSidebarDialog.DialogName" + |
||||
"}"; |
||||
this.panel2.ResumeLayout(false); |
||||
this.panel.ResumeLayout(false); |
||||
this.ResumeLayout(false); |
||||
} |
||||
private System.Windows.Forms.Panel panel; |
||||
private System.Windows.Forms.Button newCategoryButton; |
||||
private System.Windows.Forms.ListView componentListView; |
||||
private System.Windows.Forms.Button removeCategoryButton; |
||||
private System.Windows.Forms.Button okButton; |
||||
private System.Windows.Forms.ColumnHeader columnHeader; |
||||
private System.Windows.Forms.Button cancelButton; |
||||
private System.Windows.Forms.ColumnHeader columnHeader5; |
||||
private System.Windows.Forms.ListView categoryListView; |
||||
private System.Windows.Forms.ColumnHeader columnHeader2; |
||||
private System.Windows.Forms.Splitter splitter; |
||||
private System.Windows.Forms.ColumnHeader columnHeader3; |
||||
private System.Windows.Forms.Button renameCategoryButton; |
||||
private System.Windows.Forms.Button removeComponentsButton; |
||||
private System.Windows.Forms.Button addComponentsButton; |
||||
private System.Windows.Forms.Panel panel2; |
||||
} |
||||
} |
@ -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=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value> |
||||
</resheader> |
||||
<resheader name="writer"> |
||||
<value>System.Resources.ResXResourceWriter, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value> |
||||
</resheader> |
||||
</root> |
@ -0,0 +1,102 @@
@@ -0,0 +1,102 @@
|
||||
// Copyright (c) AlphaSierraPapa for the SharpDevelop Team (for details please see \doc\copyright.txt)
|
||||
// This code is distributed under the GNU LGPL (for details please see \doc\license.txt)
|
||||
using System; |
||||
|
||||
namespace ICSharpCode.FormsDesigner.Gui |
||||
{ |
||||
partial class RenameCategoryDialog |
||||
{ |
||||
/// <summary>
|
||||
/// Designer variable used to keep track of non-visual components.
|
||||
/// </summary>
|
||||
private System.ComponentModel.IContainer components = null; |
||||
|
||||
/// <summary>
|
||||
/// Disposes resources used by the form.
|
||||
/// </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.cancelButton = new System.Windows.Forms.Button(); |
||||
this.okButton = new System.Windows.Forms.Button(); |
||||
this.categoryNameTextBox = new System.Windows.Forms.TextBox(); |
||||
this.label = new System.Windows.Forms.Label(); |
||||
this.SuspendLayout(); |
||||
//
|
||||
// cancelButton
|
||||
//
|
||||
this.cancelButton.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Right))); |
||||
this.cancelButton.DialogResult = System.Windows.Forms.DialogResult.Cancel; |
||||
this.cancelButton.Location = new System.Drawing.Point(211, 54); |
||||
this.cancelButton.Name = "cancelButton"; |
||||
this.cancelButton.Size = new System.Drawing.Size(75, 23); |
||||
this.cancelButton.TabIndex = 7; |
||||
this.cancelButton.Text = "${res:Global.CancelButtonText}"; |
||||
//
|
||||
// okButton
|
||||
//
|
||||
this.okButton.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Right))); |
||||
this.okButton.Location = new System.Drawing.Point(131, 54); |
||||
this.okButton.Name = "okButton"; |
||||
this.okButton.Size = new System.Drawing.Size(75, 23); |
||||
this.okButton.TabIndex = 6; |
||||
this.okButton.Text = "${res:Global.OKButtonText}"; |
||||
//
|
||||
// categoryNameTextBox
|
||||
//
|
||||
this.categoryNameTextBox.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left) |
||||
| System.Windows.Forms.AnchorStyles.Right))); |
||||
this.categoryNameTextBox.Location = new System.Drawing.Point(5, 23); |
||||
this.categoryNameTextBox.Name = "categoryNameTextBox"; |
||||
this.categoryNameTextBox.Size = new System.Drawing.Size(280, 20); |
||||
this.categoryNameTextBox.TabIndex = 5; |
||||
//
|
||||
// label
|
||||
//
|
||||
this.label.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left) |
||||
| System.Windows.Forms.AnchorStyles.Right))); |
||||
this.label.Location = new System.Drawing.Point(5, 7); |
||||
this.label.Name = "label"; |
||||
this.label.Size = new System.Drawing.Size(288, 16); |
||||
this.label.TabIndex = 4; |
||||
this.label.Text = "${res:ICSharpCode.SharpDevelop.FormDesigner.Gui.RenameCategoryDialog.CategoryName" + |
||||
"Label}"; |
||||
//
|
||||
// RenameCategoryDialog
|
||||
//
|
||||
this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F); |
||||
this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font; |
||||
this.ClientSize = new System.Drawing.Size(298, 85); |
||||
this.Controls.Add(this.cancelButton); |
||||
this.Controls.Add(this.okButton); |
||||
this.Controls.Add(this.categoryNameTextBox); |
||||
this.Controls.Add(this.label); |
||||
this.FormBorderStyle = System.Windows.Forms.FormBorderStyle.FixedDialog; |
||||
this.MaximizeBox = false; |
||||
this.MinimizeBox = false; |
||||
this.Name = "RenameCategoryDialog"; |
||||
this.StartPosition = System.Windows.Forms.FormStartPosition.CenterParent; |
||||
this.ResumeLayout(false); |
||||
this.PerformLayout(); |
||||
} |
||||
private System.Windows.Forms.Label label; |
||||
private System.Windows.Forms.TextBox categoryNameTextBox; |
||||
private System.Windows.Forms.Button okButton; |
||||
private System.Windows.Forms.Button cancelButton; |
||||
} |
||||
} |
@ -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=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value> |
||||
</resheader> |
||||
<resheader name="writer"> |
||||
<value>System.Resources.ResXResourceWriter, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value> |
||||
</resheader> |
||||
</root> |
@ -1,149 +0,0 @@
@@ -1,149 +0,0 @@
|
||||
<Components version="1.0"> |
||||
<System.Windows.Forms.Form> |
||||
<Name value="ConfigureSideBarDialog" /> |
||||
<ShowInTaskbar value="False" /> |
||||
<FormBorderStyle value="FixedDialog" /> |
||||
<StartPosition value="CenterScreen" /> |
||||
<ClientSize value="{Width=602, Height=402}" /> |
||||
<MinimizeBox value="False" /> |
||||
<DockPadding value="" /> |
||||
<Text value="${res:ICSharpCode.SharpDevelop.FormDesigner.Gui.ConfigureSidebarDialog.DialogName}" /> |
||||
<AcceptButton value="okButton [System.Windows.Forms.Button], Text: ${res:Global.OKButtonText}" /> |
||||
<CancelButton value="cancelButton [System.Windows.Forms.Button], Text: ${res:Global.CancelButtonText}" /> |
||||
<MaximizeBox value="False" /> |
||||
<Controls> |
||||
<System.Windows.Forms.Button> |
||||
<Name value="renameCategoryButton" /> |
||||
<Location value="{X=200,Y=371}" /> |
||||
<ClientSize value="{Width=90, Height=23}" /> |
||||
<Text value="${res:ICSharpCode.SharpDevelop.FormDesigner.Gui.ConfigureSidebarDialog.RenameButton}" /> |
||||
<Anchor value="Bottom, Left" /> |
||||
<TabIndex value="3" /> |
||||
</System.Windows.Forms.Button> |
||||
<System.Windows.Forms.Button> |
||||
<Name value="cancelButton" /> |
||||
<Location value="{X=519,Y=371}" /> |
||||
<ClientSize value="{Width=75, Height=23}" /> |
||||
<Text value="${res:Global.CancelButtonText}" /> |
||||
<Anchor value="Bottom, Right" /> |
||||
<TabIndex value="5" /> |
||||
<DialogResult value="Cancel" /> |
||||
</System.Windows.Forms.Button> |
||||
<System.Windows.Forms.Button> |
||||
<Name value="okButton" /> |
||||
<Location value="{X=439,Y=371}" /> |
||||
<ClientSize value="{Width=75, Height=23}" /> |
||||
<Text value="${res:Global.OKButtonText}" /> |
||||
<Anchor value="Bottom, Right" /> |
||||
<TabIndex value="4" /> |
||||
<DialogResult value="OK" /> |
||||
</System.Windows.Forms.Button> |
||||
<System.Windows.Forms.Button> |
||||
<Name value="removeCategoryButton" /> |
||||
<Location value="{X=104,Y=371}" /> |
||||
<ClientSize value="{Width=90, Height=23}" /> |
||||
<Text value="${res:Global.RemoveButtonText}" /> |
||||
<Anchor value="Bottom, Left" /> |
||||
<TabIndex value="2" /> |
||||
</System.Windows.Forms.Button> |
||||
<System.Windows.Forms.Button> |
||||
<Name value="newCategoryButton" /> |
||||
<Location value="{X=8,Y=371}" /> |
||||
<ClientSize value="{Width=90, Height=23}" /> |
||||
<Text value="${res:ICSharpCode.SharpDevelop.FormDesigner.Gui.ConfigureSidebarDialog.NewButton}" /> |
||||
<Anchor value="Bottom, Left" /> |
||||
<TabIndex value="1" /> |
||||
</System.Windows.Forms.Button> |
||||
<System.Windows.Forms.Panel> |
||||
<Name value="panel" /> |
||||
<Location value="{X=8,Y=8}" /> |
||||
<ClientSize value="{Width=586, Height=355}" /> |
||||
<DockPadding value="" /> |
||||
<Anchor value="Top, Bottom, Left, Right" /> |
||||
<TabIndex value="0" /> |
||||
<Controls> |
||||
<System.Windows.Forms.ListView> |
||||
<Name value="componentListView" /> |
||||
<GridLines value="True" /> |
||||
<Dock value="Fill" /> |
||||
<TabIndex value="2" /> |
||||
<View value="Details" /> |
||||
<FullRowSelect value="True" /> |
||||
<Location value="{X=166,Y=0}" /> |
||||
<ClientSize value="{Width=416, Height=311}" /> |
||||
<CheckBoxes value="True" /> |
||||
<HideSelection value="False" /> |
||||
<Columns> |
||||
<System.Windows.Forms.ColumnHeader> |
||||
<Width value="123" /> |
||||
<Name value="columnHeader" /> |
||||
<Text value="${res:Global.Name}" /> |
||||
</System.Windows.Forms.ColumnHeader> |
||||
<System.Windows.Forms.ColumnHeader> |
||||
<Width value="145" /> |
||||
<Name value="columnHeader2" /> |
||||
<Text value="${res:ICSharpCode.SharpDevelop.FormDesigner.Gui.ConfigureSidebarDialog.Namespace}" /> |
||||
</System.Windows.Forms.ColumnHeader> |
||||
<System.Windows.Forms.ColumnHeader> |
||||
<Width value="148" /> |
||||
<Name value="columnHeader3" /> |
||||
<Text value="${res:ICSharpCode.SharpDevelop.FormDesigner.Gui.ConfigureSidebarDialog.Assembly}" /> |
||||
</System.Windows.Forms.ColumnHeader> |
||||
</Columns> |
||||
</System.Windows.Forms.ListView> |
||||
<System.Windows.Forms.Panel> |
||||
<Name value="panel2" /> |
||||
<Location value="{X=166,Y=315}" /> |
||||
<ClientSize value="{Width=420, Height=40}" /> |
||||
<DockPadding value="" /> |
||||
<TabIndex value="3" /> |
||||
<Dock value="Bottom" /> |
||||
<Controls> |
||||
<System.Windows.Forms.Button> |
||||
<Name value="addComponentsButton" /> |
||||
<Location value="{X=70,Y=8}" /> |
||||
<ClientSize value="{Width=166, Height=23}" /> |
||||
<Text value="${res:ICSharpCode.SharpDevelop.FormDesigner.Gui.ConfigureSidebarDialog.AddComponentsButton}" /> |
||||
<Anchor value="Bottom, Right" /> |
||||
<TabIndex value="3" /> |
||||
</System.Windows.Forms.Button> |
||||
<System.Windows.Forms.Button> |
||||
<Name value="removeComponentsButton" /> |
||||
<Location value="{X=246,Y=8}" /> |
||||
<ClientSize value="{Width=166, Height=23}" /> |
||||
<Text value="${res:ICSharpCode.SharpDevelop.FormDesigner.Gui.ConfigureSidebarDialog.RemoveComponentsButton}" /> |
||||
<Anchor value="Bottom, Right" /> |
||||
<TabIndex value="4" /> |
||||
</System.Windows.Forms.Button> |
||||
</Controls> |
||||
</System.Windows.Forms.Panel> |
||||
<System.Windows.Forms.Splitter> |
||||
<Name value="splitter" /> |
||||
<TabIndex value="1" /> |
||||
<ClientSize value="{Width=6, Height=355}" /> |
||||
<Location value="{X=160,Y=0}" /> |
||||
</System.Windows.Forms.Splitter> |
||||
<System.Windows.Forms.ListView> |
||||
<Name value="categoryListView" /> |
||||
<Dock value="Left" /> |
||||
<MultiSelect value="False" /> |
||||
<TabIndex value="0" /> |
||||
<View value="Details" /> |
||||
<FullRowSelect value="True" /> |
||||
<Location value="{X=0,Y=0}" /> |
||||
<ClientSize value="{Width=156, Height=351}" /> |
||||
<CheckBoxes value="True" /> |
||||
<HideSelection value="False" /> |
||||
<Columns> |
||||
<System.Windows.Forms.ColumnHeader> |
||||
<Width value="156" /> |
||||
<Name value="columnHeader5" /> |
||||
<Text value="${res:ICSharpCode.SharpDevelop.FormDesigner.Gui.ConfigureSidebarDialog.Categories}" /> |
||||
</System.Windows.Forms.ColumnHeader> |
||||
</Columns> |
||||
</System.Windows.Forms.ListView> |
||||
</Controls> |
||||
</System.Windows.Forms.Panel> |
||||
</Controls> |
||||
</System.Windows.Forms.Form> |
||||
</Components> |
@ -1,48 +0,0 @@
@@ -1,48 +0,0 @@
|
||||
<Components version="1.0"> |
||||
<System.Windows.Forms.Form> |
||||
<Name value="RenameCategoryDialog" /> |
||||
<FormBorderStyle value="FixedDialog" /> |
||||
<StartPosition value="CenterParent" /> |
||||
<ClientSize value="{Width=298, Height=85}" /> |
||||
<MinimizeBox value="False" /> |
||||
<DockPadding value="" /> |
||||
<AcceptButton value="okButton [System.Windows.Forms.Button], Text: ${res:Global.OKButtonText}" /> |
||||
<CancelButton value="cancelButton [System.Windows.Forms.Button], Text: ${res:Global.CancelButtonText}" /> |
||||
<MaximizeBox value="False" /> |
||||
<Controls> |
||||
<System.Windows.Forms.Button> |
||||
<Name value="cancelButton" /> |
||||
<Location value="{X=214,Y=55}" /> |
||||
<ClientSize value="{Width=75, Height=23}" /> |
||||
<Text value="${res:Global.CancelButtonText}" /> |
||||
<Anchor value="Bottom, Right" /> |
||||
<TabIndex value="3" /> |
||||
<DialogResult value="Cancel" /> |
||||
</System.Windows.Forms.Button> |
||||
<System.Windows.Forms.Button> |
||||
<Name value="okButton" /> |
||||
<Location value="{X=134,Y=55}" /> |
||||
<ClientSize value="{Width=75, Height=23}" /> |
||||
<Text value="${res:Global.OKButtonText}" /> |
||||
<Anchor value="Bottom, Right" /> |
||||
<TabIndex value="2" /> |
||||
</System.Windows.Forms.Button> |
||||
<System.Windows.Forms.TextBox> |
||||
<Name value="categoryNameTextBox" /> |
||||
<Anchor value="Top, Left, Right" /> |
||||
<TabIndex value="1" /> |
||||
<Location value="{X=8,Y=24}" /> |
||||
<ClientSize value="{Width=276, Height=17}" /> |
||||
<Text value="" /> |
||||
</System.Windows.Forms.TextBox> |
||||
<System.Windows.Forms.Label> |
||||
<Name value="label" /> |
||||
<Text value="${res:ICSharpCode.SharpDevelop.FormDesigner.Gui.RenameCategoryDialog.CategoryNameLabel}" /> |
||||
<Anchor value="Top, Left, Right" /> |
||||
<TabIndex value="0" /> |
||||
<ClientSize value="{Width=288, Height=16}" /> |
||||
<Location value="{X=8,Y=8}" /> |
||||
</System.Windows.Forms.Label> |
||||
</Controls> |
||||
</System.Windows.Forms.Form> |
||||
</Components> |
@ -1,47 +0,0 @@
@@ -1,47 +0,0 @@
|
||||
// Copyright (c) AlphaSierraPapa for the SharpDevelop Team (for details please see \doc\copyright.txt)
|
||||
// This code is distributed under the GNU LGPL (for details please see \doc\license.txt)
|
||||
|
||||
using System; |
||||
|
||||
namespace ICSharpCode.FormsDesigner |
||||
{ |
||||
public class FormsDesignerLoggingService |
||||
{ |
||||
public static IFormsDesignerLoggingService Service; |
||||
|
||||
public static void Debug(string message) |
||||
{ |
||||
Service.Debug(message); |
||||
} |
||||
|
||||
public static void Info(string message) |
||||
{ |
||||
Service.Info(message); |
||||
} |
||||
|
||||
public static void Warn(string message) |
||||
{ |
||||
Service.Warn(message); |
||||
} |
||||
|
||||
public static void Error(Exception error) |
||||
{ |
||||
Service.Error(error); |
||||
} |
||||
|
||||
public static void Error(string message, Exception error) |
||||
{ |
||||
Service.Error(message, error); |
||||
} |
||||
|
||||
public static void DebugFormatted(string format, params object[] args) |
||||
{ |
||||
Service.DebugFormatted(format, args); |
||||
} |
||||
|
||||
public static void WarnFormatted(string format, params object[] args) |
||||
{ |
||||
Service.WarnFormatted(format, args); |
||||
} |
||||
} |
||||
} |
Loading…
Reference in new issue