From 5ee1f55497a4e30322a56f133f897ecde1612967 Mon Sep 17 00:00:00 2001 From: mo Date: Sun, 4 Nov 2018 15:22:16 -0700 Subject: initial commit. --- .../Views/Shell/WindowShell.Designer.cs | 82 ++++++++++++++ .../Presentation/Views/Shell/WindowShell.cs | 13 +++ .../Presentation/Views/Shell/WindowShell.resx | 126 +++++++++++++++++++++ 3 files changed, 221 insertions(+) create mode 100644 src/Notepad/Presentation/Views/Shell/WindowShell.Designer.cs create mode 100644 src/Notepad/Presentation/Views/Shell/WindowShell.cs create mode 100644 src/Notepad/Presentation/Views/Shell/WindowShell.resx (limited to 'src/Notepad/Presentation/Views/Shell') diff --git a/src/Notepad/Presentation/Views/Shell/WindowShell.Designer.cs b/src/Notepad/Presentation/Views/Shell/WindowShell.Designer.cs new file mode 100644 index 0000000..32282d8 --- /dev/null +++ b/src/Notepad/Presentation/Views/Shell/WindowShell.Designer.cs @@ -0,0 +1,82 @@ +namespace Notepad.Presentation.Views.Shell { + partial class WindowShell + { + /// + /// Required designer variable. + /// + private System.ComponentModel.IContainer components = null; + + /// + /// Clean up any resources being used. + /// + /// true if managed resources should be disposed; otherwise, false. + protected override void Dispose(bool disposing) + { + if (disposing && (components != null)) + { + components.Dispose(); + } + base.Dispose(disposing); + } + + #region Windows Form Designer generated code + + /// + /// Required method for Designer support - do not modify + /// the contents of this method with the code editor. + /// + private void InitializeComponent() + { + this.uxMainMenuStrip = new System.Windows.Forms.MenuStrip(); + this.uxEditorTextBox = new System.Windows.Forms.RichTextBox(); + this.uxStatusBar = new System.Windows.Forms.StatusStrip(); + this.SuspendLayout(); + // + // uxMainMenuStrip + // + this.uxMainMenuStrip.Location = new System.Drawing.Point(0, 0); + this.uxMainMenuStrip.Name = "uxMainMenuStrip"; + this.uxMainMenuStrip.Size = new System.Drawing.Size(292, 24); + this.uxMainMenuStrip.TabIndex = 0; + this.uxMainMenuStrip.Text = "menuStrip1"; + // + // uxEditorTextBox + // + this.uxEditorTextBox.Dock = System.Windows.Forms.DockStyle.Fill; + this.uxEditorTextBox.Location = new System.Drawing.Point(0, 24); + this.uxEditorTextBox.Name = "uxEditorTextBox"; + this.uxEditorTextBox.Size = new System.Drawing.Size(292, 249); + this.uxEditorTextBox.TabIndex = 1; + this.uxEditorTextBox.Text = ""; + // + // uxStatusBar + // + this.uxStatusBar.Location = new System.Drawing.Point(0, 251); + this.uxStatusBar.Name = "uxStatusBar"; + this.uxStatusBar.Size = new System.Drawing.Size(292, 22); + this.uxStatusBar.TabIndex = 2; + this.uxStatusBar.Text = "statusStrip1"; + // + // MainShellView + // + this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F); + this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font; + this.ClientSize = new System.Drawing.Size(292, 273); + this.Controls.Add(this.uxStatusBar); + this.Controls.Add(this.uxEditorTextBox); + this.Controls.Add(this.uxMainMenuStrip); + this.MainMenuStrip = this.uxMainMenuStrip; + this.Name = "MainShellView"; + this.Text = "Notepad"; + this.ResumeLayout(false); + this.PerformLayout(); + + } + + #endregion + + private System.Windows.Forms.MenuStrip uxMainMenuStrip; + private System.Windows.Forms.RichTextBox uxEditorTextBox; + private System.Windows.Forms.StatusStrip uxStatusBar; + } +} \ No newline at end of file diff --git a/src/Notepad/Presentation/Views/Shell/WindowShell.cs b/src/Notepad/Presentation/Views/Shell/WindowShell.cs new file mode 100644 index 0000000..e90b11d --- /dev/null +++ b/src/Notepad/Presentation/Views/Shell/WindowShell.cs @@ -0,0 +1,13 @@ +using System.Windows.Forms; + +namespace Notepad.Presentation.Views.Shell { + public partial class WindowShell : Form { + public WindowShell() { + InitializeComponent(); + } + + public MenuStrip MenuStrip() { + return uxMainMenuStrip; + } + } +} \ No newline at end of file diff --git a/src/Notepad/Presentation/Views/Shell/WindowShell.resx b/src/Notepad/Presentation/Views/Shell/WindowShell.resx new file mode 100644 index 0000000..c61a0c7 --- /dev/null +++ b/src/Notepad/Presentation/Views/Shell/WindowShell.resx @@ -0,0 +1,126 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + text/microsoft-resx + + + 2.0 + + + System.Resources.ResXResourceReader, System.Windows.Forms, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 + + + System.Resources.ResXResourceWriter, System.Windows.Forms, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 + + + 17, 17 + + + 126, 17 + + \ No newline at end of file -- cgit v1.2.3