如何在弹出窗口中删除最大化和最小化框 [英] How to Remove maximize and minimize box in pop window

查看:63
本文介绍了如何在弹出窗口中删除最大化和最小化框的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

当我打开弹出窗口时,我想删除最小化和最大化框。

解决方案

如果您使用的是桌面应用程序。然后你可以使用以下属性。



  //  使用此onload事件 
.MaximizeBox = false ;
.MinimizeBox = false ;

// 或在表单属性窗口中设置这些属性。





如有任何问题请告诉我。



谢谢。



- > M.U


while i am opening popup window i want to remove minimize and maximize box.

解决方案

if you are using desktop application. then you can use following properties.

//use this onload event
                this.MaximizeBox = false;
                this.MinimizeBox = false;

// or set these properties fasle in Form properties window.



if any issue then let me know.

Thanks.

-> M.U


这篇关于如何在弹出窗口中删除最大化和最小化框的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆