I am opening a form at run time from the main gui form using form.showdialog();
I set the proppeties likeform should appear in center etc
form.FormBorderStyle = System.Windows.Forms.FormBorderStyle.FixedSingle;
form.ClientSize = new System.Drawing.Size(200, 50);
form.StartPosition = FormStartPosition.CenterParent;
and added a label
Label popupLabel1 = new Label();
form.Controls.Add(popupLabel1);
Problem is when i replace form.showdialog() with form.show() I cant see the content of label and now this new form does not appear in the center. Why these set properties are not occuring ?
Thanls