diff options
| author | lempamo <[email protected]> | 2017-08-09 18:02:34 -0400 |
|---|---|---|
| committer | lempamo <[email protected]> | 2017-08-09 18:02:34 -0400 |
| commit | b3c84489d5597811822099220dbe28f57b62a9a8 (patch) | |
| tree | e1dd64df535f7fdbc2d9ad25a9fb13642a7a5bd3 /TimeHACK.Main/OS | |
| parent | 1d56f20e085a041c007fb7ac1fd64c7b8aabfa0f (diff) | |
| download | histacom2-b3c84489d5597811822099220dbe28f57b62a9a8.tar.gz histacom2-b3c84489d5597811822099220dbe28f57b62a9a8.tar.bz2 histacom2-b3c84489d5597811822099220dbe28f57b62a9a8.zip | |
time distorter 0.1 up and running
Diffstat (limited to 'TimeHACK.Main/OS')
6 files changed, 148 insertions, 634 deletions
diff --git a/TimeHACK.Main/OS/Win95/Win95Apps/MineSweeper/WinClassicMinesweeper.Designer.cs b/TimeHACK.Main/OS/Win95/Win95Apps/MineSweeper/WinClassicMinesweeper.Designer.cs index 10beaaa..0cb1d2f 100644 --- a/TimeHACK.Main/OS/Win95/Win95Apps/MineSweeper/WinClassicMinesweeper.Designer.cs +++ b/TimeHACK.Main/OS/Win95/Win95Apps/MineSweeper/WinClassicMinesweeper.Designer.cs @@ -107,6 +107,7 @@ this.helpToolStripMenuItem}); this.menuStrip1.Location = new System.Drawing.Point(0, 0); this.menuStrip1.Name = "menuStrip1"; + this.menuStrip1.Padding = new System.Windows.Forms.Padding(2, 2, 0, 2); this.menuStrip1.Size = new System.Drawing.Size(164, 24); this.menuStrip1.TabIndex = 8; this.menuStrip1.Text = "menuStrip1"; @@ -129,8 +130,9 @@ this.toolStripSeparator4, this.exitToolStripMenuItem}); this.gameToolStripMenuItem.Name = "gameToolStripMenuItem"; - this.gameToolStripMenuItem.Size = new System.Drawing.Size(50, 20); - this.gameToolStripMenuItem.Text = "Game"; + this.gameToolStripMenuItem.Padding = new System.Windows.Forms.Padding(0); + this.gameToolStripMenuItem.Size = new System.Drawing.Size(42, 20); + this.gameToolStripMenuItem.Text = "&Game"; this.gameToolStripMenuItem.TextImageRelation = System.Windows.Forms.TextImageRelation.Overlay; // // newToolStripMenuItem @@ -258,8 +260,9 @@ this.toolStripSeparator5, this.aboutMinesweeperToolStripMenuItem}); this.helpToolStripMenuItem.Name = "helpToolStripMenuItem"; - this.helpToolStripMenuItem.Size = new System.Drawing.Size(44, 20); - this.helpToolStripMenuItem.Text = "Help"; + this.helpToolStripMenuItem.Padding = new System.Windows.Forms.Padding(0); + this.helpToolStripMenuItem.Size = new System.Drawing.Size(36, 20); + this.helpToolStripMenuItem.Text = "&Help"; // // helpTopicsToolStripMenuItem // diff --git a/TimeHACK.Main/OS/Win95/Win95Apps/Story/Hack2.cs b/TimeHACK.Main/OS/Win95/Win95Apps/Story/Hack2.cs index 4e5511a..ecea3af 100644 --- a/TimeHACK.Main/OS/Win95/Win95Apps/Story/Hack2.cs +++ b/TimeHACK.Main/OS/Win95/Win95Apps/Story/Hack2.cs @@ -1,7 +1,11 @@ using System; +using System.Drawing; +using System.Media; using System.Threading.Tasks; +using System.Windows.Forms; using TimeHACK.Engine; using TimeHACK.Engine.Template; +using TimeHACK.OS.Win98; namespace TimeHACK.OS.Win95.Win95Apps.Story { @@ -12,6 +16,7 @@ namespace TimeHACK.OS.Win95.Win95Apps.Story public static async void StartObjective() { WinClassicTerminal Console = new WinClassicTerminal(true); + Random r = new Random(); WinClassic app = wm.StartWin95(Console, "MS-DOS Prompt", null, true, true); Console.WriteLine("telnet> 185.152.46.51 Connecting..."); @@ -92,8 +97,8 @@ namespace TimeHACK.OS.Win95.Win95Apps.Story Console.WriteLine("12padams> NO! That's impossible!"); await Task.Delay(3000); Console.WriteLine("The Hidden Hacker> Oh, is it? Well, watch this!"); - await Task.Delay(2500); - TitleScreen.frm95.distort.Counter = 14; + TitleScreen.frm95.distort.Counter = 16; + await Task.Delay(2000); Console.WriteLine("Command> Show Timer"); TitleScreen.frm95.distort.lblCountDown.Show(); await Task.Delay(3000); @@ -129,7 +134,8 @@ namespace TimeHACK.OS.Win95.Win95Apps.Story await Task.Delay(100); Program.Invert(Console.cmdPrompt); app.Close(); - await Task.Delay(1000); + await Task.Delay(100); + TitleScreen.frm95.taskbar.BackgroundImage = null; Program.Invert(TitleScreen.frm95.taskbar, false); await Task.Delay(100); Program.Invert(TitleScreen.frm95.taskbar, false); @@ -151,6 +157,126 @@ namespace TimeHACK.OS.Win95.Win95Apps.Story Program.Invert(TitleScreen.frm95.taskbar, false); await Task.Delay(100); TitleScreen.frm95.taskbar.Hide(); + await Task.Delay(100); + TitleScreen.frm95.desktopicons.Hide(); + await Task.Delay(100); + TitleScreen.frm95.desktopicons.Show(); + await Task.Delay(100); + TitleScreen.frm95.desktopicons.Hide(); + await Task.Delay(100); + TitleScreen.frm95.desktopicons.Show(); + await Task.Delay(100); + TitleScreen.frm95.desktopicons.Hide(); + await Task.Delay(100); + TitleScreen.frm95.desktopicons.Show(); + await Task.Delay(100); + TitleScreen.frm95.desktopicons.Hide(); + await Task.Delay(100); + TitleScreen.frm95.desktopicons.Show(); + await Task.Delay(100); + TitleScreen.frm95.desktopicons.Hide(); + await Task.Delay(100); + Program.Invert(TitleScreen.frm95, false); + await Task.Delay(100); + Program.Invert(TitleScreen.frm95, false); + await Task.Delay(100); + Program.Invert(TitleScreen.frm95, false); + await Task.Delay(100); + Program.Invert(TitleScreen.frm95, false); + await Task.Delay(100); + Program.Invert(TitleScreen.frm95, false); + await Task.Delay(100); + Program.Invert(TitleScreen.frm95, false); + await Task.Delay(100); + Program.Invert(TitleScreen.frm95, false); + await Task.Delay(100); + Program.Invert(TitleScreen.frm95, false); + await Task.Delay(100); + Program.Invert(TitleScreen.frm95, false); + await Task.Delay(100); + Program.Invert(TitleScreen.frm95, false); + await Task.Delay(100); + TitleScreen.frm95.distort.ParentForm.Location = new Point(r.Next(TitleScreen.frm95.Width), r.Next(TitleScreen.frm95.Height)); + Program.Invert(TitleScreen.frm95, false); + await Task.Delay(100); + TitleScreen.frm95.distort.ParentForm.Location = new Point(r.Next(TitleScreen.frm95.Width), r.Next(TitleScreen.frm95.Height)); + Program.Invert(TitleScreen.frm95, false); + await Task.Delay(100); + TitleScreen.frm95.distort.ParentForm.Location = new Point(r.Next(TitleScreen.frm95.Width), r.Next(TitleScreen.frm95.Height)); + Program.Invert(TitleScreen.frm95, false); + await Task.Delay(100); + TitleScreen.frm95.distort.ParentForm.Location = new Point(r.Next(TitleScreen.frm95.Width), r.Next(TitleScreen.frm95.Height)); + Program.Invert(TitleScreen.frm95, false); + await Task.Delay(100); + TitleScreen.frm95.distort.ParentForm.Location = new Point(r.Next(TitleScreen.frm95.Width), r.Next(TitleScreen.frm95.Height)); + Program.Invert(TitleScreen.frm95, false); + await Task.Delay(100); + TitleScreen.frm95.distort.ParentForm.Location = new Point(r.Next(TitleScreen.frm95.Width), r.Next(TitleScreen.frm95.Height)); + Program.Invert(TitleScreen.frm95, false); + await Task.Delay(100); + TitleScreen.frm95.distort.ParentForm.Location = new Point(r.Next(TitleScreen.frm95.Width), r.Next(TitleScreen.frm95.Height)); + Program.Invert(TitleScreen.frm95, false); + await Task.Delay(100); + TitleScreen.frm95.distort.ParentForm.Location = new Point(r.Next(TitleScreen.frm95.Width), r.Next(TitleScreen.frm95.Height)); + Program.Invert(TitleScreen.frm95, false); + await Task.Delay(100); + TitleScreen.frm95.distort.ParentForm.Location = new Point(r.Next(TitleScreen.frm95.Width), r.Next(TitleScreen.frm95.Height)); + Program.Invert(TitleScreen.frm95, false); + await Task.Delay(100); + TitleScreen.frm95.distort.ParentForm.Location = new Point(r.Next(TitleScreen.frm95.Width), r.Next(TitleScreen.frm95.Height)); + Program.Invert(TitleScreen.frm95, false); + await Task.Delay(100); + TitleScreen.frm95.Hide(); + ((WinClassic)TitleScreen.frm95.distort.ParentForm).BringToFront(); + ((WinClassic)TitleScreen.frm95.distort.ParentForm).maximizebutton.Enabled = false; + ((WinClassic)TitleScreen.frm95.distort.ParentForm).WindowState = FormWindowState.Maximized; + ((WinClassic)TitleScreen.frm95.distort.ParentForm).right.Hide(); + ((WinClassic)TitleScreen.frm95.distort.ParentForm).left.Hide(); + ((WinClassic)TitleScreen.frm95.distort.ParentForm).bottom.Hide(); + ((WinClassic)TitleScreen.frm95.distort.ParentForm).top.Hide(); + ((WinClassic)TitleScreen.frm95.distort.ParentForm).bottomleftcorner.Hide(); + ((WinClassic)TitleScreen.frm95.distort.ParentForm).bottomrightcorner.Hide(); + ((WinClassic)TitleScreen.frm95.distort.ParentForm).topleftcorner.Hide(); + ((WinClassic)TitleScreen.frm95.distort.ParentForm).toprightcorner.Hide(); + ((WinClassic)TitleScreen.frm95.distort.ParentForm).Dock = DockStyle.Fill; + ((WinClassic)TitleScreen.frm95.distort.ParentForm).max = true; + ((WinClassic)TitleScreen.frm95.distort.ParentForm).maximizebutton.Image = Engine.Properties.Resources.WinClassicRestore; + ((WinClassic)TitleScreen.frm95.distort.ParentForm).programtopbar.Hide(); + TitleScreen.frm95.distort.BackColor = Color.Black; + TitleScreen.frm95.distort.btnGo.Hide(); + foreach (Control c in TitleScreen.frm95.distort.Controls) c.ForeColor = Color.Silver; + TitleScreen.frm95.distort.lblCountDown.Text = "Traveling..."; + + Point start = TitleScreen.frm95.distort.lblTo.Location; + Point end = new Point(TitleScreen.frm95.distort.lblDestYear.Location.X - TitleScreen.frm95.distort.lblTo.Width - 10, TitleScreen.frm95.distort.lblDestYear.Location.Y); + int increment = (end.X - start.X) / 50; + + SoundPlayer sp = new SoundPlayer(Properties.Resources.distort1); + sp.Play(); + await Task.Delay(1000); + + for (int i = 0; i < 50; i += 2) + { + TitleScreen.frm95.distort.lblTo.ForeColor = Color.White; + TitleScreen.frm95.distort.lblTo.Location = new Point(TitleScreen.frm95.distort.lblTo.Location.X + increment, TitleScreen.frm95.distort.lblTo.Location.Y); + await Task.Delay(100); + TitleScreen.frm95.distort.lblTo.ForeColor = Color.Silver; + TitleScreen.frm95.distort.lblTo.Location = new Point(TitleScreen.frm95.distort.lblTo.Location.X + increment, TitleScreen.frm95.distort.lblTo.Location.Y); + await Task.Delay(100); + } + foreach (Control c in TitleScreen.frm95.distort.Controls) c.ForeColor = Color.Gray; + await Task.Delay(100); + foreach (Control c in TitleScreen.frm95.distort.Controls) c.ForeColor = Color.Black; + await Task.Delay(2000); + sp.Stop(); + + SaveSystem.UpgradeFileSystem("95", "98"); + SaveSystem.CurrentSave.CurrentOS = "98"; + SaveSystem.currentTheme = new Default98Theme(); + TitleScreen.frm95.distort.ParentForm.Close(); + Program.title.StartGame(); + TitleScreen.frm95.Close(); + return; } } } diff --git a/TimeHACK.Main/OS/Win95/Win95Apps/WinClassicNotepad.Designer.cs b/TimeHACK.Main/OS/Win95/Win95Apps/WinClassicNotepad.Designer.cs deleted file mode 100644 index bd614eb..0000000 --- a/TimeHACK.Main/OS/Win95/Win95Apps/WinClassicNotepad.Designer.cs +++ /dev/null @@ -1,376 +0,0 @@ -namespace TimeHACK.OS.Win95.Win95Apps -{ - partial class WinClassicNotepad - { - /// <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.menuStrip1 = new System.Windows.Forms.MenuStrip(); - this.fileToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem(); - this.newToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem(); - this.openToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem(); - this.saveToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem(); - this.saveAsToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem(); - this.pageSetupToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem(); - this.printToolStripMenuItem = 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.cutToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem(); - this.copyToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem(); - this.pasteToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem(); - this.deleteToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem(); - this.selectAllToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem(); - this.timeDateToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem(); - this.wordWrapToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem(); - this.searchToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem(); - this.findToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem(); - this.findNextToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem(); - this.helpToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem(); - this.helpTopicsToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem(); - this.aboutNotepadToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem(); - this.mainText = new System.Windows.Forms.TextBox(); - this.menuStrip1.SuspendLayout(); - this.SuspendLayout(); - // - // menuStrip1 - // - this.menuStrip1.BackColor = System.Drawing.Color.Silver; - this.menuStrip1.Items.AddRange(new System.Windows.Forms.ToolStripItem[] { - this.fileToolStripMenuItem, - this.editToolStripMenuItem, - this.searchToolStripMenuItem, - this.helpToolStripMenuItem}); - this.menuStrip1.Location = new System.Drawing.Point(0, 0); - this.menuStrip1.Name = "menuStrip1"; - this.menuStrip1.Size = new System.Drawing.Size(619, 24); - this.menuStrip1.TabIndex = 0; - this.menuStrip1.Text = "menuStrip1"; - // - // fileToolStripMenuItem - // - this.fileToolStripMenuItem.BackColor = System.Drawing.Color.Silver; - this.fileToolStripMenuItem.BackgroundImage = global::TimeHACK.Properties.Resources.sliversilver; - this.fileToolStripMenuItem.BackgroundImageLayout = System.Windows.Forms.ImageLayout.None; - this.fileToolStripMenuItem.DropDownItems.AddRange(new System.Windows.Forms.ToolStripItem[] { - this.newToolStripMenuItem, - this.openToolStripMenuItem, - this.saveToolStripMenuItem, - this.saveAsToolStripMenuItem, - this.pageSetupToolStripMenuItem, - this.printToolStripMenuItem, - this.exitToolStripMenuItem}); - this.fileToolStripMenuItem.Name = "fileToolStripMenuItem"; - this.fileToolStripMenuItem.Size = new System.Drawing.Size(37, 20); - this.fileToolStripMenuItem.Text = "File"; - // - // newToolStripMenuItem - // - this.newToolStripMenuItem.BackColor = System.Drawing.Color.Silver; - this.newToolStripMenuItem.BackgroundImage = global::TimeHACK.Properties.Resources.sliversilver; - this.newToolStripMenuItem.BackgroundImageLayout = System.Windows.Forms.ImageLayout.None; - this.newToolStripMenuItem.Name = "newToolStripMenuItem"; - this.newToolStripMenuItem.Size = new System.Drawing.Size(142, 22); - this.newToolStripMenuItem.Text = "New"; - // - // openToolStripMenuItem - // - this.openToolStripMenuItem.BackColor = System.Drawing.Color.Silver; - this.openToolStripMenuItem.BackgroundImage = global::TimeHACK.Properties.Resources.sliversilver; - this.openToolStripMenuItem.BackgroundImageLayout = System.Windows.Forms.ImageLayout.None; - this.openToolStripMenuItem.Name = "openToolStripMenuItem"; - this.openToolStripMenuItem.Size = new System.Drawing.Size(142, 22); - this.openToolStripMenuItem.Text = "Open..."; - this.openToolStripMenuItem.Click += new System.EventHandler(this.openToolStripMenuItem_Click); - // - // saveToolStripMenuItem - // - this.saveToolStripMenuItem.BackColor = System.Drawing.Color.Silver; - this.saveToolStripMenuItem.BackgroundImage = global::TimeHACK.Properties.Resources.sliversilver; - this.saveToolStripMenuItem.BackgroundImageLayout = System.Windows.Forms.ImageLayout.None; - this.saveToolStripMenuItem.Name = "saveToolStripMenuItem"; - this.saveToolStripMenuItem.Size = new System.Drawing.Size(142, 22); - this.saveToolStripMenuItem.Text = "Save"; - this.saveToolStripMenuItem.Click += new System.EventHandler(this.saveToolStripMenuItem_Click); - // - // saveAsToolStripMenuItem - // - this.saveAsToolStripMenuItem.BackColor = System.Drawing.Color.Silver; - this.saveAsToolStripMenuItem.BackgroundImage = global::TimeHACK.Properties.Resources.sliversilver; - this.saveAsToolStripMenuItem.BackgroundImageLayout = System.Windows.Forms.ImageLayout.None; - this.saveAsToolStripMenuItem.Name = "saveAsToolStripMenuItem"; - this.saveAsToolStripMenuItem.Size = new System.Drawing.Size(142, 22); - this.saveAsToolStripMenuItem.Text = "Save As..."; - // - // pageSetupToolStripMenuItem - // - this.pageSetupToolStripMenuItem.BackColor = System.Drawing.Color.Silver; - this.pageSetupToolStripMenuItem.BackgroundImage = global::TimeHACK.Properties.Resources.sliversilver; - this.pageSetupToolStripMenuItem.BackgroundImageLayout = System.Windows.Forms.ImageLayout.None; - this.pageSetupToolStripMenuItem.Name = "pageSetupToolStripMenuItem"; - this.pageSetupToolStripMenuItem.Size = new System.Drawing.Size(142, 22); - this.pageSetupToolStripMenuItem.Text = "Page Setup..."; - // - // printToolStripMenuItem - // - this.printToolStripMenuItem.BackColor = System.Drawing.Color.Silver; - this.printToolStripMenuItem.BackgroundImage = global::TimeHACK.Properties.Resources.sliversilver; - this.printToolStripMenuItem.BackgroundImageLayout = System.Windows.Forms.ImageLayout.None; - this.printToolStripMenuItem.Name = "printToolStripMenuItem"; - this.printToolStripMenuItem.Size = new System.Drawing.Size(142, 22); - this.printToolStripMenuItem.Text = "Print"; - // - // exitToolStripMenuItem - // - this.exitToolStripMenuItem.BackColor = System.Drawing.Color.Silver; - this.exitToolStripMenuItem.BackgroundImage = global::TimeHACK.Properties.Resources.sliversilver; - this.exitToolStripMenuItem.BackgroundImageLayout = System.Windows.Forms.ImageLayout.None; - this.exitToolStripMenuItem.Name = "exitToolStripMenuItem"; - this.exitToolStripMenuItem.Size = new System.Drawing.Size(142, 22); - this.exitToolStripMenuItem.Text = "Exit"; - this.exitToolStripMenuItem.Click += new System.EventHandler(this.exitToolStripMenuItem_Click); - // - // editToolStripMenuItem - // - this.editToolStripMenuItem.BackColor = System.Drawing.Color.Silver; - this.editToolStripMenuItem.BackgroundImage = global::TimeHACK.Properties.Resources.sliversilver; - this.editToolStripMenuItem.BackgroundImageLayout = System.Windows.Forms.ImageLayout.None; - this.editToolStripMenuItem.DropDownItems.AddRange(new System.Windows.Forms.ToolStripItem[] { - this.undoToolStripMenuItem, - this.cutToolStripMenuItem, - this.copyToolStripMenuItem, - this.pasteToolStripMenuItem, - this.deleteToolStripMenuItem, - this.selectAllToolStripMenuItem, - this.timeDateToolStripMenuItem, - this.wordWrapToolStripMenuItem}); - this.editToolStripMenuItem.Name = "editToolStripMenuItem"; - this.editToolStripMenuItem.Size = new System.Drawing.Size(39, 20); - this.editToolStripMenuItem.Text = "Edit"; - // - // undoToolStripMenuItem - // - this.undoToolStripMenuItem.BackColor = System.Drawing.Color.Silver; - this.undoToolStripMenuItem.BackgroundImage = global::TimeHACK.Properties.Resources.sliversilver; - this.undoToolStripMenuItem.BackgroundImageLayout = System.Windows.Forms.ImageLayout.None; - this.undoToolStripMenuItem.Name = "undoToolStripMenuItem"; - this.undoToolStripMenuItem.Size = new System.Drawing.Size(134, 22); - this.undoToolStripMenuItem.Text = "Undo"; - this.undoToolStripMenuItem.Click += new System.EventHandler(this.undoToolStripMenuItem_Click); - // - // cutToolStripMenuItem - // - this.cutToolStripMenuItem.BackColor = System.Drawing.Color.Silver; - this.cutToolStripMenuItem.BackgroundImage = global::TimeHACK.Properties.Resources.sliversilver; - this.cutToolStripMenuItem.BackgroundImageLayout = System.Windows.Forms.ImageLayout.None; - this.cutToolStripMenuItem.Name = "cutToolStripMenuItem"; - this.cutToolStripMenuItem.Size = new System.Drawing.Size(134, 22); - this.cutToolStripMenuItem.Text = "Cut"; - this.cutToolStripMenuItem.Click += new System.EventHandler(this.cutToolStripMenuItem_Click); - // - // copyToolStripMenuItem - // - this.copyToolStripMenuItem.BackColor = System.Drawing.Color.Silver; - this.copyToolStripMenuItem.BackgroundImage = global::TimeHACK.Properties.Resources.sliversilver; - this.copyToolStripMenuItem.BackgroundImageLayout = System.Windows.Forms.ImageLayout.None; - this.copyToolStripMenuItem.Name = "copyToolStripMenuItem"; - this.copyToolStripMenuItem.Size = new System.Drawing.Size(134, 22); - this.copyToolStripMenuItem.Text = "Copy"; - this.copyToolStripMenuItem.Click += new System.EventHandler(this.copyToolStripMenuItem_Click); - // - // pasteToolStripMenuItem - // - this.pasteToolStripMenuItem.BackColor = System.Drawing.Color.Silver; - this.pasteToolStripMenuItem.BackgroundImage = global::TimeHACK.Properties.Resources.sliversilver; - this.pasteToolStripMenuItem.BackgroundImageLayout = System.Windows.Forms.ImageLayout.None; - this.pasteToolStripMenuItem.Name = "pasteToolStripMenuItem"; - this.pasteToolStripMenuItem.Size = new System.Drawing.Size(134, 22); - this.pasteToolStripMenuItem.Text = "Paste"; - this.pasteToolStripMenuItem.Click += new System.EventHandler(this.pasteToolStripMenuItem_Click); - // - // deleteToolStripMenuItem - // - this.deleteToolStripMenuItem.BackColor = System.Drawing.Color.Silver; - this.deleteToolStripMenuItem.BackgroundImage = global::TimeHACK.Properties.Resources.sliversilver; - this.deleteToolStripMenuItem.BackgroundImageLayout = System.Windows.Forms.ImageLayout.None; - this.deleteToolStripMenuItem.Name = "deleteToolStripMenuItem"; - this.deleteToolStripMenuItem.Size = new System.Drawing.Size(134, 22); - this.deleteToolStripMenuItem.Text = "Delete"; - this.deleteToolStripMenuItem.Click += new System.EventHandler(this.deleteToolStripMenuItem_Click); - // - // selectAllToolStripMenuItem - // - this.selectAllToolStripMenuItem.BackColor = System.Drawing.Color.Silver; - this.selectAllToolStripMenuItem.BackgroundImage = global::TimeHACK.Properties.Resources.sliversilver; - this.selectAllToolStripMenuItem.BackgroundImageLayout = System.Windows.Forms.ImageLayout.None; - this.selectAllToolStripMenuItem.Name = "selectAllToolStripMenuItem"; - this.selectAllToolStripMenuItem.Size = new System.Drawing.Size(134, 22); - this.selectAllToolStripMenuItem.Text = "Select All"; - this.selectAllToolStripMenuItem.Click += new System.EventHandler(this.selectAllToolStripMenuItem_Click); - // - // timeDateToolStripMenuItem - // - this.timeDateToolStripMenuItem.BackColor = System.Drawing.Color.Silver; - this.timeDateToolStripMenuItem.BackgroundImage = global::TimeHACK.Properties.Resources.sliversilver; - this.timeDateToolStripMenuItem.BackgroundImageLayout = System.Windows.Forms.ImageLayout.None; - this.timeDateToolStripMenuItem.Name = "timeDateToolStripMenuItem"; - this.timeDateToolStripMenuItem.Size = new System.Drawing.Size(134, 22); - this.timeDateToolStripMenuItem.Text = "Time/Date"; - this.timeDateToolStripMenuItem.Click += new System.EventHandler(this.timeDateToolStripMenuItem_Click); - // - // wordWrapToolStripMenuItem - // - this.wordWrapToolStripMenuItem.BackColor = System.Drawing.Color.Silver; - this.wordWrapToolStripMenuItem.BackgroundImage = global::TimeHACK.Properties.Resources.sliversilver; - this.wordWrapToolStripMenuItem.BackgroundImageLayout = System.Windows.Forms.ImageLayout.None; - this.wordWrapToolStripMenuItem.CheckOnClick = true; - this.wordWrapToolStripMenuItem.Name = "wordWrapToolStripMenuItem"; - this.wordWrapToolStripMenuItem.Size = new System.Drawing.Size(134, 22); - this.wordWrapToolStripMenuItem.Text = "Word Wrap"; - this.wordWrapToolStripMenuItem.Click += new System.EventHandler(this.wordWrapToolStripMenuItem_Click); - // - // searchToolStripMenuItem - // - this.searchToolStripMenuItem.BackColor = System.Drawing.Color.Silver; - this.searchToolStripMenuItem.BackgroundImage = global::TimeHACK.Properties.Resources.sliversilver; - this.searchToolStripMenuItem.BackgroundImageLayout = System.Windows.Forms.ImageLayout.None; - this.searchToolStripMenuItem.DisplayStyle = System.Windows.Forms.ToolStripItemDisplayStyle.Text; - this.searchToolStripMenuItem.DropDownItems.AddRange(new System.Windows.Forms.ToolStripItem[] { - this.findToolStripMenuItem, - this.findNextToolStripMenuItem}); - this.searchToolStripMenuItem.Name = "searchToolStripMenuItem"; - this.searchToolStripMenuItem.Size = new System.Drawing.Size(54, 20); - this.searchToolStripMenuItem.Text = "Search"; - // - // findToolStripMenuItem - // - this.findToolStripMenuItem.BackColor = System.Drawing.Color.Silver; - this.findToolStripMenuItem.BackgroundImage = global::TimeHACK.Properties.Resources.sliversilver; - this.findToolStripMenuItem.BackgroundImageLayout = System.Windows.Forms.ImageLayout.None; - this.findToolStripMenuItem.Name = "findToolStripMenuItem"; - this.findToolStripMenuItem.Size = new System.Drawing.Size(124, 22); - this.findToolStripMenuItem.Text = "Find..."; - // - // findNextToolStripMenuItem - // - this.findNextToolStripMenuItem.BackColor = System.Drawing.Color.Silver; - this.findNextToolStripMenuItem.BackgroundImage = global::TimeHACK.Properties.Resources.sliversilver; - this.findNextToolStripMenuItem.BackgroundImageLayout = System.Windows.Forms.ImageLayout.None; - this.findNextToolStripMenuItem.Name = "findNextToolStripMenuItem"; - this.findNextToolStripMenuItem.Size = new System.Drawing.Size(124, 22); - this.findNextToolStripMenuItem.Text = "Find Next"; - // - // helpToolStripMenuItem - // - this.helpToolStripMenuItem.BackColor = System.Drawing.Color.Silver; - this.helpToolStripMenuItem.BackgroundImage = global::TimeHACK.Properties.Resources.sliversilver; - this.helpToolStripMenuItem.BackgroundImageLayout = System.Windows.Forms.ImageLayout.None; - this.helpToolStripMenuItem.DisplayStyle = System.Windows.Forms.ToolStripItemDisplayStyle.Text; - this.helpToolStripMenuItem.DropDownItems.AddRange(new System.Windows.Forms.ToolStripItem[] { - this.helpTopicsToolStripMenuItem, - this.aboutNotepadToolStripMenuItem}); - this.helpToolStripMenuItem.Name = "helpToolStripMenuItem"; - this.helpToolStripMenuItem.Size = new System.Drawing.Size(44, 20); - this.helpToolStripMenuItem.Text = "Help"; - // - // helpTopicsToolStripMenuItem - // - this.helpTopicsToolStripMenuItem.BackColor = System.Drawing.Color.Silver; - this.helpTopicsToolStripMenuItem.BackgroundImage = global::TimeHACK.Properties.Resources.sliversilver; - this.helpTopicsToolStripMenuItem.BackgroundImageLayout = System.Windows.Forms.ImageLayout.None; - this.helpTopicsToolStripMenuItem.DisplayStyle = System.Windows.Forms.ToolStripItemDisplayStyle.Text; - this.helpTopicsToolStripMenuItem.Name = "helpTopicsToolStripMenuItem"; - this.helpTopicsToolStripMenuItem.Size = new System.Drawing.Size(156, 22); - this.helpTopicsToolStripMenuItem.Text = "Help Topics"; - // - // aboutNotepadToolStripMenuItem - // - this.aboutNotepadToolStripMenuItem.BackColor = System.Drawing.Color.Silver; - this.aboutNotepadToolStripMenuItem.BackgroundImage = global::TimeHACK.Properties.Resources.sliversilver; - this.aboutNotepadToolStripMenuItem.BackgroundImageLayout = System.Windows.Forms.ImageLayout.None; - this.aboutNotepadToolStripMenuItem.DisplayStyle = System.Windows.Forms.ToolStripItemDisplayStyle.Text; - this.aboutNotepadToolStripMenuItem.Name = "aboutNotepadToolStripMenuItem"; - this.aboutNotepadToolStripMenuItem.Size = new System.Drawing.Size(156, 22); - this.aboutNotepadToolStripMenuItem.Text = "About Notepad"; - this.aboutNotepadToolStripMenuItem.Click += new System.EventHandler(this.aboutNotepadToolStripMenuItem_Click); - // - // mainText - // - this.mainText.Dock = System.Windows.Forms.DockStyle.Fill; - this.mainText.Font = new System.Drawing.Font("Courier", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); - this.mainText.Location = new System.Drawing.Point(0, 24); - this.mainText.MaxLength = 131072; - this.mainText.Multiline = true; - this.mainText.Name = "mainText"; - this.mainText.ScrollBars = System.Windows.Forms.ScrollBars.Both; - this.mainText.Size = new System.Drawing.Size(619, 341); - this.mainText.TabIndex = 1; - this.mainText.WordWrap = false; - // - // WinClassicNotepad - // - this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F); - this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font; - this.Controls.Add(this.mainText); - this.Controls.Add(this.menuStrip1); - this.Name = "WinClassicNotepad"; - this.Size = new System.Drawing.Size(619, 365); - this.menuStrip1.ResumeLayout(false); - this.menuStrip1.PerformLayout(); - this.ResumeLayout(false); - this.PerformLayout(); - - } - - #endregion - - 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 saveAsToolStripMenuItem; - private System.Windows.Forms.ToolStripMenuItem pageSetupToolStripMenuItem; - private System.Windows.Forms.ToolStripMenuItem printToolStripMenuItem; - private System.Windows.Forms.ToolStripMenuItem exitToolStripMenuItem; - private System.Windows.Forms.ToolStripMenuItem editToolStripMenuItem; - public System.Windows.Forms.TextBox mainText; - private System.Windows.Forms.ToolStripMenuItem undoToolStripMenuItem; - private System.Windows.Forms.ToolStripMenuItem cutToolStripMenuItem; - private System.Windows.Forms.ToolStripMenuItem copyToolStripMenuItem; - private System.Windows.Forms.ToolStripMenuItem pasteToolStripMenuItem; - private System.Windows.Forms.ToolStripMenuItem deleteToolStripMenuItem; - private System.Windows.Forms.ToolStripMenuItem selectAllToolStripMenuItem; - private System.Windows.Forms.ToolStripMenuItem timeDateToolStripMenuItem; - private System.Windows.Forms.ToolStripMenuItem wordWrapToolStripMenuItem; - private System.Windows.Forms.ToolStripMenuItem searchToolStripMenuItem; - private System.Windows.Forms.ToolStripMenuItem helpToolStripMenuItem; - private System.Windows.Forms.ToolStripMenuItem findToolStripMenuItem; - private System.Windows.Forms.ToolStripMenuItem findNextToolStripMenuItem; - private System.Windows.Forms.ToolStripMenuItem helpTopicsToolStripMenuItem; - private System.Windows.Forms.ToolStripMenuItem aboutNotepadToolStripMenuItem; - } -} diff --git a/TimeHACK.Main/OS/Win95/Win95Apps/WinClassicNotepad.cs b/TimeHACK.Main/OS/Win95/Win95Apps/WinClassicNotepad.cs deleted file mode 100644 index 581b789..0000000 --- a/TimeHACK.Main/OS/Win95/Win95Apps/WinClassicNotepad.cs +++ /dev/null @@ -1,125 +0,0 @@ -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 TimeHACK.Engine; -using static TimeHACK.Engine.FileDialogBoxManager; -using System.IO; - -namespace TimeHACK.OS.Win95.Win95Apps -{ - public partial class WinClassicNotepad : UserControl - { - public WinClassicNotepad() - { - InitializeComponent(); - foreach (ToolStripMenuItem item in menuStrip1.Items) - { - item.Font = new Font(TitleScreen.pfc.Families[0], 16F, FontStyle.Regular); - item.BackColor = Color.Silver; - item.BackgroundImage = Properties.Resources.sliversilver; - item.BackgroundImageLayout = ImageLayout.Center; - item.DisplayStyle = ToolStripItemDisplayStyle.Text; - } - } - - private void exitToolStripMenuItem_Click(object sender, EventArgs e) - { - this.ParentForm.Close(); - } - - private void aboutNotepadToolStripMenuItem_Click(object sender, EventArgs e) - { - WindowManager wm = new WindowManager(); - wm.StartAboutBox95("Notepad", "Microsoft Notepad", Properties.Resources.WinClassicNotepad); - } - - private void wordWrapToolStripMenuItem_Click(object sender, EventArgs e) - { - mainText.WordWrap = wordWrapToolStripMenuItem.Checked; - } - - private void selectAllToolStripMenuItem_Click(object sender, EventArgs e) - { - mainText.SelectAll(); - } - - private void undoToolStripMenuItem_Click(object sender, EventArgs e) - { - mainText.Undo(); - } - - private void cutToolStripMenuItem_Click(object sender, EventArgs e) - { - if (mainText.SelectedText.Length >= 0) - { - mainText.Cut(); - } - } - - private void copyToolStripMenuItem_Click(object sender, EventArgs e) - { - if (mainText.SelectedText.Length >= 0) - { - mainText.Copy(); - } - } - - private void pasteToolStripMenuItem_Click(object sender, EventArgs e) - { - mainText.Paste(); - } - - private void deleteToolStripMenuItem_Click(object sender, EventArgs e) - { - mainText.Text.Remove(mainText.SelectionStart, mainText.SelectedText.Length); - } - - private void timeDateToolStripMenuItem_Click(object sender, EventArgs e) - { - string DateTime = System.DateTime.Now.ToString("HH:mm tt dd/MM/yyyy"); - mainText.AppendText(DateTime); - } - - private void openToolStripMenuItem_Click(object sender, EventArgs e) - { - try - { - ActivateSaveFileDialog(".txt"); - string selectedPath = Program.OpenFileExplorerAsDialogAndReturnGivenPath(); - - MessageBox.Show(selectedPath); - if (selectedPath != "") - { - mainText.Text = ReadTextFile(selectedPath); - } - } - catch - { - } - } - - private void saveToolStripMenuItem_Click(object sender, EventArgs e) - { - try - { - ActivateSaveFileDialog(".txt"); - string selectedPath = Program.OpenFileExplorerAsDialogAndReturnGivenPath(); - List<string> pathList = selectedPath.Split('\\').ToList(); - pathList.RemoveAt(selectedPath.Split('\\').Count() - 1); - - if (selectedPath != "") - { - SaveSystem.CreateWindowsFile(pathList.ToString(), selectedPath.Split('\\').Last(), mainText.Text, 12, mainText.Text.Length); - //File.WriteAllText(selectedPath, mainText.Text); - } - } catch { - } - } - } -} diff --git a/TimeHACK.Main/OS/Win95/Win95Apps/WinClassicNotepad.resx b/TimeHACK.Main/OS/Win95/Win95Apps/WinClassicNotepad.resx deleted file mode 100644 index 1af7de1..0000000 --- a/TimeHACK.Main/OS/Win95/Win95Apps/WinClassicNotepad.resx +++ /dev/null @@ -1,120 +0,0 @@ -<?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> -</root>
\ No newline at end of file diff --git a/TimeHACK.Main/OS/Win95/Win95Apps/WinClassicTimeDistorter.Designer.cs b/TimeHACK.Main/OS/Win95/Win95Apps/WinClassicTimeDistorter.Designer.cs index 8ea1805..abbaac5 100644 --- a/TimeHACK.Main/OS/Win95/Win95Apps/WinClassicTimeDistorter.Designer.cs +++ b/TimeHACK.Main/OS/Win95/Win95Apps/WinClassicTimeDistorter.Designer.cs @@ -41,6 +41,7 @@ // // lblDest // + this.lblDest.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right))); this.lblDest.AutoSize = true; this.lblDest.Font = new System.Drawing.Font("Microsoft Sans Serif", 15.75F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(204))); this.lblDest.Location = new System.Drawing.Point(286, 6); @@ -53,6 +54,7 @@ // // lblDestYear // + this.lblDestYear.Anchor = System.Windows.Forms.AnchorStyles.Right; this.lblDestYear.AutoSize = true; this.lblDestYear.Font = new System.Drawing.Font("Arial", 21.75F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(204))); this.lblDestYear.Location = new System.Drawing.Point(333, 32); @@ -77,6 +79,7 @@ // // lblYear // + this.lblYear.Anchor = System.Windows.Forms.AnchorStyles.Left; this.lblYear.AutoSize = true; this.lblYear.Font = new System.Drawing.Font("Arial", 21.75F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(204))); this.lblYear.Location = new System.Drawing.Point(29, 32); @@ -89,6 +92,7 @@ // // lblTo // + this.lblTo.Anchor = System.Windows.Forms.AnchorStyles.Left; this.lblTo.AutoSize = true; this.lblTo.Font = new System.Drawing.Font("Microsoft Sans Serif", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(204))); this.lblTo.Location = new System.Drawing.Point(151, 43); @@ -112,14 +116,16 @@ // // lblCountDown // - this.lblCountDown.AutoSize = true; + this.lblCountDown.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Left) + | System.Windows.Forms.AnchorStyles.Right))); this.lblCountDown.Font = new System.Drawing.Font("Microsoft Sans Serif", 15.75F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(204))); - this.lblCountDown.Location = new System.Drawing.Point(48, 87); + this.lblCountDown.Location = new System.Drawing.Point(0, 88); this.lblCountDown.Margin = new System.Windows.Forms.Padding(2, 0, 2, 0); this.lblCountDown.Name = "lblCountDown"; - this.lblCountDown.Size = new System.Drawing.Size(46, 25); + this.lblCountDown.Size = new System.Drawing.Size(464, 25); this.lblCountDown.TabIndex = 8; this.lblCountDown.Text = "null"; + this.lblCountDown.TextAlign = System.Drawing.ContentAlignment.MiddleCenter; this.lblCountDown.Visible = false; // // countDownTimer @@ -148,12 +154,12 @@ #endregion private System.Windows.Forms.Label lblDest; - private System.Windows.Forms.Label lblDestYear; private System.Windows.Forms.Label lblCurrent; private System.Windows.Forms.Label lblYear; - private System.Windows.Forms.Label lblTo; - private System.Windows.Forms.Button btnGo; internal System.Windows.Forms.Label lblCountDown; private System.Windows.Forms.Timer countDownTimer; + internal System.Windows.Forms.Button btnGo; + internal System.Windows.Forms.Label lblTo; + internal System.Windows.Forms.Label lblDestYear; } } |
