Commit e83cc9e7 kwwwvagaa

测试空间修改

1 个父辈 ab76b5b1
......@@ -2,7 +2,7 @@
<package >
<metadata>
<id>$id$</id>
<version>1.0.13</version>
<version>1.0.14</version>
<title>HZHControls</title>
<authors>HuangZhengHui</authors>
<owners>HuangZhengHui</owners>
......
......@@ -25,6 +25,7 @@ namespace Test
try
{
ControlHelper.FreezeControl(this, true);
this.tvMenu.Nodes.Add("关于授权");
TreeNode tnForm = new TreeNode(" 窗体");
tnForm.Nodes.Add("提示窗体");
tnForm.Nodes.Add("多输入窗体");
......@@ -97,6 +98,7 @@ namespace Test
tnFactory.Nodes.Add("多通道转盘");
tnFactory.Nodes.Add("转盘");
this.tvMenu.Nodes.Add(tnFactory);
AddControl(new UCShouQuan());
}
finally
{
......@@ -111,6 +113,9 @@ namespace Test
this.Title = "HZHControls控件库DEMO--" + strName;
switch (strName)
{
case "关于授权":
AddControl(new UCShouQuan());
break;
#region 窗体 English:forms
case "提示窗体":
if (FrmDialog.ShowDialog(this, "是否再显示一个没有取消按钮的提示框?", "模式窗体测试", true) == System.Windows.Forms.DialogResult.OK)
......
......@@ -103,6 +103,12 @@
<Compile Include="Program.cs" />
<Compile Include="Properties\AssemblyInfo.cs" />
<Compile Include="TestGridModel.cs" />
<Compile Include="UCShouQuan.cs">
<SubType>UserControl</SubType>
</Compile>
<Compile Include="UCShouQuan.Designer.cs">
<DependentUpon>UCShouQuan.cs</DependentUpon>
</Compile>
<Compile Include="UC\UCTestArrow.cs">
<SubType>UserControl</SubType>
</Compile>
......@@ -684,6 +690,9 @@
<DependentUpon>Resources.resx</DependentUpon>
<DesignTime>True</DesignTime>
</Compile>
<EmbeddedResource Include="UCShouQuan.resx">
<DependentUpon>UCShouQuan.cs</DependentUpon>
</EmbeddedResource>
<EmbeddedResource Include="UC\UCTestArrow.resx">
<DependentUpon>UCTestArrow.cs</DependentUpon>
</EmbeddedResource>
......
using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Drawing;
using System.Data;
using System.Linq;
using System.Text;
using System.Windows.Forms;
using System.Diagnostics;
namespace Test
{
public partial class UCShouQuan : UserControl
{
public UCShouQuan()
{
InitializeComponent();
}
private void linkLabel1_LinkClicked(object sender, LinkLabelLinkClickedEventArgs e)
{
Process.Start("https://shang.qq.com/wpa/qunwpa?idkey=6e08741ef16fe53bf0314c1c9e336c4f626047943a8b76bac062361bab6b4f8d");
}
private void linkLabel2_LinkClicked(object sender, LinkLabelLinkClickedEventArgs e)
{
Process.Start("tencent://AddContact/?fromId=45&fromSubId=1&subcmd=all&uin=623128629");
}
private void linkLabel3_LinkClicked(object sender, LinkLabelLinkClickedEventArgs e)
{
Process.Start(linkLabel3.Text);
}
private void linkLabel4_LinkClicked(object sender, LinkLabelLinkClickedEventArgs e)
{
Process.Start(linkLabel4.Text);
}
private void linkLabel5_LinkClicked(object sender, LinkLabelLinkClickedEventArgs e)
{
Process.Start(linkLabel5.Text);
}
}
}
此文件的差异太大,无法显示。
支持 Markdown 格式
你添加了 0 到此讨论。请谨慎行事。
Finish editing this message first!