-
Notifications
You must be signed in to change notification settings - Fork 39
/
AtticusSplashForm.cs
34 lines (30 loc) · 999 Bytes
/
AtticusSplashForm.cs
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Text;
using System.Windows.Forms;
namespace AtticusServer
{
public partial class AtticusSplashForm : Form
{
public AtticusSplashForm()
{
InitializeComponent();
label1.Text = DataStructures.Information.VersionString + " " + DataStructures.Information.BuildDateString + " \n" + DataStructures.Information.AuthorString + "\nContributors: " + DataStructures.Information.ContribString;
}
private void pictureBox1_Click(object sender, EventArgs e)
{
this.Close();
}
private void timer1_Tick(object sender, EventArgs e)
{
this.Close();
}
public AtticusSplashForm(bool autoCloseAfterTimeout) : this()
{
this.timer1.Enabled = autoCloseAfterTimeout;
}
}
}