else
{
return;
}}
public string T_题目内容
{
get
{
return textBox1.Text;
}
set
{
textBox1.Text = value;
}}
public string D_答案1
{
get
{
return textBox2.Text;
}
set
{
textBox2.Text = value;
}}
public byte[] T_图片
{
get
{
if (pictureBox1.Image == null)
{
return new Byte[0];
}
else
{
MemoryStream ms = new MemoryStream();
pictureBox1.Image.Save(ms, System.Drawing.Imaging.ImageFormat.Gif);
return ms.ToArray();
}}
set
{
MemoryStream ms = new MemoryStream(value);
pictureBox1.Image = Image.FromStream(ms);
}}
private void checkBox1_CheckedChanged(object sender, EventArgs e) 《计算机网络》课程通用题库管理系统设计与实现(15):http://www.751com.cn/jisuanji/lunwen_183.html