数控木工裁板锯:在VB.net中让控件大小和位置随着表单的大小成比例变化的方法
来源:百度文库 编辑:查人人中国名人网 时间:2024/10/04 16:11:59
以form1窗体和command1控件为例
在窗体的Resize事件中写
command1.with=form1.with * a
command1.height=form1.height * b
a和b是百分比看你想怎么调了
以form1窗体和command1控件为例
在窗体的Resize事件中写
command1.with=form1.with * a
command1.height=form1.height * b
a和b是百分比看你想怎么调了