1
0
mirror of https://bitbucket.org/FuketsuBaka/clearcache1c.git synced 2024-12-22 18:43:14 +00:00
clearcache1c/ClearCache1C/Form3.cs

57 lines
1.5 KiB
C#
Raw Normal View History

2018-11-17 22:30:51 +00:00
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 ClearCache1C
{
public partial class FormAbout : Form
{
public FormAbout()
{
StartPosition = FormStartPosition.CenterScreen;
InitializeComponent();
}
private void LinkContact_LinkClicked(object sender, LinkLabelLinkClickedEventArgs e)
{
string url;
if (e.Link.LinkData != null)
url = e.Link.LinkData.ToString();
else
url = linkContact.Text.Substring(e.Link.Start, e.Link.Length);
if (!url.Contains("://"))
url = "mailto:" + url;
System.Diagnostics.Process.Start(url);
linkContact.LinkVisited = true;
}
private void linkGit_LinkClicked(object sender, LinkLabelLinkClickedEventArgs e)
{
string url;
if (e.Link.LinkData != null)
url = e.Link.LinkData.ToString();
else
url = linkGit.Text.Substring(e.Link.Start, e.Link.Length);
if (!url.Contains("://"))
url = "mailto:" + url;
System.Diagnostics.Process.Start(url);
linkGit.LinkVisited = true;
}
private void pictureBoxAi_Click(object sender, EventArgs e)
{
System.Diagnostics.Process.Start("http://ai-frame.net/");
}
}
}