PersistentWindows/Ninjacrab.PersistentWindows.Solution/Ninjacrab.PersistentWindows.SystrayShell/SplashForm.cs
Kang Yu 55851c6847 merge from WindowMagic by Sean Aitken:
1. use event driven detection instead of polling
2. add Dispose() method to free resources
2020-02-06 19:20:21 -08:00

42 lines
1,001 B
C#

using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Windows.Forms;
namespace Ninjacrab.PersistentWindows.SystrayShell
{
public partial class SplashForm : Form
{
public SplashForm()
{
InitializeComponent();
}
private void label1_Click(object sender, EventArgs e)
{
System.Diagnostics.Process.Start("https://github.com/kangyu-california/PersistentWindows");
}
private void timer1_Tick(object sender, EventArgs e)
{
progressBar1.PerformStep();
}
private void SplashForm_Load(object sender, EventArgs e)
{
this.label1.Text =
$@"
Persistent Windows
Version {Application.ProductVersion}
Author: Min Yong Kim
Contributors: Kang Yu, Sean Aitken";
}
}
}