Form display porblem
-
Hi, guys, I have a form(window1) and I want click a button and then display another form(window2). If I use window2.ShowDialog(), window2 is displayed correctly. But I would like to use window2.Show(), the label control on the form can n't display correctly. Why/ Who can help me? Thank you very much. vigorous
-
Hi, guys, I have a form(window1) and I want click a button and then display another form(window2). If I use window2.ShowDialog(), window2 is displayed correctly. But I would like to use window2.Show(), the label control on the form can n't display correctly. Why/ Who can help me? Thank you very much. vigorous
If you include code, we can better help you. Does you you button handler look like this?
private void button_Click(object sender, EventArgs e)
{
OtherWindow other = new OtherWindow();
other.Show();
}- Nick Parker
My Blog | My Articles -
If you include code, we can better help you. Does you you button handler look like this?
private void button_Click(object sender, EventArgs e)
{
OtherWindow other = new OtherWindow();
other.Show();
}- Nick Parker
My Blog | My ArticlesYes ,you are right. The code is very similar. Do you know the reason of display incorrectly? Thank you vigorous
-
Yes ,you are right. The code is very similar. Do you know the reason of display incorrectly? Thank you vigorous
What exactly do you mean it "display[s] incorrectly?" Please be specific or we can't help you.
Microsoft MVP, Visual C# My Articles