aboutsummaryrefslogtreecommitdiff
path: root/Histacom2/SaveDialogs
diff options
context:
space:
mode:
authorlempamo <[email protected]>2017-11-05 09:25:55 -0500
committerGitHub <[email protected]>2017-11-05 09:25:55 -0500
commitf0e2d14a959db1e5d35c4dc5f77ed3523c93200a (patch)
tree7ae4244e5f5c3dc38f4b228f15efe4ea5be0fe3a /Histacom2/SaveDialogs
parent458cc4ee0dbc67f547ea851b5a67a88af119a4c0 (diff)
parent55bc23bd3797debcfc461ef23df344d16212f235 (diff)
downloadhistacom2-f0e2d14a959db1e5d35c4dc5f77ed3523c93200a.tar.gz
histacom2-f0e2d14a959db1e5d35c4dc5f77ed3523c93200a.tar.bz2
histacom2-f0e2d14a959db1e5d35c4dc5f77ed3523c93200a.zip
Merge pull request #180 from Alex-TIMEHACK/master
ClassicTextBox and ClassicDropDown
Diffstat (limited to 'Histacom2/SaveDialogs')
-rw-r--r--Histacom2/SaveDialogs/LoadGameProfileItem.cs6
-rw-r--r--Histacom2/SaveDialogs/NewGameDialog.cs4
-rw-r--r--Histacom2/SaveDialogs/SaveFileTroubleShooter.Designer.cs13
-rw-r--r--Histacom2/SaveDialogs/SaveFileTroubleShooter.cs2
4 files changed, 12 insertions, 13 deletions
diff --git a/Histacom2/SaveDialogs/LoadGameProfileItem.cs b/Histacom2/SaveDialogs/LoadGameProfileItem.cs
index bdc0b7c..646601b 100644
--- a/Histacom2/SaveDialogs/LoadGameProfileItem.cs
+++ b/Histacom2/SaveDialogs/LoadGameProfileItem.cs
@@ -37,7 +37,7 @@ namespace Histacom2
if (!ClientRectangle.Contains(PointToClient(Control.MousePosition)))
{
sidebar.Hide();
- if (OnceRemoveHeight == false)
+ if (!OnceRemoveHeight)
{
this.Height -= 28;
OnceRemoveHeight = true;
@@ -49,7 +49,7 @@ namespace Histacom2
} else
{
sidebar.Show();
- if (OnceAddHeight == false)
+ if (!OnceAddHeight)
{
this.Height += 28;
OnceAddHeight = true;
@@ -95,7 +95,7 @@ namespace Histacom2
{
try
{
- if (!RequestingNewName == false)
+ if (!RequestingNewName)
{
if (textBox1.Text == "")
{
diff --git a/Histacom2/SaveDialogs/NewGameDialog.cs b/Histacom2/SaveDialogs/NewGameDialog.cs
index eb8d44f..e3ecd00 100644
--- a/Histacom2/SaveDialogs/NewGameDialog.cs
+++ b/Histacom2/SaveDialogs/NewGameDialog.cs
@@ -46,7 +46,7 @@ namespace Histacom2
if (!(txtProfName.Text.Length > 20))
{
ProfileName = txtProfName.Text;
- if (DevMode == true)
+ if (DevMode)
{
if (Directory.Exists(ProfileDirectory))
{
@@ -84,7 +84,7 @@ namespace Histacom2
private void NewGameDialog_Load(object sender, EventArgs e)
{
- if (DevMode == true)
+ if (DevMode)
{
btnDevMode.Show();
}
diff --git a/Histacom2/SaveDialogs/SaveFileTroubleShooter.Designer.cs b/Histacom2/SaveDialogs/SaveFileTroubleShooter.Designer.cs
index 85c04fb..ff7b5c0 100644
--- a/Histacom2/SaveDialogs/SaveFileTroubleShooter.Designer.cs
+++ b/Histacom2/SaveDialogs/SaveFileTroubleShooter.Designer.cs
@@ -59,7 +59,7 @@
this.pnlResolved.Controls.Add(this.label2);
this.pnlResolved.Location = new System.Drawing.Point(12, 38);
this.pnlResolved.Name = "pnlResolved";
- this.pnlResolved.Size = new System.Drawing.Size(589, 275);
+ this.pnlResolved.Size = new System.Drawing.Size(518, 243);
this.pnlResolved.TabIndex = 1;
this.pnlResolved.Visible = false;
//
@@ -73,7 +73,7 @@
this.textBox1.Name = "textBox1";
this.textBox1.ReadOnly = true;
this.textBox1.ScrollBars = System.Windows.Forms.ScrollBars.Both;
- this.textBox1.Size = new System.Drawing.Size(567, 208);
+ this.textBox1.Size = new System.Drawing.Size(496, 176);
this.textBox1.TabIndex = 3;
//
// label3
@@ -100,15 +100,15 @@
this.panel2.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(224)))), ((int)(((byte)(224)))), ((int)(((byte)(224)))));
this.panel2.Controls.Add(this.btnClose);
this.panel2.Dock = System.Windows.Forms.DockStyle.Bottom;
- this.panel2.Location = new System.Drawing.Point(0, 315);
+ this.panel2.Location = new System.Drawing.Point(0, 283);
this.panel2.Name = "panel2";
- this.panel2.Size = new System.Drawing.Size(612, 30);
+ this.panel2.Size = new System.Drawing.Size(541, 30);
this.panel2.TabIndex = 2;
//
// btnClose
//
this.btnClose.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right)));
- this.btnClose.Location = new System.Drawing.Point(526, 4);
+ this.btnClose.Location = new System.Drawing.Point(455, 4);
this.btnClose.Name = "btnClose";
this.btnClose.Size = new System.Drawing.Size(75, 23);
this.btnClose.TabIndex = 0;
@@ -120,12 +120,11 @@
//
this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F);
this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
- this.ClientSize = new System.Drawing.Size(612, 345);
+ this.ClientSize = new System.Drawing.Size(541, 313);
this.Controls.Add(this.panel2);
this.Controls.Add(this.pnlResolved);
this.Controls.Add(this.label1);
this.Name = "SaveFileTroubleShooter";
- this.Text = "Save File Troubleshooter";
this.Load += new System.EventHandler(this.SaveFileTroubleShooter_Load);
this.pnlResolved.ResumeLayout(false);
this.pnlResolved.PerformLayout();
diff --git a/Histacom2/SaveDialogs/SaveFileTroubleShooter.cs b/Histacom2/SaveDialogs/SaveFileTroubleShooter.cs
index eceff04..3283ca1 100644
--- a/Histacom2/SaveDialogs/SaveFileTroubleShooter.cs
+++ b/Histacom2/SaveDialogs/SaveFileTroubleShooter.cs
@@ -193,7 +193,7 @@ namespace Histacom2.SaveDialogs
{
pnlResolved.Visible = true;
label1.Hide();
- if (successful == true)
+ if (successful)
{
label2.Text = "The issue has been resolved.";