reconstruct MainForm