Converted panel to windows form