Resizable Form in C#

  • Thread starter Thread starter Sveta
  • Start date Start date
S

Sveta

I am new to C#. At this time I am working on a project
that requires to make a Dialog box (with OK button) that
will display a message. This dialog box must be resizable
based on the message that will be displayed (just like
the Message Box does, changes its size based on the
infomation that is being displayed). Any idea?

Thank you for help.
 
As Tamir stated there is no automatism there.
You might store your text in a autoresizable label (lable.AutoSize=true) and
adjust the size of the window accrodingly.
 
Back
Top