Skip to content

Commit

Permalink
about, credits, 3dp updates
Browse files Browse the repository at this point in the history
  • Loading branch information
stamepicmorg committed Jun 24, 2015
1 parent 8213614 commit 314ca25
Show file tree
Hide file tree
Showing 8 changed files with 27,809 additions and 13 deletions.
34 changes: 30 additions & 4 deletions Sources/glSDK_Launcher/UI/FrmAbout.Designer.cs

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

21 changes: 20 additions & 1 deletion Sources/glSDK_Launcher/UI/FrmAbout.cs
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
using System;
using MetroFramework;
using System.Reflection;
using MetroFramework.Forms;


Expand All @@ -10,17 +10,36 @@ public partial class FrmAbout : MetroForm
public FrmAbout()
{
InitializeComponent();
metroLabelCopy.Text = AssemblyCopyright;
metroLabelVer.Text = AssemblyVersion;
}

private void FrmAbout_Load(object sender, EventArgs e)
{

}

public string AssemblyVersion => Assembly.GetExecutingAssembly().GetName().Version.ToString();

public string AssemblyCopyright
{
get
{
var attributes = Assembly.GetExecutingAssembly().GetCustomAttributes(typeof(AssemblyCopyrightAttribute), false);
return attributes.Length == 0 ? "" : ((AssemblyCopyrightAttribute)attributes[0]).Copyright;
}
}

private void metroButtonCredits_Click(object sender, EventArgs e)
{
var frm = new FrmCredits();
frm.ShowDialog();
}

private void metroButtonOther_Click(object sender, EventArgs e)
{
var frm = new FrmThirdPatrySoft();
frm.ShowDialog();
}
}
}
4 changes: 2 additions & 2 deletions Sources/glSDK_Launcher/UI/FrmCredits.Designer.cs

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

15 changes: 9 additions & 6 deletions Sources/glSDK_Launcher/UI/FrmCredits.cs
Original file line number Diff line number Diff line change
Expand Up @@ -18,32 +18,35 @@ private void metroButtonOK_Click(object sender, EventArgs e)

private void metroLinkSTAM_Click(object sender, EventArgs e)
{
Process.Start("");
Process.Start("https://stam.epicm.org/");
}

private void metroLinkKST_Click(object sender, EventArgs e)
{
Process.Start("");
Process.Start("https://kasthack.epicm.org/");
}

private void metroLinkOlegus_Click(object sender, EventArgs e)
{
Process.Start("");
Process.Start("https://olegus-dark-industries.tk/");
}

private void metroLinkSergey_Click(object sender, EventArgs e)
{
Process.Start("");
Process.Start("http://gamer-lab.com/rus/Сергей");
}

private void metroLinkCheater_Click(object sender, EventArgs e)
{
Process.Start("");
// Process.Start("");
}

private void metroLinkHLCommunity_Click(object sender, EventArgs e)
{
Process.Start("");
Process.Start("http://gamer-lab.com/");
Process.Start("https://vk.com/hl_lab");
Process.Start("https://www.facebook.com/groups/hl.lab.ru/");
Process.Start("http://steamcommunity.com//groups/gamer-lab_com");
}
}
}
157 changes: 157 additions & 0 deletions Sources/glSDK_Launcher/UI/FrmThirdPatrySoft.Designer.cs

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

Loading

0 comments on commit 314ca25

Please sign in to comment.