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.
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.