授权文件制作工具/源码/LisenceFile/Form1.cs
(开头部分) 5KB这里只显示每个文件的开头 60 行。登录后可以解锁完整代码。
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 LisenceFile
{
public partial class Form1 : Form
{
public Form1()
{
InitializeComponent();
this.Load += Form1_Load;
}
void Form1_Load(object sender, EventArgs e)
{
cbxVersions.DataSource = VersionSettingsManager.Instance.List();
cbxAuthoTypes.DataSource = AuthorizeManager.Instance.LoadItems();
txtSignDate.Text = DateTime.Now.ToString("yyyy年MM月dd日");
}
/// <summary>
/// 版本管理
/// </summary>
/// <param name="sender"></param>
/// <param name="e"></param>
private void btnVisionSettings_Click(object sender, EventArgs e)
{
FormVersionSettings fs = new FormVersionSettings();
fs.ShowDialog(this);
cbxVersions.DataSource = VersionSettingsManager.Instance.List();
}
private void cbxAuthoTypes_SelectedIndexChanged(object sender, EventArgs e)
{
AuthorizeItem ai = cbxAuthoTypes.SelectedItem as AuthorizeItem;
if (ai == null)
return;
lblMemo.Text = ai.Memo;
}
private void btnClose_Click(object sender, EventArgs e)
{
this.Close();
}
private void btnSave_Click(object sender, EventArgs e)
后面还有 125 行代码,解锁后查看完整代码
24 小时内免费解锁 3 个项目,之后 1 积分/个。 规则说明
AI 解读 AI
登录后可用,每次 10 积分,解读结果公开显示在下面。
还没有人解读过这个文件。
