RaUI/Source/Itrycn_Project2/FrmAbout.cs

47 lines
1.3 KiB
C#
Raw Permalink Normal View History

2020-11-28 07:03:28 +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.Windows.Forms;
namespace Itrycn_Project2
2020-11-28 07:03:28 +00:00
{
public partial class FrmAbout : RySkins.SKinForm
2020-11-28 07:03:28 +00:00
{
public FrmAbout()
{
InitializeComponent();
}
private void FrmAbout_Load(object sender, EventArgs e)
{
lblTitle.Text = Soft_ConstInfo.Soft_Title + " V" + ryCommon.RySoft.VersionStr;
LblQQ_Qun.Text = Soft_ConstInfo.QQ_Qun;
if (Soft_ConstInfo.Soft_Url.Length == 0) { lblVisitUrl.Enabled = false; }
2020-11-28 07:03:28 +00:00
}
private void LblVisitUrl_Click(object sender, EventArgs e)
{
ryCommon.RyFiles.OpenUrl(Soft_ConstInfo.Soft_Url);
2020-11-28 07:03:28 +00:00
}
private void BtnCancel_Click(object sender, EventArgs e)
{
DialogResult = DialogResult.OK;
}
private void LblQQ_Qun_Click(object sender, EventArgs e)
{
try
{
Clipboard.SetText(LblQQ_Qun.Text);
MessageBox.Show("已成功复制到剪切板,请复制到QQ搜索。","提示",MessageBoxButtons.OK,MessageBoxIcon.Information);
}
catch { }
}
}
}