aboutsummaryrefslogtreecommitdiff
path: root/TimeHACK.Main/OS/Win95/Win95Apps
diff options
context:
space:
mode:
authorAlex-TIMEHACK <[email protected]>2017-05-06 17:56:00 +0100
committerAlex-TIMEHACK <[email protected]>2017-05-06 17:56:00 +0100
commitb3d60f914a4619f637e1ee6aa3f80ab0cc7f4b51 (patch)
tree13d611505be833324e0582ba87ee67713d13be22 /TimeHACK.Main/OS/Win95/Win95Apps
parent5a311ff05f13f480ce753c2f34a116443aba291a (diff)
downloadhistacom2-b3d60f914a4619f637e1ee6aa3f80ab0cc7f4b51.tar.gz
histacom2-b3d60f914a4619f637e1ee6aa3f80ab0cc7f4b51.tar.bz2
histacom2-b3d60f914a4619f637e1ee6aa3f80ab0cc7f4b51.zip
Added an Address Book! PLZ ACCEPT
Diffstat (limited to 'TimeHACK.Main/OS/Win95/Win95Apps')
-rw-r--r--TimeHACK.Main/OS/Win95/Win95Apps/WinClassicAddressBook.Designer.cs105
-rw-r--r--TimeHACK.Main/OS/Win95/Win95Apps/WinClassicAddressBook.cs17
-rw-r--r--TimeHACK.Main/OS/Win95/Win95Apps/WinClassicAddressBook.resx3
3 files changed, 124 insertions, 1 deletions
diff --git a/TimeHACK.Main/OS/Win95/Win95Apps/WinClassicAddressBook.Designer.cs b/TimeHACK.Main/OS/Win95/Win95Apps/WinClassicAddressBook.Designer.cs
index 09f32df..4974cc2 100644
--- a/TimeHACK.Main/OS/Win95/Win95Apps/WinClassicAddressBook.Designer.cs
+++ b/TimeHACK.Main/OS/Win95/Win95Apps/WinClassicAddressBook.Designer.cs
@@ -28,18 +28,121 @@
/// </summary>
private void InitializeComponent()
{
+ this.label1 = new System.Windows.Forms.Label();
+ this.topmenu = new System.Windows.Forms.MenuStrip();
+ this.fileToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
+ this.editToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
+ this.viewToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
+ this.toolsToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
+ this.helpToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
+ this.newContactToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
+ this.newGroupToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
+ this.newFolderToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
+ this.topmenu.SuspendLayout();
this.SuspendLayout();
//
+ // label1
+ //
+ this.label1.AutoSize = true;
+ this.label1.Font = new System.Drawing.Font("Microsoft Sans Serif", 26.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
+ this.label1.Location = new System.Drawing.Point(114, 85);
+ this.label1.Name = "label1";
+ this.label1.Size = new System.Drawing.Size(442, 39);
+ this.label1.TabIndex = 0;
+ this.label1.Text = "YOY! This is my application";
+ //
+ // topmenu
+ //
+ this.topmenu.Items.AddRange(new System.Windows.Forms.ToolStripItem[] {
+ this.fileToolStripMenuItem,
+ this.editToolStripMenuItem,
+ this.viewToolStripMenuItem,
+ this.toolsToolStripMenuItem,
+ this.helpToolStripMenuItem});
+ this.topmenu.Location = new System.Drawing.Point(0, 0);
+ this.topmenu.Name = "topmenu";
+ this.topmenu.Size = new System.Drawing.Size(666, 24);
+ this.topmenu.TabIndex = 1;
+ this.topmenu.Text = "menuStrip1";
+ //
+ // fileToolStripMenuItem
+ //
+ this.fileToolStripMenuItem.DropDownItems.AddRange(new System.Windows.Forms.ToolStripItem[] {
+ this.newContactToolStripMenuItem,
+ this.newGroupToolStripMenuItem,
+ this.newFolderToolStripMenuItem});
+ this.fileToolStripMenuItem.Name = "fileToolStripMenuItem";
+ this.fileToolStripMenuItem.Size = new System.Drawing.Size(37, 20);
+ this.fileToolStripMenuItem.Text = "File";
+ //
+ // editToolStripMenuItem
+ //
+ this.editToolStripMenuItem.Name = "editToolStripMenuItem";
+ this.editToolStripMenuItem.Size = new System.Drawing.Size(39, 20);
+ this.editToolStripMenuItem.Text = "Edit";
+ //
+ // viewToolStripMenuItem
+ //
+ this.viewToolStripMenuItem.Name = "viewToolStripMenuItem";
+ this.viewToolStripMenuItem.Size = new System.Drawing.Size(44, 20);
+ this.viewToolStripMenuItem.Text = "View";
+ //
+ // toolsToolStripMenuItem
+ //
+ this.toolsToolStripMenuItem.Name = "toolsToolStripMenuItem";
+ this.toolsToolStripMenuItem.Size = new System.Drawing.Size(47, 20);
+ this.toolsToolStripMenuItem.Text = "Tools";
+ //
+ // helpToolStripMenuItem
+ //
+ this.helpToolStripMenuItem.Name = "helpToolStripMenuItem";
+ this.helpToolStripMenuItem.Size = new System.Drawing.Size(44, 20);
+ this.helpToolStripMenuItem.Text = "Help";
+ //
+ // newContactToolStripMenuItem
+ //
+ this.newContactToolStripMenuItem.Name = "newContactToolStripMenuItem";
+ this.newContactToolStripMenuItem.Size = new System.Drawing.Size(152, 22);
+ this.newContactToolStripMenuItem.Text = "New contact...";
+ //
+ // newGroupToolStripMenuItem
+ //
+ this.newGroupToolStripMenuItem.Name = "newGroupToolStripMenuItem";
+ this.newGroupToolStripMenuItem.Size = new System.Drawing.Size(152, 22);
+ this.newGroupToolStripMenuItem.Text = "New group...";
+ //
+ // newFolderToolStripMenuItem
+ //
+ this.newFolderToolStripMenuItem.Name = "newFolderToolStripMenuItem";
+ this.newFolderToolStripMenuItem.Size = new System.Drawing.Size(152, 22);
+ this.newFolderToolStripMenuItem.Text = "New folder...";
+ //
// WinClassicAddressBook
//
this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F);
this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
+ this.Controls.Add(this.label1);
+ this.Controls.Add(this.topmenu);
this.Name = "WinClassicAddressBook";
- this.Size = new System.Drawing.Size(260, 264);
+ this.Size = new System.Drawing.Size(666, 425);
+ this.topmenu.ResumeLayout(false);
+ this.topmenu.PerformLayout();
this.ResumeLayout(false);
+ this.PerformLayout();
}
#endregion
+
+ private System.Windows.Forms.Label label1;
+ 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 toolsToolStripMenuItem;
+ private System.Windows.Forms.ToolStripMenuItem helpToolStripMenuItem;
+ private System.Windows.Forms.ToolStripMenuItem newContactToolStripMenuItem;
+ private System.Windows.Forms.ToolStripMenuItem newGroupToolStripMenuItem;
+ private System.Windows.Forms.ToolStripMenuItem newFolderToolStripMenuItem;
}
}
diff --git a/TimeHACK.Main/OS/Win95/Win95Apps/WinClassicAddressBook.cs b/TimeHACK.Main/OS/Win95/Win95Apps/WinClassicAddressBook.cs
index 3934fa7..624267c 100644
--- a/TimeHACK.Main/OS/Win95/Win95Apps/WinClassicAddressBook.cs
+++ b/TimeHACK.Main/OS/Win95/Win95Apps/WinClassicAddressBook.cs
@@ -15,6 +15,23 @@ namespace TimeHACK.OS.Win95.Win95Apps
public WinClassicAddressBook()
{
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.Center;
+ 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);
+ //}
}
}
}
diff --git a/TimeHACK.Main/OS/Win95/Win95Apps/WinClassicAddressBook.resx b/TimeHACK.Main/OS/Win95/Win95Apps/WinClassicAddressBook.resx
index 1af7de1..6dff4e6 100644
--- a/TimeHACK.Main/OS/Win95/Win95Apps/WinClassicAddressBook.resx
+++ b/TimeHACK.Main/OS/Win95/Win95Apps/WinClassicAddressBook.resx
@@ -117,4 +117,7 @@
<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