Skip to content
This repository has been archived by the owner on Nov 12, 2023. It is now read-only.

Commit

Permalink
UI update - Sub-windows now open on "Center Parent".
Browse files Browse the repository at this point in the history
New Milestone - Beta release - Stable enough.
  • Loading branch information
n0tic committed Jun 19, 2021
1 parent 228d35c commit b06a201
Show file tree
Hide file tree
Showing 4 changed files with 21 additions and 14 deletions.
6 changes: 3 additions & 3 deletions SteamServerCreationTool/Core/Core.cs
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ public static class Core
public static string softwareName = "Steam Server Creation Tool";
public static string softwareNameShort = "SSCT";

public static string authorRealName = "Victor Rimsby";
public static string authorRealName = "Victor";
public static string authorName = "N0tiC";
public static string authorContact = "[email protected]";

Expand All @@ -32,10 +32,10 @@ public static class Core

#region Version

public static BuildTypes buildType = BuildTypes.Alpha;
public static BuildTypes buildType = BuildTypes.Beta;
public static int majorVersion = 0;
public static int minorVersion = 1;
public static int buildVersion = 8;
public static int buildVersion = 9;

public enum BuildTypes
{
Expand Down
5 changes: 4 additions & 1 deletion SteamServerCreationTool/Forms/AboutForm.cs
Original file line number Diff line number Diff line change
Expand Up @@ -7,9 +7,12 @@ namespace SteamServerCreationTool.Forms
{
partial class AboutForm : Form
{
public AboutForm()
public AboutForm(Control parent)
{
InitializeComponent();

StartPosition = FormStartPosition.CenterParent;

this.Text = String.Format("About {0}", AssemblyTitle);

TextLabel.Text = "(" + Core.softwareNameShort + ") " + Core.softwareName + " " + Core.GetVersion() + "\n\rCreated by " + Core.authorRealName + " AKA " + Core.authorName + "\n\rContact: " + Core.authorContact;
Expand Down
8 changes: 6 additions & 2 deletions SteamServerCreationTool/Forms/MainForm.cs
Original file line number Diff line number Diff line change
Expand Up @@ -476,7 +476,7 @@ private void MainForm_Load(object sender, EventArgs e)
{
settings = new Settings(); // New settings file
settings.userData = new UserData();
MessageBox.Show("WARNING: This is an Alpha build. Not all features have been polished or tested 100%. Report any problems on the Github project issues page.", "Alpha Release", MessageBoxButtons.OK, MessageBoxIcon.Warning);
MessageBox.Show("WARNING: This is a Beta build. Not all features have been polished or tested 100%. Report any problems on the Github project issues page.", "Beta Release", MessageBoxButtons.OK, MessageBoxIcon.Warning);
}

//Do we have an ethernet connection?
Expand Down Expand Up @@ -519,6 +519,7 @@ private void InstallServerButton_Click(object sender, EventArgs e)

using (CreateServerForm csf = new CreateServerForm(this, selectedApp))
{
csf.StartPosition = FormStartPosition.CenterParent;
DialogResult res = csf.ShowDialog();
}
}
Expand Down Expand Up @@ -581,8 +582,9 @@ private void OpenServerButton_Click(object sender, EventArgs e)
/// <param name="e"></param>
private void WindowExpander_Click(object sender, EventArgs e)
{
using (AboutForm af = new AboutForm())
using (AboutForm af = new AboutForm(this))
{
af.StartPosition = FormStartPosition.CenterParent;
af.ShowDialog();
}
}
Expand All @@ -591,6 +593,7 @@ private void SearchButton_Click(object sender, EventArgs e)
{
using (ServerListSearchForm form = new ServerListSearchForm(this))
{
form.StartPosition = FormStartPosition.CenterParent;
form.ShowDialog();
}
}
Expand All @@ -610,6 +613,7 @@ private void SettingsButton_Click(object sender, EventArgs e)
{
using (SettingsForm sf = new SettingsForm(this))
{
sf.StartPosition = FormStartPosition.CenterParent;
sf.ShowDialog();
}
}
Expand Down
16 changes: 8 additions & 8 deletions SteamServerCreationTool/Properties/Resources.resx
Original file line number Diff line number Diff line change
Expand Up @@ -118,22 +118,22 @@
<value>System.Resources.ResXResourceWriter, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
</resheader>
<assembly alias="System.Windows.Forms" name="System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" />
<data name="StartServerScript" type="System.Resources.ResXFileRef, System.Windows.Forms">
<value>..\Resources\StartServerScript.txt;System.String, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089;Windows-1252</value>
<data name="075-reload-EDIT" type="System.Resources.ResXFileRef, System.Windows.Forms">
<value>..\Resources\075-reload-EDIT.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a</value>
</data>
<data name="033-folder-7-EDIT" type="System.Resources.ResXFileRef, System.Windows.Forms">
<value>..\Resources\033-folder-7-EDIT.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a</value>
</data>
<data name="016-folder-24-EDIT" type="System.Resources.ResXFileRef, System.Windows.Forms">
<value>..\Resources\016-folder-24-EDIT.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a</value>
</data>
<data name="075-reload-EDIT" type="System.Resources.ResXFileRef, System.Windows.Forms">
<value>..\Resources\075-reload-EDIT.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a</value>
</data>
<data name="079-search-EDIT" type="System.Resources.ResXFileRef, System.Windows.Forms">
<value>..\Resources\079-search-EDIT.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a</value>
</data>
<data name="StartServerScript" type="System.Resources.ResXFileRef, System.Windows.Forms">
<value>..\Resources\StartServerScript.txt;System.String, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089;Windows-1252</value>
</data>
<data name="012-cogwheel" type="System.Resources.ResXFileRef, System.Windows.Forms">
<value>..\Resources\012-cogwheel.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a</value>
</data>
<data name="016-folder-24-EDIT" type="System.Resources.ResXFileRef, System.Windows.Forms">
<value>..\Resources\016-folder-24-EDIT.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a</value>
</data>
</root>

0 comments on commit b06a201

Please sign in to comment.