separated panel logic into a separate file Form1_Panelworks.cs