if (ID_试卷 > 0)
{
S_试卷试题 s_试卷试题 = new S_试卷试题();
s_试卷试题.ID_试卷 = ID_试卷;
s_试卷试题.S_试题类型 = 2;
s_试卷试题.LoadData();
s_试卷试题.ShowDialog();
ID_试卷 = ID_试卷;
}
else
MessageBox.Show("试卷未保存,请先报存试卷信息.");
}
private void btn名词解释_Click(object sender, EventArgs e)
{
if (ID_试卷 > 0)
{
S_试卷试题 s_试卷试题 = new S_试卷试题();
s_试卷试题.ID_试卷 = ID_试卷;
s_试卷试题.S_试题类型 = 3;
s_试卷试题.LoadData();
s_试卷试题.ShowDialog();
ID_试卷 = ID_试卷;
}
else
MessageBox.Show("试卷未保存,请先报存试卷信息.");
}
private void btn简答题_Click(object sender, EventArgs e)
{
if (ID_试卷 > 0)
{
S_试卷试题 s_试卷试题 = new S_试卷试题();
s_试卷试题.ID_试卷 = ID_试卷;
s_试卷试题.S_试题类型 = 4;
s_试卷试题.LoadData();
s_试卷试题.ShowDialog();
ID_试卷 = ID_试卷;
}
else 《计算机网络》课程通用题库管理系统设计与实现(19):http://www.751com.cn/jisuanji/lunwen_183.html