我在调试程序的时候出错
提示"为自动填充列调整大小期间不能执行此操作"错误代码Form4 cc = new Form4();
this.IsMdiContainer = true;
cc.MdiParent = this;
cc.Text = 资料删除ToolStripMenuItem.Text;
cc.Show(); //这里报错,提示
提示"为自动填充列调整大小期间不能执行此操作"错误代码Form4 cc = new Form4();
this.IsMdiContainer = true;
cc.MdiParent = this;
cc.Text = 资料删除ToolStripMenuItem.Text;
cc.Show(); //这里报错,提示
系统提示
cc.Show(); 有错,我没有找出来问题在哪里,
你从这里找原因嘛。
还有,如果是MDI父窗体最好用this.ShowDialog()不要用show