mirror of
https://github.com/HistacomUnity/Histacom2-old.git
synced 2025-01-22 09:02:01 -05:00
Merge branch 'master' of https://github.com/Histacom2-Devs/Histacom2.git
This commit is contained in:
commit
74722bac5a
6 changed files with 45 additions and 21 deletions
28
Histacom2.Engine/Template/AboutBox95.Designer.cs
generated
28
Histacom2.Engine/Template/AboutBox95.Designer.cs
generated
|
@ -30,11 +30,11 @@ private void InitializeComponent()
|
|||
{
|
||||
this.pictureBox1 = new System.Windows.Forms.PictureBox();
|
||||
this.textBox1 = new System.Windows.Forms.TextBox();
|
||||
this.button1 = new System.Windows.Forms.Button();
|
||||
this.textBox2 = new System.Windows.Forms.TextBox();
|
||||
this.pictureBox2 = new System.Windows.Forms.PictureBox();
|
||||
this.textBox3 = new System.Windows.Forms.Label();
|
||||
this.textBox4 = new System.Windows.Forms.Label();
|
||||
this.classicButton1 = new Histacom2.Engine.UI.ClassicButton();
|
||||
((System.ComponentModel.ISupportInitialize)(this.pictureBox1)).BeginInit();
|
||||
((System.ComponentModel.ISupportInitialize)(this.pictureBox2)).BeginInit();
|
||||
this.SuspendLayout();
|
||||
|
@ -59,17 +59,6 @@ private void InitializeComponent()
|
|||
this.textBox1.TabIndex = 4;
|
||||
this.textBox1.Text = "@SOFTWARENAME\r\nWindows 95\r\nCopyright © 1981-1995 Microsoft Corp.";
|
||||
//
|
||||
// button1
|
||||
//
|
||||
this.button1.FlatAppearance.BorderColor = System.Drawing.Color.Silver;
|
||||
this.button1.Location = new System.Drawing.Point(251, 223);
|
||||
this.button1.Name = "button1";
|
||||
this.button1.Size = new System.Drawing.Size(75, 23);
|
||||
this.button1.TabIndex = 0;
|
||||
this.button1.Text = "OK";
|
||||
this.button1.UseVisualStyleBackColor = true;
|
||||
this.button1.Click += new System.EventHandler(this.button1_Click);
|
||||
//
|
||||
// textBox2
|
||||
//
|
||||
this.textBox2.BackColor = System.Drawing.Color.Silver;
|
||||
|
@ -109,16 +98,27 @@ private void InitializeComponent()
|
|||
this.textBox4.TabIndex = 0;
|
||||
this.textBox4.Text = "System Resources: 97% Free";
|
||||
//
|
||||
// classicButton1
|
||||
//
|
||||
this.classicButton1.BackColor = System.Drawing.Color.Silver;
|
||||
this.classicButton1.ForeColor = System.Drawing.Color.Black;
|
||||
this.classicButton1.Location = new System.Drawing.Point(251, 223);
|
||||
this.classicButton1.Name = "classicButton1";
|
||||
this.classicButton1.Size = new System.Drawing.Size(75, 23);
|
||||
this.classicButton1.TabIndex = 6;
|
||||
this.classicButton1.Text = "OK";
|
||||
this.classicButton1.Click += new System.EventHandler(this.classicButton1_Click);
|
||||
//
|
||||
// AboutBox95
|
||||
//
|
||||
this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F);
|
||||
this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
|
||||
this.BackColor = System.Drawing.Color.Silver;
|
||||
this.Controls.Add(this.classicButton1);
|
||||
this.Controls.Add(this.textBox4);
|
||||
this.Controls.Add(this.textBox3);
|
||||
this.Controls.Add(this.pictureBox2);
|
||||
this.Controls.Add(this.textBox2);
|
||||
this.Controls.Add(this.button1);
|
||||
this.Controls.Add(this.textBox1);
|
||||
this.Controls.Add(this.pictureBox1);
|
||||
this.Name = "AboutBox95";
|
||||
|
@ -135,10 +135,10 @@ private void InitializeComponent()
|
|||
|
||||
internal System.Windows.Forms.PictureBox pictureBox1;
|
||||
internal System.Windows.Forms.TextBox textBox1;
|
||||
private System.Windows.Forms.Button button1;
|
||||
internal System.Windows.Forms.TextBox textBox2;
|
||||
private System.Windows.Forms.PictureBox pictureBox2;
|
||||
private System.Windows.Forms.Label textBox3;
|
||||
private System.Windows.Forms.Label textBox4;
|
||||
private UI.ClassicButton classicButton1;
|
||||
}
|
||||
}
|
||||
|
|
|
@ -11,9 +11,9 @@ public AboutBox95()
|
|||
this.textBox2.Text = "This product is licensed to:\r\n" + Environment.UserName + "\r\n";
|
||||
}
|
||||
|
||||
private void button1_Click(object sender, EventArgs e)
|
||||
private void classicButton1_Click(object sender, EventArgs e)
|
||||
{
|
||||
this.ParentForm.Close();
|
||||
ParentForm.Close();
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
@ -36,6 +36,7 @@ private void InitializeComponent()
|
|||
this.dlTimer = new System.Windows.Forms.Timer(this.components);
|
||||
this.dlSpeed = new System.Windows.Forms.Timer(this.components);
|
||||
this.progBar = new System.Windows.Forms.ProgressBar();
|
||||
this.progressBar1 = new Histacom2.UI.ProgressBar();
|
||||
this.SuspendLayout();
|
||||
//
|
||||
// amountLbl
|
||||
|
@ -94,11 +95,29 @@ private void InitializeComponent()
|
|||
this.progBar.Size = new System.Drawing.Size(399, 23);
|
||||
this.progBar.TabIndex = 15;
|
||||
//
|
||||
// progressBar1
|
||||
//
|
||||
this.progressBar1.BlockSpacing = 5;
|
||||
this.progressBar1.BlockWidth = 20;
|
||||
this.progressBar1.Location = new System.Drawing.Point(6, 32);
|
||||
this.progressBar1.MarqueeWidth = 125;
|
||||
this.progressBar1.Maximum = 100D;
|
||||
this.progressBar1.Minimum = 0D;
|
||||
this.progressBar1.Name = "progressBar1";
|
||||
this.progressBar1.ProgressColor = System.Drawing.Color.DarkBlue;
|
||||
this.progressBar1.ShowText = false;
|
||||
this.progressBar1.Size = new System.Drawing.Size(399, 23);
|
||||
this.progressBar1.Style = System.Windows.Forms.ProgressBarStyle.Continuous;
|
||||
this.progressBar1.TabIndex = 16;
|
||||
this.progressBar1.Text = "progressBar1";
|
||||
this.progressBar1.Value = 0D;
|
||||
//
|
||||
// WinClassicDownloader
|
||||
//
|
||||
this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F);
|
||||
this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
|
||||
this.BackColor = System.Drawing.Color.Silver;
|
||||
this.Controls.Add(this.progressBar1);
|
||||
this.Controls.Add(this.progBar);
|
||||
this.Controls.Add(this.amountLbl);
|
||||
this.Controls.Add(this.appName);
|
||||
|
@ -120,5 +139,6 @@ private void InitializeComponent()
|
|||
private System.Windows.Forms.Timer dlTimer;
|
||||
private System.Windows.Forms.Timer dlSpeed;
|
||||
private System.Windows.Forms.ProgressBar progBar;
|
||||
private UI.ProgressBar progressBar1;
|
||||
}
|
||||
}
|
||||
|
|
|
@ -32,7 +32,7 @@ private void dlTimer_Tick(object sender, EventArgs e)
|
|||
amountDLed = amountDLed + 8;
|
||||
if (8 > amountToDL - amountDLed)
|
||||
{
|
||||
progBar.Value = amountToDL;
|
||||
progressBar1.Value = amountToDL;
|
||||
amountLbl.Text = $"Downloaded {amountDLed} KB out of {amountToDL}";
|
||||
|
||||
switch (appName.Text)
|
||||
|
@ -67,8 +67,8 @@ private void dlTimer_Tick(object sender, EventArgs e)
|
|||
}
|
||||
else
|
||||
{
|
||||
progBar.Maximum = amountToDL;
|
||||
progBar.Value = amountDLed;
|
||||
progressBar1.Maximum = amountToDL;
|
||||
progressBar1.Value = amountDLed;
|
||||
}
|
||||
amountLbl.Text = $"Downloaded {amountDLed} KB out of {amountToDL}";
|
||||
}
|
||||
|
|
|
@ -312,6 +312,10 @@ private void desktopicons_DoubleClick(object sender, EventArgs e)
|
|||
{
|
||||
//wm.StartInfobox95("Win32 Application", "That is not a valid Win32 Application.", Properties.Resources.Win95Error);
|
||||
}
|
||||
else if (objListViewItem.Text == "Online Services")
|
||||
{
|
||||
wm.StartInfobox95("Caught it!", "If you were to run this, the game would crash!\nLuckily, it won't crash this time!", InfoboxType.Error, InfoboxButtons.OK);
|
||||
}
|
||||
else
|
||||
{
|
||||
// It is an actual file on the disk
|
||||
|
|
|
@ -92,8 +92,8 @@ private void NewGameDialog_Load(object sender, EventArgs e)
|
|||
|
||||
private void btnDevMode_Click(object sender, EventArgs e)
|
||||
{
|
||||
MessageBox.Show("DevMode is a mode Designed for Development of the game, if you are seeing this that means it is activated! All DevMode does is if a Profile already exists then rather than asking you to choose a different name it just " +
|
||||
"deletes the old one! This means that you won't have 1 million profiles everytime you want to test something in the game!");
|
||||
MessageBox.Show("DevMode (Development Mode) is a special mode that lets you test features without having a large amount of accounts just to test a new feature. How it works is simple:" +
|
||||
"\n1. It checks for a profile of the same name.\n2. If so, it deletes the profile and starts a new game.\n3. If not, then it starts a new game.");
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue