public void CloseProject() { atmlPreviewPanel.Text = ""; atmlPreviewPanel.Modified = false; SetControlStates(); }