Quantcast
Channel: VBForums - Visual Basic .NET
Viewing all articles
Browse latest Browse all 27207

VS 2008 Set programmatically the maximizebox click

$
0
0
Hi,
I inserted a datagridview in my application and I set its width like this:
dgvNumber.width = 50
When the user clicks the maximizeBox, I want the width of that datagridview to be set automatically to its double.
And when the user clicks again on the maximizebox, the datagridview will be set in its initial width.
How could I do this ?
Any help is welcomed, with many thanks.

Viewing all articles
Browse latest Browse all 27207

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>