Quinctia/FunctionForms/FormMonograph.cs
(开头部分) 10KB这里只显示每个文件的开头 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;
using System.Xml;
namespace Quinctia.FunctionForms
{
public partial class FormMonograph : Form
{
public FormMonograph()
{
InitializeComponent();
}
public FormMonograph(RefMonograph refMonograph)
{
InitializeComponent();
SetTxtControls(refMonograph);
}
/// <summary>
/// 根据输入给文本控件赋值
/// </summary>
/// <param name="refMonograph"></param>
private void SetTxtControls(RefMonograph refMonograph)
{
this.txtMainPeople.Text = refMonograph.strMainPeople;
this.txtTitle.Text = refMonograph.strTitle;
this.txtTitleTip.Text = refMonograph.strTitleTip;
this.cmbLiteratureType.Text = refMonograph.strLiteratureType;
this.cmbLiteratureCarrier.Text = refMonograph.strLiteratureCarrier;
this.txtOtherPeople.Text = refMonograph.strOtherPeople;
this.txtVersion.Text = refMonograph.strVersion;
this.txtPubPlace.Text = refMonograph.strPubPlace;
this.txtPubPeople.Text = refMonograph.strPubPeople;
this.txtPubYear.Text = refMonograph.strPubYear;
this.txtRefPage.Text = refMonograph.strRefPage;
this.txtRefTime.Text = refMonograph.strRefTime;
this.txtPath.Text = refMonograph.strPath;
}
/// <summary>
/// 时钟,因为在ComboBox的SelectedIndexChanged事件中无法再次
/// 改变ComboBox的值,因此需要通过这个时钟在10毫秒后改变
/// </summary>
Timer tmrRefreshComboBox = new Timer();
/// <summary>
/// 控件cmbLiteratureType的刷新用值
/// </summary>
string strLiteratureType = "[M] 专著";
/// <summary>
/// 控件cmbLiteratureCarrier的刷新用值
/// </summary>
后面还有 203 行代码,解锁后查看完整代码
24 小时内免费解锁 3 个项目,之后 1 积分/个。 规则说明
AI 解读 AI
登录后可用,每次 10 积分,解读结果公开显示在下面。
还没有人解读过这个文件。
