private void CreateImageBut_Click(object sender, EventArgs e) { BaseForm baseForm = this.ActiveMdiChild as BaseForm; if (baseForm != null) { ThumbnailForm form = new ThumbnailForm(); form.Show(this); } else { MessageBox.Show("请先打开场景"); } }