新建:
FormChild form = new FormChild(this);
form.MdiParent = this;
form.Text = "绘图区" + this.MdiChildren.Length.ToString();
form.Show();
form.BackColor = this.backColor; 打开:
OpenFileDialog opendialog = new OpenFileDialog();
opendialog.Filter = "Image Files(*.bmp;*.wmf;*.ico;*.cur;*.jgp) ¦*.bmp;*.wmf;*.ico;*.cur;*.jpg";
if (opendialog.ShowDialog() == DialogResult.OK)
{
FormChild form = new FormChild(this);
form.MdiParent = this;
form.Text = "绘图区" + this.MdiChildren.Length.ToString();
form.filepath = opendialog.FileName;
form.Show();
我打开图片不在绘图板上是什么原因,请指教
FormChild form = new FormChild(this);
form.MdiParent = this;
form.Text = "绘图区" + this.MdiChildren.Length.ToString();
form.Show();
form.BackColor = this.backColor; 打开:
OpenFileDialog opendialog = new OpenFileDialog();
opendialog.Filter = "Image Files(*.bmp;*.wmf;*.ico;*.cur;*.jgp) ¦*.bmp;*.wmf;*.ico;*.cur;*.jpg";
if (opendialog.ShowDialog() == DialogResult.OK)
{
FormChild form = new FormChild(this);
form.MdiParent = this;
form.Text = "绘图区" + this.MdiChildren.Length.ToString();
form.filepath = opendialog.FileName;
form.Show();
我打开图片不在绘图板上是什么原因,请指教
好绘图的话,不要用picturebox,就在from上玩,pictrurebox操作图像不好玩!