-
Notifications
You must be signed in to change notification settings - Fork 3
/
Copy pathAboutDialog.cs
41 lines (35 loc) · 1016 Bytes
/
AboutDialog.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
35
36
37
38
39
40
41
using System.Windows.Forms;
namespace NPOI.Tools.POIFSExplorer
{
public partial class AboutDialog : Form
{
private static AboutDialog _instance;
public static AboutDialog Instance
{
get
{
if (_instance == null)
{
_instance = new AboutDialog();
}
return _instance;
}
}
private AboutDialog()
{
InitializeComponent();
}
private void webSiteLink_LinkClicked(object sender, LinkLabelLinkClickedEventArgs e)
{
System.Diagnostics.Process.Start(webSiteLink.Text);
}
private class EtchedBorderedPanel : Panel
{
protected override void OnPaint(PaintEventArgs e)
{
base.OnPaint(e);
ControlPaint.DrawBorder3D(e.Graphics, this.ClientRectangle, Border3DStyle.Etched, Border3DSide.Top);
}
}
}
}