摘要: 使用此消息框可在最顶层出现,不会被程序遮挡 System.Windows.Forms.MessageBox.Show("消息内容", "消息提示", MessageBoxButtons.OK, MessageBoxIcon.Information, MessageBoxDefaultButton.B 阅读全文
posted @ 2024-01-02 17:43 奇迹之耀 阅读(230) 评论(0) 推荐(0) 编辑
摘要: WPF测试某控件内存溢出问题,代码如下 for (int j = 0; j < 1000; j++) { for (int i = 0; i < 100; i++) { UserControl1 AdvancedMMenuCtrl = new UserControl1(); } Console.Wr 阅读全文
posted @ 2024-01-02 17:39 奇迹之耀 阅读(57) 评论(0) 推荐(0) 编辑