示例#1
0
 private void ImportMeshFile()
 {
     using (var imd = new ImportModelsDialog(ProjectManager))
     {
         imd.SelectFileOnStart = true;
         imd.ShowDialog();
     }
 }
示例#2
0
        private void ImportMeshFile()
        {
            using (var imd = new ImportModelsDialog())
            {
                imd.Project           = CurrentProject;
                imd.SelectFileOnStart = true;

                if (imd.ShowDialog() == DialogResult.OK)
                {
                    ImportAssimpModel(imd);
                }
            }
        }