//Menu: File -> Save private void Save() { if (CurrentEditor == null) { return; } if (CurrentEditor.cur_fname != "") { CurrentEditor.SaveToFile(CurrentEditor.cur_fname); } else { this.SaveAs(CurrentEditor); } }