private void ImportMeshFile() { using (var imd = new ImportModelsDialog(ProjectManager)) { imd.SelectFileOnStart = true; imd.ShowDialog(); } }
private void ImportMeshFile() { using (var imd = new ImportModelsDialog()) { imd.Project = CurrentProject; imd.SelectFileOnStart = true; if (imd.ShowDialog() == DialogResult.OK) { ImportAssimpModel(imd); } } }