AmandaInterface.FileEditorTab.Save C# (CSharp) Method

Save() public method

public Save ( ) : void
return void
        public void Save()
        {
            if (!IsEdited) return;

            if (FileLocation == String.Empty)
            {
                SaveAs();
            }
            else
            {
                File.WriteAllText(FileLocation, textBox.Text);
                IsEdited = false;
            }
        }