28 lines
630 B
C#
28 lines
630 B
C#
using System;
|
|
using System.Collections.Generic;
|
|
using System.ComponentModel;
|
|
using System.Data;
|
|
using System.Drawing;
|
|
using System.Linq;
|
|
using System.Text;
|
|
using System.Windows.Forms;
|
|
|
|
namespace TiJianJieGuo
|
|
{
|
|
public partial class frmPicZp : Form
|
|
{
|
|
public byte[] image;
|
|
public frmPicZp(byte[] image)
|
|
{
|
|
InitializeComponent();
|
|
this.image = image;
|
|
}
|
|
|
|
private void frmPicZp_Load(object sender, EventArgs e)
|
|
{
|
|
System.IO.MemoryStream ms = new System.IO.MemoryStream(image);
|
|
pic_zp.Image = Image.FromStream(ms);
|
|
}
|
|
}
|
|
}
|