/[MorrowindCustomClothingSlotCreator]/trunk/MorrowindCustomClothingSlotCreator/Form1.cs
ViewVC logotype

Diff of /trunk/MorrowindCustomClothingSlotCreator/Form1.cs

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

revision 4 by william, Fri Jul 29 09:23:17 2011 UTC revision 17 by william, Fri Jul 29 16:09:53 2011 UTC
# Line 44  namespace MorrowindCustomClothingSlotCre Line 44  namespace MorrowindCustomClothingSlotCre
44    
45          private void mnuItemOpenPlugin_Click(object sender, EventArgs e)          private void mnuItemOpenPlugin_Click(object sender, EventArgs e)
46          {          {
47                this.log.Clear();
48              PluginLoader.InitialDirectory = MorrowindDataFilesPath;              PluginLoader.InitialDirectory = MorrowindDataFilesPath;
49              DialogResult result = PluginLoader.ShowDialog();              DialogResult result = PluginLoader.ShowDialog();
50              string PluginFile = PluginLoader.FileName;              string PluginFile = PluginLoader.FileName;
51              if (result != DialogResult.OK) return;              if (result != DialogResult.OK) return;
52              //MessageBox.Show("Load Plugin: " + PluginLoader.FileName);              //MessageBox.Show("Load Plugin: " + PluginLoader.FileName);
53              this.TES3PluginLoader = new TES3PluginLoader(PluginFile);              this.TES3PluginLoader = new TES3PluginLoader(PluginFile, this.log);
54              if (!this.LoadPlugin(PluginFile))              if (!this.LoadPlugin(PluginFile))
55              {              {
56                  MessageBox.Show("Failed to Load Plugin: " + PluginFile + "\n\nReason: \n\n" + this.TES3PluginLoader.PluginLoadFailureReason, "Failed to Load File:", MessageBoxButtons.OK, MessageBoxIcon.Error);                  MessageBox.Show("Failed to Load Plugin: " + PluginFile + "\n\nReason: \n\n" + this.TES3PluginLoader.PluginLoadFailureReason, "Failed to Load File:", MessageBoxButtons.OK, MessageBoxIcon.Error);

Legend:
Removed from v.4  
changed lines
  Added in v.17

  ViewVC Help
Powered by ViewVC 1.1.22