各位好!我是新学C#的,请问怎么样绑定图片格式如下:
this.pictureBox1.DataBindings.Add("image", this.bindingSource1, "照片", true);
就是把对话框中的pictureBox1跟主窗口绑定,如何做呢?
请各位高手指教!
this.pictureBox1.DataBindings.Add("image", this.bindingSource1, "照片", true);
就是把对话框中的pictureBox1跟主窗口绑定,如何做呢?
请各位高手指教!
pictureBox1.DataBindings.Add("Image", bindingSource1, "Photo", true,
DataSourceUpdateMode.Never, new Bitmap(typeof(Button), "Button.bmp"));