2 using System.Collections.Generic;
3 using System.ComponentModel;
8 using System.Windows.Forms;
10 namespace B2SServerSamplePluginCSharp
22 InitializeComponent();
30 private void Frontend_Load(
object sender, EventArgs e)
33 Version V = System.Reflection.Assembly.GetExecutingAssembly().GetName().Version;
35 DateTime BuildDate =
new DateTime(2000, 1, 1).AddDays(V.Build).AddSeconds(V.Revision * 2);
37 VersionLabel.Text=
string.Format(
"Version {0} as of {1}", V.ToString(), BuildDate.ToString(
"yyyy.MM.dd hh:mm"));
46 private void CloseButton_Click(
object sender, EventArgs e)
51 private void DocuLinkLabel_LinkClicked(
object sender, LinkLabelLinkClickedEventArgs e)
53 System.Diagnostics.Process.Start(
"http://directoutput.github.io/B2SServerSamplePlugin/");
56 private void VersionLabel_Click(
object sender, EventArgs e)