aboutsummaryrefslogtreecommitdiff
path: root/TimeHACK.Main/OS/Win95/Win95Apps
diff options
context:
space:
mode:
authorAlex-TIMEHACK <[email protected]>2017-04-28 22:49:32 +0100
committerAlex-TIMEHACK <[email protected]>2017-04-28 22:49:32 +0100
commitcfd245999971496cf445b35be0d83019c12a3025 (patch)
tree5d3ad8f61efe906d56d4b8891b93621b87cb1838 /TimeHACK.Main/OS/Win95/Win95Apps
parentc373334a2408e5469c7d8cdd86e29014a188d494 (diff)
downloadhistacom2-cfd245999971496cf445b35be0d83019c12a3025.tar.gz
histacom2-cfd245999971496cf445b35be0d83019c12a3025.tar.bz2
histacom2-cfd245999971496cf445b35be0d83019c12a3025.zip
Pretty much started my WordPad Application
Just need to add some non-Designer related code next
Diffstat (limited to 'TimeHACK.Main/OS/Win95/Win95Apps')
-rw-r--r--TimeHACK.Main/OS/Win95/Win95Apps/WinClassicWordPad.Designer.cs536
-rw-r--r--TimeHACK.Main/OS/Win95/Win95Apps/WinClassicWordPad.cs119
-rw-r--r--TimeHACK.Main/OS/Win95/Win95Apps/WinClassicWordPad.resx123
3 files changed, 778 insertions, 0 deletions
diff --git a/TimeHACK.Main/OS/Win95/Win95Apps/WinClassicWordPad.Designer.cs b/TimeHACK.Main/OS/Win95/Win95Apps/WinClassicWordPad.Designer.cs
new file mode 100644
index 0000000..31ea957
--- /dev/null
+++ b/TimeHACK.Main/OS/Win95/Win95Apps/WinClassicWordPad.Designer.cs
@@ -0,0 +1,536 @@
+namespace TimeHACK.OS.Win95.Win95Apps
+{
+ partial class WinClassicWordPad
+ {
+ /// <summary>
+ /// Required designer variable.
+ /// </summary>
+ private System.ComponentModel.IContainer components = null;
+
+ /// <summary>
+ /// Clean up any resources being used.
+ /// </summary>
+ /// <param name="disposing">true if managed resources should be disposed; otherwise, false.</param>
+ protected override void Dispose(bool disposing)
+ {
+ if (disposing && (components != null))
+ {
+ components.Dispose();
+ }
+ base.Dispose(disposing);
+ }
+
+ #region Component Designer generated code
+
+ /// <summary>
+ /// Required method for Designer support - do not modify
+ /// the contents of this method with the code editor.
+ /// </summary>
+ private void InitializeComponent()
+ {
+ this.topmenu = new System.Windows.Forms.MenuStrip();
+ this.fileToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
+ this.newToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
+ this.toolStripSeparator1 = new System.Windows.Forms.ToolStripSeparator();
+ this.sendToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
+ this.exitToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
+ this.editToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
+ this.undoToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
+ this.toolStripSeparator2 = new System.Windows.Forms.ToolStripSeparator();
+ this.cutToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
+ this.copyToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
+ this.pasteToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
+ this.toolStripSeparator3 = new System.Windows.Forms.ToolStripSeparator();
+ this.clearToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
+ this.selectAllToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
+ this.viewToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
+ this.toolbarToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
+ this.formatBarToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
+ this.statusBarToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
+ this.insertToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
+ this.dateTimeToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
+ this.formatToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
+ this.bulletStyleToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
+ this.helpToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
+ this.helpTopicsToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
+ this.toolStripSeparator4 = new System.Windows.Forms.ToolStripSeparator();
+ this.aboutWordpadToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
+ this.mainText = new System.Windows.Forms.RichTextBox();
+ this.pnlToolbar = new System.Windows.Forms.Panel();
+ this.btnPaste = new System.Windows.Forms.Button();
+ this.btnCopy = new System.Windows.Forms.Button();
+ this.btnCut = new System.Windows.Forms.Button();
+ this.btnNew = new System.Windows.Forms.Button();
+ this.pictureBox1 = new System.Windows.Forms.PictureBox();
+ this.pnlFormatBar = new System.Windows.Forms.Panel();
+ this.comboSize = new System.Windows.Forms.ComboBox();
+ this.comboFont = new System.Windows.Forms.ComboBox();
+ this.pictureBox2 = new System.Windows.Forms.PictureBox();
+ this.btnUnderline = new System.Windows.Forms.Button();
+ this.btnItalic = new System.Windows.Forms.Button();
+ this.btnBold = new System.Windows.Forms.Button();
+ this.statusBar = new System.Windows.Forms.Panel();
+ this.lblStatus = new System.Windows.Forms.Label();
+ this.topmenu.SuspendLayout();
+ this.pnlToolbar.SuspendLayout();
+ ((System.ComponentModel.ISupportInitialize)(this.pictureBox1)).BeginInit();
+ this.pnlFormatBar.SuspendLayout();
+ ((System.ComponentModel.ISupportInitialize)(this.pictureBox2)).BeginInit();
+ this.statusBar.SuspendLayout();
+ this.SuspendLayout();
+ //
+ // topmenu
+ //
+ this.topmenu.BackColor = System.Drawing.Color.Silver;
+ this.topmenu.Items.AddRange(new System.Windows.Forms.ToolStripItem[] {
+ this.fileToolStripMenuItem,
+ this.editToolStripMenuItem,
+ this.viewToolStripMenuItem,
+ this.insertToolStripMenuItem,
+ this.formatToolStripMenuItem,
+ this.helpToolStripMenuItem});
+ this.topmenu.Location = new System.Drawing.Point(0, 0);
+ this.topmenu.Name = "topmenu";
+ this.topmenu.Size = new System.Drawing.Size(593, 24);
+ this.topmenu.TabIndex = 0;
+ this.topmenu.Text = "menuStrip1";
+ //
+ // fileToolStripMenuItem
+ //
+ this.fileToolStripMenuItem.DropDownItems.AddRange(new System.Windows.Forms.ToolStripItem[] {
+ this.newToolStripMenuItem,
+ this.toolStripSeparator1,
+ this.sendToolStripMenuItem,
+ this.exitToolStripMenuItem});
+ this.fileToolStripMenuItem.Name = "fileToolStripMenuItem";
+ this.fileToolStripMenuItem.Size = new System.Drawing.Size(37, 20);
+ this.fileToolStripMenuItem.Text = "File";
+ //
+ // newToolStripMenuItem
+ //
+ this.newToolStripMenuItem.Name = "newToolStripMenuItem";
+ this.newToolStripMenuItem.Size = new System.Drawing.Size(109, 22);
+ this.newToolStripMenuItem.Text = "New";
+ //
+ // toolStripSeparator1
+ //
+ this.toolStripSeparator1.Name = "toolStripSeparator1";
+ this.toolStripSeparator1.Size = new System.Drawing.Size(106, 6);
+ //
+ // sendToolStripMenuItem
+ //
+ this.sendToolStripMenuItem.Name = "sendToolStripMenuItem";
+ this.sendToolStripMenuItem.Size = new System.Drawing.Size(109, 22);
+ this.sendToolStripMenuItem.Text = "Send...";
+ //
+ // exitToolStripMenuItem
+ //
+ this.exitToolStripMenuItem.Name = "exitToolStripMenuItem";
+ this.exitToolStripMenuItem.Size = new System.Drawing.Size(152, 22);
+ this.exitToolStripMenuItem.Text = "Exit";
+ this.exitToolStripMenuItem.Click += new System.EventHandler(this.exitToolStripMenuItem_Click);
+ //
+ // editToolStripMenuItem
+ //
+ this.editToolStripMenuItem.DropDownItems.AddRange(new System.Windows.Forms.ToolStripItem[] {
+ this.undoToolStripMenuItem,
+ this.toolStripSeparator2,
+ this.cutToolStripMenuItem,
+ this.copyToolStripMenuItem,
+ this.pasteToolStripMenuItem,
+ this.toolStripSeparator3,
+ this.clearToolStripMenuItem,
+ this.selectAllToolStripMenuItem});
+ this.editToolStripMenuItem.Name = "editToolStripMenuItem";
+ this.editToolStripMenuItem.Size = new System.Drawing.Size(39, 20);
+ this.editToolStripMenuItem.Text = "Edit";
+ //
+ // undoToolStripMenuItem
+ //
+ this.undoToolStripMenuItem.Name = "undoToolStripMenuItem";
+ this.undoToolStripMenuItem.Size = new System.Drawing.Size(122, 22);
+ this.undoToolStripMenuItem.Text = "Undo";
+ //
+ // toolStripSeparator2
+ //
+ this.toolStripSeparator2.Name = "toolStripSeparator2";
+ this.toolStripSeparator2.Size = new System.Drawing.Size(119, 6);
+ //
+ // cutToolStripMenuItem
+ //
+ this.cutToolStripMenuItem.Name = "cutToolStripMenuItem";
+ this.cutToolStripMenuItem.Size = new System.Drawing.Size(122, 22);
+ this.cutToolStripMenuItem.Text = "Cut";
+ //
+ // copyToolStripMenuItem
+ //
+ this.copyToolStripMenuItem.Name = "copyToolStripMenuItem";
+ this.copyToolStripMenuItem.Size = new System.Drawing.Size(122, 22);
+ this.copyToolStripMenuItem.Text = "Copy";
+ //
+ // pasteToolStripMenuItem
+ //
+ this.pasteToolStripMenuItem.Name = "pasteToolStripMenuItem";
+ this.pasteToolStripMenuItem.Size = new System.Drawing.Size(122, 22);
+ this.pasteToolStripMenuItem.Text = "Paste";
+ //
+ // toolStripSeparator3
+ //
+ this.toolStripSeparator3.Name = "toolStripSeparator3";
+ this.toolStripSeparator3.Size = new System.Drawing.Size(119, 6);
+ //
+ // clearToolStripMenuItem
+ //
+ this.clearToolStripMenuItem.Name = "clearToolStripMenuItem";
+ this.clearToolStripMenuItem.Size = new System.Drawing.Size(122, 22);
+ this.clearToolStripMenuItem.Text = "Clear";
+ //
+ // selectAllToolStripMenuItem
+ //
+ this.selectAllToolStripMenuItem.Name = "selectAllToolStripMenuItem";
+ this.selectAllToolStripMenuItem.Size = new System.Drawing.Size(122, 22);
+ this.selectAllToolStripMenuItem.Text = "Select All";
+ //
+ // viewToolStripMenuItem
+ //
+ this.viewToolStripMenuItem.DropDownItems.AddRange(new System.Windows.Forms.ToolStripItem[] {
+ this.toolbarToolStripMenuItem,
+ this.formatBarToolStripMenuItem,
+ this.statusBarToolStripMenuItem});
+ this.viewToolStripMenuItem.Name = "viewToolStripMenuItem";
+ this.viewToolStripMenuItem.Size = new System.Drawing.Size(44, 20);
+ this.viewToolStripMenuItem.Text = "View";
+ //
+ // toolbarToolStripMenuItem
+ //
+ this.toolbarToolStripMenuItem.Checked = true;
+ this.toolbarToolStripMenuItem.CheckOnClick = true;
+ this.toolbarToolStripMenuItem.CheckState = System.Windows.Forms.CheckState.Checked;
+ this.toolbarToolStripMenuItem.Name = "toolbarToolStripMenuItem";
+ this.toolbarToolStripMenuItem.Size = new System.Drawing.Size(152, 22);
+ this.toolbarToolStripMenuItem.Text = "Toolbar";
+ this.toolbarToolStripMenuItem.Click += new System.EventHandler(this.toolbarToolStripMenuItem_Click);
+ //
+ // formatBarToolStripMenuItem
+ //
+ this.formatBarToolStripMenuItem.Checked = true;
+ this.formatBarToolStripMenuItem.CheckOnClick = true;
+ this.formatBarToolStripMenuItem.CheckState = System.Windows.Forms.CheckState.Checked;
+ this.formatBarToolStripMenuItem.Name = "formatBarToolStripMenuItem";
+ this.formatBarToolStripMenuItem.Size = new System.Drawing.Size(152, 22);
+ this.formatBarToolStripMenuItem.Text = "Format Bar";
+ this.formatBarToolStripMenuItem.Click += new System.EventHandler(this.formatBarToolStripMenuItem_Click);
+ //
+ // statusBarToolStripMenuItem
+ //
+ this.statusBarToolStripMenuItem.Checked = true;
+ this.statusBarToolStripMenuItem.CheckOnClick = true;
+ this.statusBarToolStripMenuItem.CheckState = System.Windows.Forms.CheckState.Checked;
+ this.statusBarToolStripMenuItem.Name = "statusBarToolStripMenuItem";
+ this.statusBarToolStripMenuItem.Size = new System.Drawing.Size(152, 22);
+ this.statusBarToolStripMenuItem.Text = "Status Bar";
+ this.statusBarToolStripMenuItem.Click += new System.EventHandler(this.statusBarToolStripMenuItem_Click);
+ //
+ // insertToolStripMenuItem
+ //
+ this.insertToolStripMenuItem.DropDownItems.AddRange(new System.Windows.Forms.ToolStripItem[] {
+ this.dateTimeToolStripMenuItem});
+ this.insertToolStripMenuItem.Name = "insertToolStripMenuItem";
+ this.insertToolStripMenuItem.Size = new System.Drawing.Size(48, 20);
+ this.insertToolStripMenuItem.Text = "Insert";
+ //
+ // dateTimeToolStripMenuItem
+ //
+ this.dateTimeToolStripMenuItem.Name = "dateTimeToolStripMenuItem";
+ this.dateTimeToolStripMenuItem.Size = new System.Drawing.Size(130, 22);
+ this.dateTimeToolStripMenuItem.Text = "Date/Time";
+ //
+ // formatToolStripMenuItem
+ //
+ this.formatToolStripMenuItem.DropDownItems.AddRange(new System.Windows.Forms.ToolStripItem[] {
+ this.bulletStyleToolStripMenuItem});
+ this.formatToolStripMenuItem.Name = "formatToolStripMenuItem";
+ this.formatToolStripMenuItem.Size = new System.Drawing.Size(57, 20);
+ this.formatToolStripMenuItem.Text = "Format";
+ //
+ // bulletStyleToolStripMenuItem
+ //
+ this.bulletStyleToolStripMenuItem.Name = "bulletStyleToolStripMenuItem";
+ this.bulletStyleToolStripMenuItem.Size = new System.Drawing.Size(131, 22);
+ this.bulletStyleToolStripMenuItem.Text = "Bullet style";
+ //
+ // helpToolStripMenuItem
+ //
+ this.helpToolStripMenuItem.DropDownItems.AddRange(new System.Windows.Forms.ToolStripItem[] {
+ this.helpTopicsToolStripMenuItem,
+ this.toolStripSeparator4,
+ this.aboutWordpadToolStripMenuItem});
+ this.helpToolStripMenuItem.Name = "helpToolStripMenuItem";
+ this.helpToolStripMenuItem.Size = new System.Drawing.Size(44, 20);
+ this.helpToolStripMenuItem.Text = "Help";
+ //
+ // helpTopicsToolStripMenuItem
+ //
+ this.helpTopicsToolStripMenuItem.Name = "helpTopicsToolStripMenuItem";
+ this.helpTopicsToolStripMenuItem.Size = new System.Drawing.Size(159, 22);
+ this.helpTopicsToolStripMenuItem.Text = "Help Topics";
+ //
+ // toolStripSeparator4
+ //
+ this.toolStripSeparator4.Name = "toolStripSeparator4";
+ this.toolStripSeparator4.Size = new System.Drawing.Size(156, 6);
+ //
+ // aboutWordpadToolStripMenuItem
+ //
+ this.aboutWordpadToolStripMenuItem.Name = "aboutWordpadToolStripMenuItem";
+ this.aboutWordpadToolStripMenuItem.Size = new System.Drawing.Size(159, 22);
+ this.aboutWordpadToolStripMenuItem.Text = "About Wordpad";
+ this.aboutWordpadToolStripMenuItem.Click += new System.EventHandler(this.aboutWordpadToolStripMenuItem_Click);
+ //
+ // mainText
+ //
+ this.mainText.Dock = System.Windows.Forms.DockStyle.Fill;
+ this.mainText.Location = new System.Drawing.Point(0, 80);
+ this.mainText.Name = "mainText";
+ this.mainText.Size = new System.Drawing.Size(593, 290);
+ this.mainText.TabIndex = 1;
+ this.mainText.Text = "";
+ //
+ // pnlToolbar
+ //
+ this.pnlToolbar.BackColor = System.Drawing.Color.Silver;
+ this.pnlToolbar.Controls.Add(this.btnPaste);
+ this.pnlToolbar.Controls.Add(this.btnCopy);
+ this.pnlToolbar.Controls.Add(this.btnCut);
+ this.pnlToolbar.Controls.Add(this.btnNew);
+ this.pnlToolbar.Controls.Add(this.pictureBox1);
+ this.pnlToolbar.Dock = System.Windows.Forms.DockStyle.Top;
+ this.pnlToolbar.Location = new System.Drawing.Point(0, 24);
+ this.pnlToolbar.Name = "pnlToolbar";
+ this.pnlToolbar.Size = new System.Drawing.Size(593, 28);
+ this.pnlToolbar.TabIndex = 2;
+ //
+ // btnPaste
+ //
+ this.btnPaste.BackgroundImage = global::TimeHACK.Properties.Resources.sliversilver;
+ this.btnPaste.Image = global::TimeHACK.Properties.Resources.WinClassicPaste;
+ this.btnPaste.Location = new System.Drawing.Point(102, 3);
+ this.btnPaste.Name = "btnPaste";
+ this.btnPaste.Size = new System.Drawing.Size(26, 23);
+ this.btnPaste.TabIndex = 1;
+ this.btnPaste.UseVisualStyleBackColor = true;
+ //
+ // btnCopy
+ //
+ this.btnCopy.BackgroundImage = global::TimeHACK.Properties.Resources.sliversilver;
+ this.btnCopy.Image = global::TimeHACK.Properties.Resources.WinClassicCopy;
+ this.btnCopy.Location = new System.Drawing.Point(70, 3);
+ this.btnCopy.Name = "btnCopy";
+ this.btnCopy.Size = new System.Drawing.Size(26, 23);
+ this.btnCopy.TabIndex = 1;
+ this.btnCopy.UseVisualStyleBackColor = true;
+ //
+ // btnCut
+ //
+ this.btnCut.BackgroundImage = global::TimeHACK.Properties.Resources.sliversilver;
+ this.btnCut.Image = global::TimeHACK.Properties.Resources.WinClassicCut;
+ this.btnCut.Location = new System.Drawing.Point(38, 3);
+ this.btnCut.Name = "btnCut";
+ this.btnCut.Size = new System.Drawing.Size(26, 23);
+ this.btnCut.TabIndex = 1;
+ this.btnCut.UseVisualStyleBackColor = true;
+ //
+ // btnNew
+ //
+ this.btnNew.BackgroundImage = global::TimeHACK.Properties.Resources.sliversilver;
+ this.btnNew.Image = global::TimeHACK.Properties.Resources.WinClassicNew;
+ this.btnNew.Location = new System.Drawing.Point(6, 3);
+ this.btnNew.Name = "btnNew";
+ this.btnNew.Size = new System.Drawing.Size(26, 23);
+ this.btnNew.TabIndex = 1;
+ this.btnNew.UseVisualStyleBackColor = true;
+ //
+ // pictureBox1
+ //
+ this.pictureBox1.BackColor = System.Drawing.SystemColors.AppWorkspace;
+ this.pictureBox1.BorderStyle = System.Windows.Forms.BorderStyle.Fixed3D;
+ this.pictureBox1.Dock = System.Windows.Forms.DockStyle.Top;
+ this.pictureBox1.Location = new System.Drawing.Point(0, 0);
+ this.pictureBox1.Name = "pictureBox1";
+ this.pictureBox1.Size = new System.Drawing.Size(593, 1);
+ this.pictureBox1.TabIndex = 0;
+ this.pictureBox1.TabStop = false;
+ //
+ // pnlFormatBar
+ //
+ this.pnlFormatBar.BackColor = System.Drawing.Color.Silver;
+ this.pnlFormatBar.Controls.Add(this.comboSize);
+ this.pnlFormatBar.Controls.Add(this.comboFont);
+ this.pnlFormatBar.Controls.Add(this.pictureBox2);
+ this.pnlFormatBar.Controls.Add(this.btnUnderline);
+ this.pnlFormatBar.Controls.Add(this.btnItalic);
+ this.pnlFormatBar.Controls.Add(this.btnBold);
+ this.pnlFormatBar.Dock = System.Windows.Forms.DockStyle.Top;
+ this.pnlFormatBar.Location = new System.Drawing.Point(0, 52);
+ this.pnlFormatBar.Name = "pnlFormatBar";
+ this.pnlFormatBar.Size = new System.Drawing.Size(593, 28);
+ this.pnlFormatBar.TabIndex = 3;
+ //
+ // comboSize
+ //
+ this.comboSize.FormattingEnabled = true;
+ this.comboSize.Location = new System.Drawing.Point(157, 3);
+ this.comboSize.Name = "comboSize";
+ this.comboSize.Size = new System.Drawing.Size(50, 21);
+ this.comboSize.TabIndex = 1;
+ //
+ // comboFont
+ //
+ this.comboFont.FormattingEnabled = true;
+ this.comboFont.Location = new System.Drawing.Point(6, 3);
+ this.comboFont.Name = "comboFont";
+ this.comboFont.Size = new System.Drawing.Size(145, 21);
+ this.comboFont.TabIndex = 1;
+ //
+ // pictureBox2
+ //
+ this.pictureBox2.BackColor = System.Drawing.SystemColors.AppWorkspace;
+ this.pictureBox2.BorderStyle = System.Windows.Forms.BorderStyle.Fixed3D;
+ this.pictureBox2.Dock = System.Windows.Forms.DockStyle.Top;
+ this.pictureBox2.Location = new System.Drawing.Point(0, 0);
+ this.pictureBox2.Name = "pictureBox2";
+ this.pictureBox2.Size = new System.Drawing.Size(593, 1);
+ this.pictureBox2.TabIndex = 0;
+ this.pictureBox2.TabStop = false;
+ //
+ // btnUnderline
+ //
+ this.btnUnderline.BackColor = System.Drawing.Color.DimGray;
+ this.btnUnderline.BackgroundImage = global::TimeHACK.Properties.Resources.sliversilver;
+ this.btnUnderline.Font = new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
+ this.btnUnderline.Location = new System.Drawing.Point(277, 2);
+ this.btnUnderline.Name = "btnUnderline";
+ this.btnUnderline.Size = new System.Drawing.Size(26, 23);
+ this.btnUnderline.TabIndex = 1;
+ this.btnUnderline.Text = "U";
+ this.btnUnderline.UseVisualStyleBackColor = false;
+ this.btnUnderline.Click += new System.EventHandler(this.btnUnderline_Click);
+ //
+ // btnItalic
+ //
+ this.btnItalic.BackColor = System.Drawing.Color.DimGray;
+ this.btnItalic.BackgroundImage = global::TimeHACK.Properties.Resources.sliversilver;
+ this.btnItalic.Font = new System.Drawing.Font("Microsoft Sans Serif", 8.25F, ((System.Drawing.FontStyle)((System.Drawing.FontStyle.Bold | System.Drawing.FontStyle.Italic))), System.Drawing.GraphicsUnit.Point, ((byte)(0)));
+ this.btnItalic.Location = new System.Drawing.Point(245, 2);
+ this.btnItalic.Name = "btnItalic";
+ this.btnItalic.Size = new System.Drawing.Size(26, 23);
+ this.btnItalic.TabIndex = 1;
+ this.btnItalic.Text = "I";
+ this.btnItalic.UseVisualStyleBackColor = false;
+ this.btnItalic.Click += new System.EventHandler(this.btnItalic_Click);
+ //
+ // btnBold
+ //
+ this.btnBold.BackColor = System.Drawing.Color.DimGray;
+ this.btnBold.BackgroundImage = global::TimeHACK.Properties.Resources.sliversilver;
+ this.btnBold.Font = new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
+ this.btnBold.Location = new System.Drawing.Point(213, 2);
+ this.btnBold.Name = "btnBold";
+ this.btnBold.Size = new System.Drawing.Size(26, 23);
+ this.btnBold.TabIndex = 1;
+ this.btnBold.Text = "B";
+ this.btnBold.UseVisualStyleBackColor = false;
+ this.btnBold.Click += new System.EventHandler(this.btnBold_Click);
+ //
+ // statusBar
+ //
+ this.statusBar.BackColor = System.Drawing.Color.Silver;
+ this.statusBar.Controls.Add(this.lblStatus);
+ this.statusBar.Dock = System.Windows.Forms.DockStyle.Bottom;
+ this.statusBar.Location = new System.Drawing.Point(0, 353);
+ this.statusBar.Name = "statusBar";
+ this.statusBar.Size = new System.Drawing.Size(593, 17);
+ this.statusBar.TabIndex = 4;
+ //
+ // lblStatus
+ //
+ this.lblStatus.AutoSize = true;
+ this.lblStatus.Font = new System.Drawing.Font("Microsoft Sans Serif", 9.75F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
+ this.lblStatus.Location = new System.Drawing.Point(3, 1);
+ this.lblStatus.Name = "lblStatus";
+ this.lblStatus.Size = new System.Drawing.Size(119, 16);
+ this.lblStatus.TabIndex = 0;
+ this.lblStatus.Text = "For Help, Press F1";
+ //
+ // WinClassicWordPad
+ //
+ this.BackColor = System.Drawing.SystemColors.Control;
+ this.Controls.Add(this.statusBar);
+ this.Controls.Add(this.mainText);
+ this.Controls.Add(this.pnlFormatBar);
+ this.Controls.Add(this.pnlToolbar);
+ this.Controls.Add(this.topmenu);
+ this.Name = "WinClassicWordPad";
+ this.Size = new System.Drawing.Size(593, 370);
+ this.topmenu.ResumeLayout(false);
+ this.topmenu.PerformLayout();
+ this.pnlToolbar.ResumeLayout(false);
+ ((System.ComponentModel.ISupportInitialize)(this.pictureBox1)).EndInit();
+ this.pnlFormatBar.ResumeLayout(false);
+ ((System.ComponentModel.ISupportInitialize)(this.pictureBox2)).EndInit();
+ this.statusBar.ResumeLayout(false);
+ this.statusBar.PerformLayout();
+ this.ResumeLayout(false);
+ this.PerformLayout();
+
+ }
+
+ #endregion
+
+ private System.Windows.Forms.ContextMenuStrip contextMenuStrip1;
+ private System.Windows.Forms.ToolStripMenuItem helloToolStripMenuItem;
+ private System.Windows.Forms.MenuStrip topmenu;
+ private System.Windows.Forms.ToolStripMenuItem fileToolStripMenuItem;
+ private System.Windows.Forms.ToolStripMenuItem editToolStripMenuItem;
+ private System.Windows.Forms.ToolStripMenuItem viewToolStripMenuItem;
+ private System.Windows.Forms.ToolStripMenuItem insertToolStripMenuItem;
+ private System.Windows.Forms.ToolStripMenuItem formatToolStripMenuItem;
+ private System.Windows.Forms.ToolStripMenuItem helpToolStripMenuItem;
+ private System.Windows.Forms.ToolStripMenuItem newToolStripMenuItem;
+ private System.Windows.Forms.ToolStripSeparator toolStripSeparator1;
+ private System.Windows.Forms.ToolStripMenuItem sendToolStripMenuItem;
+ private System.Windows.Forms.ToolStripMenuItem exitToolStripMenuItem;
+ private System.Windows.Forms.RichTextBox mainText;
+ private System.Windows.Forms.ToolStripMenuItem undoToolStripMenuItem;
+ private System.Windows.Forms.ToolStripSeparator toolStripSeparator2;
+ private System.Windows.Forms.ToolStripMenuItem cutToolStripMenuItem;
+ private System.Windows.Forms.ToolStripMenuItem copyToolStripMenuItem;
+ private System.Windows.Forms.ToolStripMenuItem pasteToolStripMenuItem;
+ private System.Windows.Forms.ToolStripSeparator toolStripSeparator3;
+ private System.Windows.Forms.ToolStripMenuItem clearToolStripMenuItem;
+ private System.Windows.Forms.ToolStripMenuItem selectAllToolStripMenuItem;
+ private System.Windows.Forms.ToolStripMenuItem toolbarToolStripMenuItem;
+ private System.Windows.Forms.ToolStripMenuItem formatBarToolStripMenuItem;
+ private System.Windows.Forms.ToolStripMenuItem statusBarToolStripMenuItem;
+ private System.Windows.Forms.ToolStripMenuItem dateTimeToolStripMenuItem;
+ private System.Windows.Forms.ToolStripMenuItem bulletStyleToolStripMenuItem;
+ private System.Windows.Forms.ToolStripMenuItem helpTopicsToolStripMenuItem;
+ private System.Windows.Forms.ToolStripSeparator toolStripSeparator4;
+ private System.Windows.Forms.ToolStripMenuItem aboutWordpadToolStripMenuItem;
+ private System.Windows.Forms.Panel pnlToolbar;
+ private System.Windows.Forms.PictureBox pictureBox1;
+ private System.Windows.Forms.Panel pnlFormatBar;
+ private System.Windows.Forms.PictureBox pictureBox2;
+ private System.Windows.Forms.Panel statusBar;
+ private System.Windows.Forms.Label lblStatus;
+ private System.Windows.Forms.Button btnNew;
+ private System.Windows.Forms.Button btnCut;
+ private System.Windows.Forms.Button btnPaste;
+ private System.Windows.Forms.Button btnCopy;
+ private System.Windows.Forms.ComboBox comboFont;
+ private System.Windows.Forms.ComboBox comboSize;
+ private System.Windows.Forms.Button btnUnderline;
+ private System.Windows.Forms.Button btnItalic;
+ private System.Windows.Forms.Button btnBold;
+ }
+}
diff --git a/TimeHACK.Main/OS/Win95/Win95Apps/WinClassicWordPad.cs b/TimeHACK.Main/OS/Win95/Win95Apps/WinClassicWordPad.cs
new file mode 100644
index 0000000..1b7c619
--- /dev/null
+++ b/TimeHACK.Main/OS/Win95/Win95Apps/WinClassicWordPad.cs
@@ -0,0 +1,119 @@
+using System;
+using System.Collections.Generic;
+using System.ComponentModel;
+using System.Drawing;
+using System.Data;
+using System.Linq;
+using System.Text;
+using System.Threading.Tasks;
+using System.Windows.Forms;
+using System.Drawing.Text;
+using TimeHACK.Engine;
+
+namespace TimeHACK.OS.Win95.Win95Apps
+{
+ public partial class WinClassicWordPad : UserControl
+ {
+ bool btnBoldSelected = true;
+ bool btnItalicSelected;
+ bool btnUnderlineSelected;
+ bool doBold;
+ bool doItalic;
+ bool doUnderline;
+ public WinClassicWordPad()
+ {
+ InitializeComponent();
+ foreach (ToolStripMenuItem item in topmenu.Items)
+ {
+ item.Font = new Font(TitleScreen.pfc.Families[0], 16F, FontStyle.Regular, GraphicsUnit.Point, ((0)));
+ item.BackColor = Color.Silver;
+ item.BackgroundImage = Properties.Resources.sliversilver;
+ item.BackgroundImageLayout = ImageLayout.None;
+ item.DisplayStyle = ToolStripItemDisplayStyle.Text;
+ }
+
+ // Time to prepare to load all the fonts up for the combo boxes
+
+ foreach (FontFamily font in System.Drawing.FontFamily.Families)
+ {
+ // Added to the ComboBox here
+
+ comboFont.Items.Add(font.Name);
+ }
+ }
+
+ private void btnBold_Click(object sender, EventArgs e)
+ {
+ if (btnBoldSelected == false)
+ {
+ btnBold.BackgroundImage = null;
+ btnBoldSelected = true;
+
+ } else {
+ btnBold.BackgroundImage = Properties.Resources.sliversilver;
+ btnBoldSelected = false;
+ }
+ doBold = btnBoldSelected;
+ }
+
+ private void btnItalic_Click(object sender, EventArgs e)
+ {
+ btnItalic.BackColor = Color.DimGray; // This is here to fix a "have to double click" bug!
+ if (btnItalicSelected == false)
+ {
+ btnItalic.BackgroundImage = Properties.Resources.sliversilver;
+ btnItalicSelected = true;
+ }
+ else
+ {
+ btnItalic.BackgroundImage = null;
+ btnItalicSelected = false;
+ }
+ doItalic = btnItalicSelected;
+ }
+
+ private void btnUnderline_Click(object sender, EventArgs e)
+ {
+ btnUnderline.BackColor = Color.DimGray; // This is here to fix a "have to double click" bug!
+ if (btnUnderlineSelected == false)
+ {
+ btnUnderline.BackgroundImage = Properties.Resources.sliversilver;
+ btnUnderlineSelected = true;
+ }
+ else
+ {
+ btnUnderline.BackgroundImage = null;
+ btnUnderlineSelected = false;
+ }
+ doUnderline = btnUnderlineSelected;
+ }
+
+ #region Designer-Stuff
+ private void toolbarToolStripMenuItem_Click(object sender, EventArgs e)
+ {
+ pnlToolbar.Visible = toolbarToolStripMenuItem.Checked;
+ }
+
+ private void formatBarToolStripMenuItem_Click(object sender, EventArgs e)
+ {
+ pnlFormatBar.Visible = formatBarToolStripMenuItem.Checked;
+ }
+
+ private void statusBarToolStripMenuItem_Click(object sender, EventArgs e)
+ {
+ statusBar.Visible = statusBarToolStripMenuItem.Checked;
+ }
+
+ private void exitToolStripMenuItem_Click(object sender, EventArgs e)
+ {
+ ((Form)this.TopLevelControl).Close();
+ }
+ #endregion
+
+ private void aboutWordpadToolStripMenuItem_Click(object sender, EventArgs e)
+ {
+ WindowManager wm = new WindowManager();
+ wm.startAboutBox95("Wordpad", "Microsoft Wordpad", Properties.Resources.WinClassicWordpad);
+ }
+ }
+}
diff --git a/TimeHACK.Main/OS/Win95/Win95Apps/WinClassicWordPad.resx b/TimeHACK.Main/OS/Win95/Win95Apps/WinClassicWordPad.resx
new file mode 100644
index 0000000..6dff4e6
--- /dev/null
+++ b/TimeHACK.Main/OS/Win95/Win95Apps/WinClassicWordPad.resx
@@ -0,0 +1,123 @@
+<?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>
+ <metadata name="topmenu.TrayLocation" type="System.Drawing.Point, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a">
+ <value>17, 17</value>
+ </metadata>
+</root> \ No newline at end of file