diff options
| author | Alex-TIMEHACK <[email protected]> | 2017-11-04 09:56:30 +0000 |
|---|---|---|
| committer | Alex-TIMEHACK <[email protected]> | 2017-11-04 09:56:30 +0000 |
| commit | e7a1221130047f442ae7fb36ab399eca51d0ba33 (patch) | |
| tree | 37dceb6167bde26d409c9351f04f2a73b89271e2 /Histacom2 | |
| parent | f933ce9b841a5f302066336877f86119de034eb4 (diff) | |
| download | histacom2-e7a1221130047f442ae7fb36ab399eca51d0ba33.tar.gz histacom2-e7a1221130047f442ae7fb36ab399eca51d0ba33.tar.bz2 histacom2-e7a1221130047f442ae7fb36ab399eca51d0ba33.zip | |
Fix moar bugs
Diffstat (limited to 'Histacom2')
| -rw-r--r-- | Histacom2/OS/Win98/Win98Apps/AddressBook/WinClassicAddressBook.Designer.cs | 23 | ||||
| -rw-r--r-- | Histacom2/OS/Win98/Win98Apps/AddressBook/WinClassicAddressBook.cs | 5 | ||||
| -rw-r--r-- | Histacom2/Program.cs | 4 | ||||
| -rw-r--r-- | Histacom2/TitleScreen.cs | 33 |
4 files changed, 19 insertions, 46 deletions
diff --git a/Histacom2/OS/Win98/Win98Apps/AddressBook/WinClassicAddressBook.Designer.cs b/Histacom2/OS/Win98/Win98Apps/AddressBook/WinClassicAddressBook.Designer.cs index cbe2600..85bccf0 100644 --- a/Histacom2/OS/Win98/Win98Apps/AddressBook/WinClassicAddressBook.Designer.cs +++ b/Histacom2/OS/Win98/Win98Apps/AddressBook/WinClassicAddressBook.Designer.cs @@ -105,67 +105,67 @@ // newContactToolStripMenuItem // this.newContactToolStripMenuItem.Name = "newContactToolStripMenuItem"; - this.newContactToolStripMenuItem.Size = new System.Drawing.Size(150, 22); + this.newContactToolStripMenuItem.Size = new System.Drawing.Size(152, 22); this.newContactToolStripMenuItem.Text = "New contact..."; this.newContactToolStripMenuItem.Click += new System.EventHandler(this.newContactToolStripMenuItem_Click); // // newFolderToolStripMenuItem // this.newFolderToolStripMenuItem.Name = "newFolderToolStripMenuItem"; - this.newFolderToolStripMenuItem.Size = new System.Drawing.Size(150, 22); + this.newFolderToolStripMenuItem.Size = new System.Drawing.Size(152, 22); this.newFolderToolStripMenuItem.Text = "New folder..."; this.newFolderToolStripMenuItem.Click += new System.EventHandler(this.newFolderToolStripMenuItem_Click); // // toolStripSeparator1 // this.toolStripSeparator1.Name = "toolStripSeparator1"; - this.toolStripSeparator1.Size = new System.Drawing.Size(147, 6); + this.toolStripSeparator1.Size = new System.Drawing.Size(149, 6); // // propertiesToolStripMenuItem // this.propertiesToolStripMenuItem.Name = "propertiesToolStripMenuItem"; - this.propertiesToolStripMenuItem.Size = new System.Drawing.Size(150, 22); + this.propertiesToolStripMenuItem.Size = new System.Drawing.Size(152, 22); this.propertiesToolStripMenuItem.Text = "Properties"; this.propertiesToolStripMenuItem.Click += new System.EventHandler(this.propertiesToolStripMenuItem_Click); // // deleteToolStripMenuItem // this.deleteToolStripMenuItem.Name = "deleteToolStripMenuItem"; - this.deleteToolStripMenuItem.Size = new System.Drawing.Size(150, 22); + this.deleteToolStripMenuItem.Size = new System.Drawing.Size(152, 22); this.deleteToolStripMenuItem.Text = "Delete"; this.deleteToolStripMenuItem.Click += new System.EventHandler(this.deleteToolStripMenuItem_Click); // // toolStripSeparator2 // this.toolStripSeparator2.Name = "toolStripSeparator2"; - this.toolStripSeparator2.Size = new System.Drawing.Size(147, 6); + this.toolStripSeparator2.Size = new System.Drawing.Size(149, 6); // // importToolStripMenuItem // this.importToolStripMenuItem.Name = "importToolStripMenuItem"; - this.importToolStripMenuItem.Size = new System.Drawing.Size(150, 22); + this.importToolStripMenuItem.Size = new System.Drawing.Size(152, 22); this.importToolStripMenuItem.Text = "Import..."; // // exportToolStripMenuItem // this.exportToolStripMenuItem.Name = "exportToolStripMenuItem"; - this.exportToolStripMenuItem.Size = new System.Drawing.Size(150, 22); + this.exportToolStripMenuItem.Size = new System.Drawing.Size(152, 22); this.exportToolStripMenuItem.Text = "Export..."; // // toolStripSeparator3 // this.toolStripSeparator3.Name = "toolStripSeparator3"; - this.toolStripSeparator3.Size = new System.Drawing.Size(147, 6); + this.toolStripSeparator3.Size = new System.Drawing.Size(149, 6); // // toolStripSeparator4 // this.toolStripSeparator4.Name = "toolStripSeparator4"; - this.toolStripSeparator4.Size = new System.Drawing.Size(147, 6); + this.toolStripSeparator4.Size = new System.Drawing.Size(149, 6); // // exitToolStripMenuItem // this.exitToolStripMenuItem.Name = "exitToolStripMenuItem"; - this.exitToolStripMenuItem.Size = new System.Drawing.Size(150, 22); + this.exitToolStripMenuItem.Size = new System.Drawing.Size(152, 22); this.exitToolStripMenuItem.Text = "Exit"; this.exitToolStripMenuItem.Click += new System.EventHandler(this.exitToolStripMenuItem_Click); // @@ -304,6 +304,7 @@ this.toolNew.Size = new System.Drawing.Size(43, 39); this.toolNew.TabIndex = 0; this.toolNew.TabStop = false; + this.toolNew.Click += new System.EventHandler(this.toolNew_Click); // // toolDelete // diff --git a/Histacom2/OS/Win98/Win98Apps/AddressBook/WinClassicAddressBook.cs b/Histacom2/OS/Win98/Win98Apps/AddressBook/WinClassicAddressBook.cs index ccd22f0..c4c6960 100644 --- a/Histacom2/OS/Win98/Win98Apps/AddressBook/WinClassicAddressBook.cs +++ b/Histacom2/OS/Win98/Win98Apps/AddressBook/WinClassicAddressBook.cs @@ -275,6 +275,11 @@ namespace Histacom2.OS.Win95.Win95Apps { ((Form)this.TopLevelControl).Close(); } + + private void toolNew_Click(object sender, EventArgs e) + { + newContext.Show(); + } } public class AddressBookContact diff --git a/Histacom2/Program.cs b/Histacom2/Program.cs index 97fee5f..e19c770 100644 --- a/Histacom2/Program.cs +++ b/Histacom2/Program.cs @@ -96,8 +96,8 @@ namespace Histacom2 public static void AddTaskbarItem(Form Application, string ApplicationID, string ApplicationName, Image ApplicationIcon) { - TitleScreen.frm95.AddTaskBarItem(Application, ApplicationID, ApplicationName, ApplicationIcon); - TitleScreen.frm98.AddTaskBarItem(Application, ApplicationID, ApplicationName, ApplicationIcon); + if (TitleScreen.frm95 != null) TitleScreen.frm95.AddTaskBarItem(Application, ApplicationID, ApplicationName, ApplicationIcon); + if (TitleScreen.frm98 != null) TitleScreen.frm98.AddTaskBarItem(Application, ApplicationID, ApplicationName, ApplicationIcon); } public static void NonImportantApp_Closing(object sender, FormClosingEventArgs e) diff --git a/Histacom2/TitleScreen.cs b/Histacom2/TitleScreen.cs index 4108204..ef235cf 100644 --- a/Histacom2/TitleScreen.cs +++ b/Histacom2/TitleScreen.cs @@ -149,23 +149,6 @@ namespace Histacom2 HelpToolStripMenuItem.Font = new Font(pfc.Families[0], 16F, FontStyle.Regular, GraphicsUnit.Point, ((byte)(0))); ShutdownToolStripMenuItem.Font = new Font(pfc.Families[0], 16F, FontStyle.Regular, GraphicsUnit.Point, ((byte)(0))); } - -<<<<<<< HEAD - private static void leet() - { - WindowManager wm = new WindowManager(); - UserControl leet = new UserControl(); - leet.Width = 500; - leet.Height = 500; - Label label1 = new Label(); - label1.Parent = leet; - label1.AutoSize = true; - label1.Text = "Thank you for making Histacom2 possible."; - wm.Init(leet, "Thank You", null, true, true); - } - -======= ->>>>>>> 382f0167714bbcad00ab710fe7dcfa05eaeb88ac #region Menu Buttons #region NewGame @@ -275,21 +258,5 @@ namespace Histacom2 AchievementScreen achievelist = new AchievementScreen(); achievelist.ShowDialog(); } - - private void vm_mode_CheckStateChanged(object sender, EventArgs e) - { - // Check for VM mode - if (vm_mode.Checked) - { - VM_Width.Visible = true; - VM_Height.Visible = true; - } - // If VM Mode is disabled - else - { - VM_Width.Visible = false; - VM_Height.Visible = false; - } - } } } |
