public static void Save(Form targetForm) { winState = targetForm.WindowState; brdStyle = targetForm.FormBorderStyle; bounds = targetForm.Bounds; //topMost = targetForm.TopMost; }