private void Clear() { // Clear the text in the degrees of freedom analysis text box DFAnalysisTextBox.Text = string.Empty; // Clear the workspace (which will clear the drawing canvas and equation editor) WorkSpace.ClearWorkSpace(); // Clear the "last save" label Saving_TextBlock.Text = string.Empty; Saving_TextBlock.Visibility = System.Windows.Visibility.Collapsed; // Reset the saving related stuff ToolTipService.SetToolTip(SaveAsButton, "Save as..."); }