You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
165 lines
7.6 KiB
165 lines
7.6 KiB
// SharpDevelop samples |
|
// Copyright (c) 2006, AlphaSierraPapa |
|
// All rights reserved. |
|
// |
|
// Redistribution and use in source and binary forms, with or without modification, are |
|
// permitted provided that the following conditions are met: |
|
// |
|
// - Redistributions of source code must retain the above copyright notice, this list |
|
// of conditions and the following disclaimer. |
|
// |
|
// - Redistributions in binary form must reproduce the above copyright notice, this list |
|
// of conditions and the following disclaimer in the documentation and/or other materials |
|
// provided with the distribution. |
|
// |
|
// - Neither the name of the SharpDevelop team nor the names of its contributors may be used to |
|
// endorse or promote products derived from this software without specific prior written |
|
// permission. |
|
// |
|
// THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS &AS IS& AND ANY EXPRESS |
|
// OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY |
|
// AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR |
|
// CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL |
|
// DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, |
|
// DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER |
|
// IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT |
|
// OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. |
|
|
|
namespace SharpPad |
|
{ |
|
partial class SharpPad : System.Windows.Forms.Form |
|
{ |
|
/// <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() |
|
{ |
|
System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(SharpPad)); |
|
this.textEditorControl = new ICSharpCode.TextEditor.TextEditorControl(); |
|
this.menuStrip = new System.Windows.Forms.MenuStrip(); |
|
this.fileToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem(); |
|
this.openToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem(); |
|
this.saveToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem(); |
|
this.saveAsToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem(); |
|
this.separatorToolStripMenuItem = new System.Windows.Forms.ToolStripSeparator(); |
|
this.exitToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem(); |
|
this.menuStrip.SuspendLayout(); |
|
this.SuspendLayout(); |
|
// |
|
// textEditorControl |
|
// |
|
this.textEditorControl.Dock = System.Windows.Forms.DockStyle.Fill; |
|
this.textEditorControl.Encoding = ((System.Text.Encoding)(resources.GetObject("textEditorControl.Encoding"))); |
|
this.textEditorControl.Location = new System.Drawing.Point(0, 24); |
|
this.textEditorControl.Name = "textEditorControl"; |
|
this.textEditorControl.ShowEOLMarkers = true; |
|
this.textEditorControl.ShowSpaces = true; |
|
this.textEditorControl.ShowTabs = true; |
|
this.textEditorControl.ShowVRuler = true; |
|
this.textEditorControl.Size = new System.Drawing.Size(511, 280); |
|
this.textEditorControl.TabIndex = 0; |
|
// |
|
// menuStrip |
|
// |
|
this.menuStrip.Items.AddRange(new System.Windows.Forms.ToolStripItem[] { |
|
this.fileToolStripMenuItem}); |
|
this.menuStrip.Location = new System.Drawing.Point(0, 0); |
|
this.menuStrip.Name = "menuStrip"; |
|
this.menuStrip.Size = new System.Drawing.Size(511, 24); |
|
this.menuStrip.TabIndex = 1; |
|
this.menuStrip.Text = "menuStrip"; |
|
// |
|
// fileToolStripMenuItem |
|
// |
|
this.fileToolStripMenuItem.DropDownItems.AddRange(new System.Windows.Forms.ToolStripItem[] { |
|
this.openToolStripMenuItem, |
|
this.saveToolStripMenuItem, |
|
this.saveAsToolStripMenuItem, |
|
this.separatorToolStripMenuItem, |
|
this.exitToolStripMenuItem}); |
|
this.fileToolStripMenuItem.Name = "fileToolStripMenuItem"; |
|
this.fileToolStripMenuItem.Size = new System.Drawing.Size(35, 20); |
|
this.fileToolStripMenuItem.Text = "&File"; |
|
// |
|
// openToolStripMenuItem |
|
// |
|
this.openToolStripMenuItem.Name = "openToolStripMenuItem"; |
|
this.openToolStripMenuItem.ShortcutKeys = ((System.Windows.Forms.Keys)((System.Windows.Forms.Keys.Control | System.Windows.Forms.Keys.O))); |
|
this.openToolStripMenuItem.Size = new System.Drawing.Size(163, 22); |
|
this.openToolStripMenuItem.Text = "&Open..."; |
|
this.openToolStripMenuItem.Click += new System.EventHandler(this.OpenToolStripMenuItemClick); |
|
// |
|
// saveToolStripMenuItem |
|
// |
|
this.saveToolStripMenuItem.Name = "saveToolStripMenuItem"; |
|
this.saveToolStripMenuItem.ShortcutKeys = ((System.Windows.Forms.Keys)((System.Windows.Forms.Keys.Control | System.Windows.Forms.Keys.S))); |
|
this.saveToolStripMenuItem.Size = new System.Drawing.Size(163, 22); |
|
this.saveToolStripMenuItem.Text = "&Save"; |
|
this.saveToolStripMenuItem.Click += new System.EventHandler(this.SaveToolStripMenuItemClick); |
|
// |
|
// saveAsToolStripMenuItem |
|
// |
|
this.saveAsToolStripMenuItem.Name = "saveAsToolStripMenuItem"; |
|
this.saveAsToolStripMenuItem.Size = new System.Drawing.Size(163, 22); |
|
this.saveAsToolStripMenuItem.Text = "Save &As..."; |
|
this.saveAsToolStripMenuItem.Click += new System.EventHandler(this.SaveAsToolStripMenuItemClick); |
|
// |
|
// separatorToolStripMenuItem |
|
// |
|
this.separatorToolStripMenuItem.Name = "separatorToolStripMenuItem"; |
|
this.separatorToolStripMenuItem.Size = new System.Drawing.Size(160, 6); |
|
// |
|
// exitToolStripMenuItem |
|
// |
|
this.exitToolStripMenuItem.Name = "exitToolStripMenuItem"; |
|
this.exitToolStripMenuItem.Size = new System.Drawing.Size(163, 22); |
|
this.exitToolStripMenuItem.Text = "E&xit"; |
|
this.exitToolStripMenuItem.Click += new System.EventHandler(this.ExitToolStripMenuItemClick); |
|
// |
|
// SharpPad |
|
// |
|
this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F); |
|
this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font; |
|
this.ClientSize = new System.Drawing.Size(511, 304); |
|
this.Controls.Add(this.textEditorControl); |
|
this.Controls.Add(this.menuStrip); |
|
this.Icon = ((System.Drawing.Icon)(resources.GetObject("$this.Icon"))); |
|
this.MainMenuStrip = this.menuStrip; |
|
this.Name = "SharpPad"; |
|
this.Text = "SharpPad"; |
|
this.menuStrip.ResumeLayout(false); |
|
this.menuStrip.PerformLayout(); |
|
this.ResumeLayout(false); |
|
this.PerformLayout(); |
|
} |
|
private System.Windows.Forms.ToolStripMenuItem exitToolStripMenuItem; |
|
private System.Windows.Forms.ToolStripSeparator separatorToolStripMenuItem; |
|
private System.Windows.Forms.ToolStripMenuItem saveAsToolStripMenuItem; |
|
private System.Windows.Forms.ToolStripMenuItem saveToolStripMenuItem; |
|
private System.Windows.Forms.ToolStripMenuItem openToolStripMenuItem; |
|
private System.Windows.Forms.ToolStripMenuItem fileToolStripMenuItem; |
|
private System.Windows.Forms.MenuStrip menuStrip; |
|
private ICSharpCode.TextEditor.TextEditorControl textEditorControl; |
|
} |
|
}
|
|
|