FRBDK/Glue/ParticleEditorPlugin/ParticleEditorPlugin/Form1.cs
/// <summary>
/// Opens a dialog to get a new filename path
/// </summary>
/// <returns>The path the user chose for the new file.</returns>
Opens a dialog to get a new filename path
Opens a dialog to get a new filename path
private string GetSavePath()
        {
            string returnPath = null;
            SaveFileDialog saveDialog = new SaveFileDialog();
            saveDialog.FileName = Path.GetFileName(fileName);
            saveDialog.DefaultExt = ".emix";
            saveDialog.AddExtension = true;
            if (saveDialog.ShowDialog() == DialogResult.OK)
            {
                returnPath = saveDialog.FileName;
            }
            return returnPath;
        }
private string GetSavePath ( ) { string returnPath = null ; SaveFileDialog saveDialog = new SaveFileDialog ( ) ; saveDialog . FileName = Path . GetFileName ( fileName ) ; saveDialog . DefaultExt = " " ; saveDialog . AddExtension = true ; if ( saveDialog . ShowDialog ( ) == DialogResult . OK ) { returnPath = saveDialog . FileName ; } return returnPath ; }
Opens a dialog to get a new filename path
Opens a dialog to get a new filename path
The path the user chose for the new file.
The path the user chose for the new file .