265 lines
16 KiB
C#
265 lines
16 KiB
C#
namespace Notepad
|
|
{
|
|
partial class Form1
|
|
{
|
|
/// <summary>
|
|
/// Variabile di progettazione necessaria.
|
|
/// </summary>
|
|
private System.ComponentModel.IContainer components = null;
|
|
|
|
/// <summary>
|
|
/// Pulire le risorse in uso.
|
|
/// </summary>
|
|
/// <param name="disposing">ha valore true se le risorse gestite devono essere eliminate, false in caso contrario.</param>
|
|
protected override void Dispose(bool disposing)
|
|
{
|
|
if (disposing && (components != null))
|
|
{
|
|
components.Dispose();
|
|
}
|
|
base.Dispose(disposing);
|
|
}
|
|
|
|
#region Codice generato da Progettazione Windows Form
|
|
|
|
/// <summary>
|
|
/// Metodo necessario per il supporto della finestra di progettazione. Non modificare
|
|
/// il contenuto del metodo con l'editor di codice.
|
|
/// </summary>
|
|
private void InitializeComponent()
|
|
{
|
|
System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(Form1));
|
|
this.text_area = new System.Windows.Forms.TextBox();
|
|
this.menuStrip1 = new System.Windows.Forms.MenuStrip();
|
|
this.fileToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
|
|
this.newToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
|
|
this.newWindowToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
|
|
this.openToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
|
|
this.saveToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
|
|
this.saveFileWithNameToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
|
|
this.exitToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
|
|
this.viewToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
|
|
this.alwaysOnTopToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
|
|
this.characterStyleToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
|
|
this.searchTextInTheWebToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
|
|
this.helpToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
|
|
this.checkForUpdatesToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
|
|
this.giveAFeedbackToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
|
|
this.aboutToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
|
|
this.aboutWindowsToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
|
|
this.menuStrip1.SuspendLayout();
|
|
this.SuspendLayout();
|
|
//
|
|
// text_area
|
|
//
|
|
this.text_area.AllowDrop = true;
|
|
this.text_area.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.text_area.Location = new System.Drawing.Point(-3, 31);
|
|
this.text_area.Multiline = true;
|
|
this.text_area.Name = "text_area";
|
|
this.text_area.ScrollBars = System.Windows.Forms.ScrollBars.Both;
|
|
this.text_area.Size = new System.Drawing.Size(1057, 546);
|
|
this.text_area.TabIndex = 0;
|
|
this.text_area.WordWrap = false;
|
|
//
|
|
// menuStrip1
|
|
//
|
|
this.menuStrip1.ImageScalingSize = new System.Drawing.Size(20, 20);
|
|
this.menuStrip1.Items.AddRange(new System.Windows.Forms.ToolStripItem[] {
|
|
this.fileToolStripMenuItem,
|
|
this.viewToolStripMenuItem,
|
|
this.helpToolStripMenuItem});
|
|
this.menuStrip1.Location = new System.Drawing.Point(0, 0);
|
|
this.menuStrip1.Name = "menuStrip1";
|
|
this.menuStrip1.Size = new System.Drawing.Size(1054, 30);
|
|
this.menuStrip1.TabIndex = 1;
|
|
this.menuStrip1.Text = "menuStrip1";
|
|
//
|
|
// fileToolStripMenuItem
|
|
//
|
|
this.fileToolStripMenuItem.DropDownItems.AddRange(new System.Windows.Forms.ToolStripItem[] {
|
|
this.newToolStripMenuItem,
|
|
this.newWindowToolStripMenuItem,
|
|
this.openToolStripMenuItem,
|
|
this.saveToolStripMenuItem,
|
|
this.saveFileWithNameToolStripMenuItem,
|
|
this.exitToolStripMenuItem});
|
|
this.fileToolStripMenuItem.Name = "fileToolStripMenuItem";
|
|
this.fileToolStripMenuItem.Size = new System.Drawing.Size(46, 26);
|
|
this.fileToolStripMenuItem.Text = "File";
|
|
//
|
|
// newToolStripMenuItem
|
|
//
|
|
this.newToolStripMenuItem.Name = "newToolStripMenuItem";
|
|
this.newToolStripMenuItem.ShortcutKeys = ((System.Windows.Forms.Keys)((System.Windows.Forms.Keys.Control | System.Windows.Forms.Keys.N)));
|
|
this.newToolStripMenuItem.Size = new System.Drawing.Size(320, 26);
|
|
this.newToolStripMenuItem.Text = "New";
|
|
this.newToolStripMenuItem.Click += new System.EventHandler(this.newToolStripMenuItem_Click);
|
|
//
|
|
// newWindowToolStripMenuItem
|
|
//
|
|
this.newWindowToolStripMenuItem.Name = "newWindowToolStripMenuItem";
|
|
this.newWindowToolStripMenuItem.ShortcutKeys = ((System.Windows.Forms.Keys)(((System.Windows.Forms.Keys.Control | System.Windows.Forms.Keys.Shift)
|
|
| System.Windows.Forms.Keys.N)));
|
|
this.newWindowToolStripMenuItem.Size = new System.Drawing.Size(320, 26);
|
|
this.newWindowToolStripMenuItem.Text = "New window";
|
|
this.newWindowToolStripMenuItem.Click += new System.EventHandler(this.newWindowToolStripMenuItem_Click);
|
|
//
|
|
// 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(320, 26);
|
|
this.openToolStripMenuItem.Text = "Open";
|
|
this.openToolStripMenuItem.Click += new System.EventHandler(this.openToolStripMenuItem_Click);
|
|
//
|
|
// 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(320, 26);
|
|
this.saveToolStripMenuItem.Text = "Save";
|
|
this.saveToolStripMenuItem.Click += new System.EventHandler(this.saveToolStripMenuItem_Click);
|
|
//
|
|
// saveFileWithNameToolStripMenuItem
|
|
//
|
|
this.saveFileWithNameToolStripMenuItem.Name = "saveFileWithNameToolStripMenuItem";
|
|
this.saveFileWithNameToolStripMenuItem.ShortcutKeys = ((System.Windows.Forms.Keys)(((System.Windows.Forms.Keys.Control | System.Windows.Forms.Keys.Shift)
|
|
| System.Windows.Forms.Keys.S)));
|
|
this.saveFileWithNameToolStripMenuItem.Size = new System.Drawing.Size(320, 26);
|
|
this.saveFileWithNameToolStripMenuItem.Text = "Save with name";
|
|
this.saveFileWithNameToolStripMenuItem.Click += new System.EventHandler(this.saveFileWithNameToolStripMenuItem_Click);
|
|
//
|
|
// exitToolStripMenuItem
|
|
//
|
|
this.exitToolStripMenuItem.Name = "exitToolStripMenuItem";
|
|
this.exitToolStripMenuItem.ShortcutKeys = ((System.Windows.Forms.Keys)((System.Windows.Forms.Keys.Alt | System.Windows.Forms.Keys.F4)));
|
|
this.exitToolStripMenuItem.Size = new System.Drawing.Size(320, 26);
|
|
this.exitToolStripMenuItem.Text = "Exit";
|
|
this.exitToolStripMenuItem.Click += new System.EventHandler(this.exitToolStripMenuItem_Click);
|
|
//
|
|
// viewToolStripMenuItem
|
|
//
|
|
this.viewToolStripMenuItem.DropDownItems.AddRange(new System.Windows.Forms.ToolStripItem[] {
|
|
this.alwaysOnTopToolStripMenuItem,
|
|
this.characterStyleToolStripMenuItem,
|
|
this.searchTextInTheWebToolStripMenuItem});
|
|
this.viewToolStripMenuItem.Name = "viewToolStripMenuItem";
|
|
this.viewToolStripMenuItem.Size = new System.Drawing.Size(55, 26);
|
|
this.viewToolStripMenuItem.Text = "View";
|
|
this.viewToolStripMenuItem.Click += new System.EventHandler(this.viewToolStripMenuItem_Click_1);
|
|
//
|
|
// alwaysOnTopToolStripMenuItem
|
|
//
|
|
this.alwaysOnTopToolStripMenuItem.Name = "alwaysOnTopToolStripMenuItem";
|
|
this.alwaysOnTopToolStripMenuItem.ShortcutKeys = System.Windows.Forms.Keys.F5;
|
|
this.alwaysOnTopToolStripMenuItem.Size = new System.Drawing.Size(301, 26);
|
|
this.alwaysOnTopToolStripMenuItem.Text = "Always on top";
|
|
this.alwaysOnTopToolStripMenuItem.Click += new System.EventHandler(this.alwaysOnTopToolStripMenuItem_Click);
|
|
//
|
|
// characterStyleToolStripMenuItem
|
|
//
|
|
this.characterStyleToolStripMenuItem.Name = "characterStyleToolStripMenuItem";
|
|
this.characterStyleToolStripMenuItem.ShortcutKeys = System.Windows.Forms.Keys.F7;
|
|
this.characterStyleToolStripMenuItem.Size = new System.Drawing.Size(301, 26);
|
|
this.characterStyleToolStripMenuItem.Text = "Font style";
|
|
this.characterStyleToolStripMenuItem.Click += new System.EventHandler(this.characterStyleToolStripMenuItem_Click_1);
|
|
//
|
|
// searchTextInTheWebToolStripMenuItem
|
|
//
|
|
this.searchTextInTheWebToolStripMenuItem.Name = "searchTextInTheWebToolStripMenuItem";
|
|
this.searchTextInTheWebToolStripMenuItem.ShortcutKeys = ((System.Windows.Forms.Keys)((System.Windows.Forms.Keys.Control | System.Windows.Forms.Keys.Q)));
|
|
this.searchTextInTheWebToolStripMenuItem.Size = new System.Drawing.Size(301, 26);
|
|
this.searchTextInTheWebToolStripMenuItem.Text = "Search text in the web";
|
|
this.searchTextInTheWebToolStripMenuItem.Click += new System.EventHandler(this.searchTextInTheWebToolStripMenuItem_Click);
|
|
//
|
|
// helpToolStripMenuItem
|
|
//
|
|
this.helpToolStripMenuItem.DropDownItems.AddRange(new System.Windows.Forms.ToolStripItem[] {
|
|
this.checkForUpdatesToolStripMenuItem,
|
|
this.giveAFeedbackToolStripMenuItem,
|
|
this.aboutToolStripMenuItem,
|
|
this.aboutWindowsToolStripMenuItem});
|
|
this.helpToolStripMenuItem.Name = "helpToolStripMenuItem";
|
|
this.helpToolStripMenuItem.Size = new System.Drawing.Size(30, 26);
|
|
this.helpToolStripMenuItem.Text = "?";
|
|
this.helpToolStripMenuItem.Click += new System.EventHandler(this.viewToolStripMenuItem_Click);
|
|
//
|
|
// checkForUpdatesToolStripMenuItem
|
|
//
|
|
this.checkForUpdatesToolStripMenuItem.Name = "checkForUpdatesToolStripMenuItem";
|
|
this.checkForUpdatesToolStripMenuItem.ShortcutKeys = System.Windows.Forms.Keys.F10;
|
|
this.checkForUpdatesToolStripMenuItem.Size = new System.Drawing.Size(265, 26);
|
|
this.checkForUpdatesToolStripMenuItem.Text = "Check for updates";
|
|
this.checkForUpdatesToolStripMenuItem.Click += new System.EventHandler(this.checkForUpdatesToolStripMenuItem_Click);
|
|
//
|
|
// giveAFeedbackToolStripMenuItem
|
|
//
|
|
this.giveAFeedbackToolStripMenuItem.Name = "giveAFeedbackToolStripMenuItem";
|
|
this.giveAFeedbackToolStripMenuItem.ShortcutKeys = System.Windows.Forms.Keys.F8;
|
|
this.giveAFeedbackToolStripMenuItem.Size = new System.Drawing.Size(265, 26);
|
|
this.giveAFeedbackToolStripMenuItem.Text = "Give a feedback";
|
|
this.giveAFeedbackToolStripMenuItem.Click += new System.EventHandler(this.giveAFeedbackToolStripMenuItem_Click);
|
|
//
|
|
// aboutToolStripMenuItem
|
|
//
|
|
this.aboutToolStripMenuItem.Name = "aboutToolStripMenuItem";
|
|
this.aboutToolStripMenuItem.ShortcutKeys = System.Windows.Forms.Keys.F1;
|
|
this.aboutToolStripMenuItem.Size = new System.Drawing.Size(265, 26);
|
|
this.aboutToolStripMenuItem.Text = "About";
|
|
this.aboutToolStripMenuItem.Click += new System.EventHandler(this.aboutToolStripMenuItem_Click);
|
|
//
|
|
// aboutWindowsToolStripMenuItem
|
|
//
|
|
this.aboutWindowsToolStripMenuItem.Name = "aboutWindowsToolStripMenuItem";
|
|
this.aboutWindowsToolStripMenuItem.ShortcutKeys = ((System.Windows.Forms.Keys)((System.Windows.Forms.Keys.Control | System.Windows.Forms.Keys.F1)));
|
|
this.aboutWindowsToolStripMenuItem.Size = new System.Drawing.Size(265, 26);
|
|
this.aboutWindowsToolStripMenuItem.Text = "About Windows";
|
|
this.aboutWindowsToolStripMenuItem.Visible = false;
|
|
this.aboutWindowsToolStripMenuItem.Click += new System.EventHandler(this.aboutWindowsToolStripMenuItem_Click);
|
|
//
|
|
// Form1
|
|
//
|
|
this.AutoScaleDimensions = new System.Drawing.SizeF(8F, 16F);
|
|
this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
|
|
this.ClientSize = new System.Drawing.Size(1054, 575);
|
|
this.Controls.Add(this.text_area);
|
|
this.Controls.Add(this.menuStrip1);
|
|
this.Icon = ((System.Drawing.Icon)(resources.GetObject("$this.Icon")));
|
|
this.MainMenuStrip = this.menuStrip1;
|
|
this.Name = "Form1";
|
|
this.Text = "Notepad";
|
|
this.Load += new System.EventHandler(this.Form1_Load);
|
|
this.menuStrip1.ResumeLayout(false);
|
|
this.menuStrip1.PerformLayout();
|
|
this.ResumeLayout(false);
|
|
this.PerformLayout();
|
|
|
|
}
|
|
|
|
#endregion
|
|
|
|
private System.Windows.Forms.TextBox text_area;
|
|
private System.Windows.Forms.MenuStrip menuStrip1;
|
|
private System.Windows.Forms.ToolStripMenuItem fileToolStripMenuItem;
|
|
private System.Windows.Forms.ToolStripMenuItem newToolStripMenuItem;
|
|
private System.Windows.Forms.ToolStripMenuItem openToolStripMenuItem;
|
|
private System.Windows.Forms.ToolStripMenuItem saveToolStripMenuItem;
|
|
private System.Windows.Forms.ToolStripMenuItem exitToolStripMenuItem;
|
|
private System.Windows.Forms.ToolStripMenuItem helpToolStripMenuItem;
|
|
private System.Windows.Forms.ToolStripMenuItem newWindowToolStripMenuItem;
|
|
private System.Windows.Forms.ToolStripMenuItem saveFileWithNameToolStripMenuItem;
|
|
private System.Windows.Forms.ToolStripMenuItem aboutToolStripMenuItem;
|
|
private System.Windows.Forms.ToolStripMenuItem checkForUpdatesToolStripMenuItem;
|
|
private System.Windows.Forms.ToolStripMenuItem viewToolStripMenuItem;
|
|
private System.Windows.Forms.ToolStripMenuItem alwaysOnTopToolStripMenuItem;
|
|
private System.Windows.Forms.ToolStripMenuItem giveAFeedbackToolStripMenuItem;
|
|
private System.Windows.Forms.ToolStripMenuItem aboutWindowsToolStripMenuItem;
|
|
private System.Windows.Forms.ToolStripMenuItem characterStyleToolStripMenuItem;
|
|
private System.Windows.Forms.ToolStripMenuItem searchTextInTheWebToolStripMenuItem;
|
|
}
|
|
}
|
|
|