Beispiel #1
0
        private void Menu_Start_Receive_Click(object sender, EventArgs e)
        {
            ConnectManager.StartRead();
            //string path = @".//test.bmp";
            //FileStream fs = new FileStream(path, FileMode.Open);//可以是其他重载方法
            //byte[] byData = new byte[fs.Length];
            //fs.Read(byData, 0, byData.Length);
            //fs.Close();

            //MemoryStream ms = new MemoryStream(byData);
            //Image img = Image.FromStream(ms);
            //pictureBox1.Image = img;
        }