示例#1
0
        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("请先打开场景");
            }
        }
示例#2
0
文件: MainForm.cs 项目: viticm/pap2
 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("请先打开场景");
     }
 }