/[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 24 by william, Mon Aug 2 02:25:56 2010 UTC revision 26 by william, Mon Aug 2 03:33:24 2010 UTC
# Line 128  private: System::Windows::Forms::ToolStr Line 128  private: System::Windows::Forms::ToolStr
128  private: System::Windows::Forms::OpenFileDialog^  RigLoader;  private: System::Windows::Forms::OpenFileDialog^  RigLoader;
129  private: System::Windows::Forms::ToolStripMenuItem^  mnuTestExporterInfoReturnValues;  private: System::Windows::Forms::ToolStripMenuItem^  mnuTestExporterInfoReturnValues;
130  private: System::Windows::Forms::SaveFileDialog^  RigSaver;  private: System::Windows::Forms::SaveFileDialog^  RigSaver;
131    private: System::Windows::Forms::ToolStripMenuItem^  mnuItemClose;
132    
133    
134    
# Line 160  private: Line 161  private:
161                  this->mnuTestExporterInfoReturnValues = (gcnew System::Windows::Forms::ToolStripMenuItem());                  this->mnuTestExporterInfoReturnValues = (gcnew System::Windows::Forms::ToolStripMenuItem());
162                  this->RigLoader = (gcnew System::Windows::Forms::OpenFileDialog());                  this->RigLoader = (gcnew System::Windows::Forms::OpenFileDialog());
163                  this->RigSaver = (gcnew System::Windows::Forms::SaveFileDialog());                  this->RigSaver = (gcnew System::Windows::Forms::SaveFileDialog());
164                    this->mnuItemClose = (gcnew System::Windows::Forms::ToolStripMenuItem());
165                  this->mainmenu->SuspendLayout();                  this->mainmenu->SuspendLayout();
166                  this->SuspendLayout();                  this->SuspendLayout();
167                  //                  //
# Line 184  private: Line 186  private:
186                  //                  //
187                  // mnuFile                  // mnuFile
188                  //                  //
189                  this->mnuFile->DropDownItems->AddRange(gcnew cli::array< System::Windows::Forms::ToolStripItem^  >(4) {this->mnuItemOpen,                  this->mnuFile->DropDownItems->AddRange(gcnew cli::array< System::Windows::Forms::ToolStripItem^  >(5) {this->mnuItemOpen,
190                          this->mnuItemSave, this->mnuItemSaveAs, this->mnuItemExit});                          this->mnuItemClose, this->mnuItemSave, this->mnuItemSaveAs, this->mnuItemExit});
191                  this->mnuFile->Name = L"mnuFile";                  this->mnuFile->Name = L"mnuFile";
192                  this->mnuFile->Size = System::Drawing::Size(37, 20);                  this->mnuFile->Size = System::Drawing::Size(37, 20);
193                  this->mnuFile->Text = L"&File";                  this->mnuFile->Text = L"&File";
# Line 193  private: Line 195  private:
195                  // mnuItemOpen                  // mnuItemOpen
196                  //                  //
197                  this->mnuItemOpen->Name = L"mnuItemOpen";                  this->mnuItemOpen->Name = L"mnuItemOpen";
198                  this->mnuItemOpen->Size = System::Drawing::Size(114, 22);                  this->mnuItemOpen->Size = System::Drawing::Size(152, 22);
199                  this->mnuItemOpen->Text = L"&Open";                  this->mnuItemOpen->Text = L"&Open";
200                  this->mnuItemOpen->Click += gcnew System::EventHandler(this, &gr2lib_rigeditor_frm::mnuItemOpen_Click);                  this->mnuItemOpen->Click += gcnew System::EventHandler(this, &gr2lib_rigeditor_frm::mnuItemOpen_Click);
201                  //                  //
202                  // mnuItemSave                  // mnuItemSave
203                  //                  //
204                  this->mnuItemSave->Name = L"mnuItemSave";                  this->mnuItemSave->Name = L"mnuItemSave";
205                  this->mnuItemSave->Size = System::Drawing::Size(114, 22);                  this->mnuItemSave->Size = System::Drawing::Size(152, 22);
206                  this->mnuItemSave->Text = L"&Save";                  this->mnuItemSave->Text = L"&Save";
207                  this->mnuItemSave->Click += gcnew System::EventHandler(this, &gr2lib_rigeditor_frm::mnuItemSave_Click);                  this->mnuItemSave->Click += gcnew System::EventHandler(this, &gr2lib_rigeditor_frm::mnuItemSave_Click);
208                  //                  //
209                  // mnuItemSaveAs                  // mnuItemSaveAs
210                  //                  //
211                  this->mnuItemSaveAs->Name = L"mnuItemSaveAs";                  this->mnuItemSaveAs->Name = L"mnuItemSaveAs";
212                  this->mnuItemSaveAs->Size = System::Drawing::Size(114, 22);                  this->mnuItemSaveAs->Size = System::Drawing::Size(152, 22);
213                  this->mnuItemSaveAs->Text = L"Save &As";                  this->mnuItemSaveAs->Text = L"Save &As";
214                  this->mnuItemSaveAs->Click += gcnew System::EventHandler(this, &gr2lib_rigeditor_frm::mnuItemSaveAs_Click);                  this->mnuItemSaveAs->Click += gcnew System::EventHandler(this, &gr2lib_rigeditor_frm::mnuItemSaveAs_Click);
215                  //                  //
216                  // mnuItemExit                  // mnuItemExit
217                  //                  //
218                  this->mnuItemExit->Name = L"mnuItemExit";                  this->mnuItemExit->Name = L"mnuItemExit";
219                  this->mnuItemExit->Size = System::Drawing::Size(114, 22);                  this->mnuItemExit->Size = System::Drawing::Size(152, 22);
220                  this->mnuItemExit->Text = L"&Exit";                  this->mnuItemExit->Text = L"&Exit";
221                  this->mnuItemExit->Click += gcnew System::EventHandler(this, &gr2lib_rigeditor_frm::mnuItemExit_Click);                  this->mnuItemExit->Click += gcnew System::EventHandler(this, &gr2lib_rigeditor_frm::mnuItemExit_Click);
222                  //                  //
# Line 261  private: Line 263  private:
263                  this->RigSaver->SupportMultiDottedExtensions = true;                  this->RigSaver->SupportMultiDottedExtensions = true;
264                  this->RigSaver->Title = L"Please select the Granny2 Rig to write to or create";                  this->RigSaver->Title = L"Please select the Granny2 Rig to write to or create";
265                  //                  //
266                    // mnuItemClose
267                    //
268                    this->mnuItemClose->Name = L"mnuItemClose";
269                    this->mnuItemClose->Size = System::Drawing::Size(152, 22);
270                    this->mnuItemClose->Text = L"&Close";
271                    this->mnuItemClose->Click += gcnew System::EventHandler(this, &gr2lib_rigeditor_frm::mnuItemClose_Click);
272                    //
273                  // gr2lib_rigeditor_frm                  // gr2lib_rigeditor_frm
274                  //                  //
275                  this->AutoScaleDimensions = System::Drawing::SizeF(6, 13);                  this->AutoScaleDimensions = System::Drawing::SizeF(6, 13);
# Line 653  private: System::Void mnuItemSaveAs_Clic Line 662  private: System::Void mnuItemSaveAs_Clic
662                           const char* filename = (char*)Marshal::StringToHGlobalAnsi(RigSaver->FileName).ToPointer();                           const char* filename = (char*)Marshal::StringToHGlobalAnsi(RigSaver->FileName).ToPointer();
663                           GrannyFileWriter::WriteFile(filename,_grn_file->GrannyFileInfo,_grn_file->_logger);                                                 GrannyFileWriter::WriteFile(filename,_grn_file->GrannyFileInfo,_grn_file->_logger);                      
664                   }                   }
665    private: System::Void mnuItemClose_Click(System::Object^  sender, System::EventArgs^  e)
666                     {
667                              propgrid->SelectedObject = NULL;
668                     }
669  };  };
670  //              }  //              }
671  //      }  //      }

Legend:
Removed from v.24  
changed lines
  Added in v.26

  ViewVC Help
Powered by ViewVC 1.1.22