Quinctia/FunctionForms/FormMonographContribution.cs
(开头部分) 11KB这里只显示每个文件的开头 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 Quinctia.FunctionForms
{
public partial class FormMonographContribution : Form
{
public FormMonographContribution()
{
InitializeComponent();
}
public FormMonographContribution(RefMonographContribution refMonographContribution)
{
InitializeComponent();
SetTxtControls(refMonographContribution);
}
private void SetTxtControls(RefMonographContribution refMonographContribution)
{
this.txtMainPeople.Text = refMonographContribution.strMainPeople;
this.txtContributionTitle.Text = refMonographContribution.strContributionTitle;
this.cmbLiteratureType.Text = refMonographContribution.strLiteratureType;
this.cmbLiteratureCarrier.Text = refMonographContribution.strLiteratureCarrier;
this.txtOtherPeople.Text = refMonographContribution.strOtherPeople;
this.txtMonoMainPeople.Text = refMonographContribution.strMonoMainPeople;
this.txtMonoTitle.Text = refMonographContribution.strMonoTitle;
this.txtOtherTitleInfo.Text = refMonographContribution.strOtherTitleInfo;
this.txtVersion.Text = refMonographContribution.strVersion;
this.txtPubPlace.Text = refMonographContribution.strPubPlace;
this.txtPubPeople.Text = refMonographContribution.strPubPeople;
this.txtPubYear.Text = refMonographContribution.strPubYear;
this.txtRefPage.Text = refMonographContribution.strRefPage;
this.txtRefTime.Text = refMonographContribution.strRefTime;
this.txtPath.Text = refMonographContribution.strPath;
}
/// <summary>
/// 时钟,因为在ComboBox的SelectedIndexChanged事件中无法再次
/// 改变ComboBox的值,因此需要通过这个时钟在10毫秒后改变
/// </summary>
Timer tmrRefreshComboBox = new Timer();
/// <summary>
/// 控件cmbLiteratureType的刷新用值
/// </summary>
string strLiteratureType = "[M] 专著";
/// <summary>
/// 控件cmbLiteratureCarrier的刷新用值
/// </summary>
string strLiteratureCarrier = "[ ] 不填写";
private void FormMonographContribution_Load(object sender, EventArgs e)
后面还有 202 行代码,解锁后查看完整代码
24 小时内免费解锁 3 个项目,之后 1 积分/个。 规则说明
AI 解读 AI
登录后可用,每次 10 积分,解读结果公开显示在下面。
还没有人解读过这个文件。
