FRBDK/Glue/ParticleEditorPlugin/ParticleEditorPlugin/Form1.cs
/// <summary>
/// Opens a file dialog to load an emix.
/// </summary>
Opens a file dialog to load an emix.
Opens a file dialog to load an emix .
private void loadToolStripMenuItem_Click(object sender, EventArgs e)
        {
            if (ConfirmLosingChanges() == false)
            {
                return;
            }
            OpenFileDialog openDialog = new OpenFileDialog();
            openDialog.Filter = "*.emix|*.*";
            openDialog.RestoreDirectory = true;
            if (openDialog.ShowDialog() == DialogResult.OK)
            {
                FileName = openDialog.FileName;
                ProjectManager.Self.Load(fileName);
            }
        }
private void loadToolStripMenuItem_Click ( object sender , EventArgs e ) { if ( ConfirmLosingChanges ( ) == false ) { return ; } OpenFileDialog openDialog = new OpenFileDialog ( ) ; openDialog . Filter = " " ; openDialog . RestoreDirectory = true ; if ( openDialog . ShowDialog ( ) == DialogResult . OK ) { FileName = openDialog . FileName ; ProjectManager . Self . Load ( fileName ) ; } }
Opens a file dialog to load an emix.
Opens a file dialog to load an emix .
// early out if user doesn't want to lose changes
sender
object
e
EventArgs