/[Sims3RigEditor]/trunk/gr2lib_cpp/gr2lib_rigeditor_frm.h
ViewVC logotype

Diff of /trunk/gr2lib_cpp/gr2lib_rigeditor_frm.h

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 19 by william, Sun Aug 1 04:22:12 2010 UTC revision 20 by william, Sun Aug 1 04:23:29 2010 UTC
# Line 505  private: System::Void mnuItemSave_Click( Line 505  private: System::Void mnuItemSave_Click(
505                           // convert Data to Native                           // convert Data to Native
506                           ConvertToNative();                           ConvertToNative();
507                           const char* filename = _grn_file->_GrannyFilename;                           const char* filename = _grn_file->_GrannyFilename;
508                           GrannyFileWriter::WriteGrannyFile(filename,_grn_file->GrannyFileInfo,_grn_file->_logger);                           GrannyFileWriter::WriteFile(filename,_grn_file->GrannyFileInfo,_grn_file->_logger);
509                   }                   }
510  private: System::Void mnuItemSaveAs_Click(System::Object^  sender, System::EventArgs^  e)  private: System::Void mnuItemSaveAs_Click(System::Object^  sender, System::EventArgs^  e)
511                   {                   {
# Line 514  private: System::Void mnuItemSaveAs_Clic Line 514  private: System::Void mnuItemSaveAs_Clic
514                           System::Windows::Forms::DialogResult result = RigSaver->ShowDialog();                           System::Windows::Forms::DialogResult result = RigSaver->ShowDialog();
515                           if (result != System::Windows::Forms::DialogResult::OK) return;                           if (result != System::Windows::Forms::DialogResult::OK) return;
516                           const char* filename = (char*)Marshal::StringToHGlobalAnsi(RigSaver->FileName).ToPointer();                           const char* filename = (char*)Marshal::StringToHGlobalAnsi(RigSaver->FileName).ToPointer();
517                           GrannyFileWriter::WriteGrannyFile(filename,_grn_file->GrannyFileInfo,_grn_file->_logger);                                                   GrannyFileWriter::WriteFile(filename,_grn_file->GrannyFileInfo,_grn_file->_logger);                      
518                   }                   }
519  };  };
520  //              }  //              }

Legend:
Removed from v.19  
changed lines
  Added in v.20

  ViewVC Help
Powered by ViewVC 1.1.22