How To Add The Details in MessageBox?
How To Add The De开发者_运维知识库tails in MessageBox? eg: i link to forms after fillin the second form i want a messagebox showing the details entered by da user and to b shown in messagebox
You should create a new form and show it as a modal dialog using Form.ShowDialog()
. Not messagebox.
Here is a list of all posible way to form a MessageBox...
But I think that for your need you should just create a form, that get as parameter all info that you want to display and then call it
wanabemb wanabemb = new wanabemb(string info_here);
wanabemb.Show(); //or wanabemb.ShowDialog();
精彩评论