Skip to content

Commit

Permalink
Redesigned UI
Browse files Browse the repository at this point in the history
Updated .gitignore
  • Loading branch information
UAVXP committed Apr 19, 2017
1 parent 3ca41af commit 313bea5
Show file tree
Hide file tree
Showing 4 changed files with 70 additions and 53 deletions.
3 changes: 3 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -279,3 +279,6 @@ $RECYCLE.BIN/

# Windows shortcuts
*.lnk

# VXP
*копия*
6 changes: 4 additions & 2 deletions MainForm.cs
Original file line number Diff line number Diff line change
Expand Up @@ -297,15 +297,16 @@ private void SaveAdditionalParameters()
setRegistryValue("ServerParameters", srvParametersText.Text);
}

private bool isExtended = false;
// private bool isExtended = false;
private void MainForm_Shown(object sender, EventArgs e)
{
this.Height = 140;
// this.Height = 140;

gameParametersText.Text = getRegistryValue(getRegistryMainPath(), "GameParameters");
srvParametersText.Text = getRegistryValue(getRegistryMainPath(), "ServerParameters");
}

/*
private void additionalParamsBut_Click(object sender, EventArgs e)
{
isExtended = !isExtended;
Expand All @@ -329,6 +330,7 @@ private void additionalParamsBut_Click(object sender, EventArgs e)
button.Image = Properties.Resources.arrowDown;
}
}
*/

private void parametersText_Leave(object sender, EventArgs e)
{
Expand Down
105 changes: 54 additions & 51 deletions MainForm.designer.cs

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

9 changes: 9 additions & 0 deletions MainForm.resx
Original file line number Diff line number Diff line change
Expand Up @@ -117,6 +117,15 @@
<resheader name="writer">
<value>System.Resources.ResXResourceWriter, System.Windows.Forms, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
</resheader>
<metadata name="ttChooseModification.TrayLocation" type="System.Drawing.Point, System.Drawing, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a">
<value>173, 17</value>
</metadata>
<metadata name="ttAdditionalParams.TrayLocation" type="System.Drawing.Point, System.Drawing, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a">
<value>17, 17</value>
</metadata>
<metadata name="ttCommon.TrayLocation" type="System.Drawing.Point, System.Drawing, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a">
<value>343, 17</value>
</metadata>
<assembly alias="System.Drawing" name="System.Drawing, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a" />
<data name="$this.Icon" type="System.Drawing.Icon, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64">
<value>
Expand Down

0 comments on commit 313bea5

Please sign in to comment.