Friday, May 8, 2015

How to refresh Form1 from inside a class?

hello


try this:

if (dialog == DialogResult.OK) { this.Refresh();
//or
this.Hide(); new Form1().ShowDialog(); }

hope it helps

No comments:

Post a Comment