《计算机网络》课程通用题库管理系统设计与实现(15)_毕业论文

毕业论文移动版

毕业论文 > 计算机论文 >

《计算机网络》课程通用题库管理系统设计与实现(15)


            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) (责任编辑:qin)