Mes documents/Visual Studio 2005/Projects/TES4ModTranslator/TES4ModTranslator/MainForm.cs

Go to the documentation of this file.
00001 using System;
00002 using System.Collections.Generic;
00003 using System.ComponentModel;
00004 using System.Drawing;
00005 using System.Windows.Forms;
00006 using TESPluginParser;
00007 
00008 namespace TES4ModTranslator {
00009 
00010     public partial class MainForm : Form {
00011         
00012             public MainForm() {
00013             InitializeComponent();
00014         }
00015 
00016                 private void LoadPlugin(string s) {
00017             Plugin p = new Plugin(s);
00018         }
00019 
00020             private void openToolStripMenuItem_Click(object sender, EventArgs e) {
00021             if(OpenModDialog.ShowDialog()==DialogResult.OK) {
00022                 foreach(string s in OpenModDialog.FileNames) {
00023                     LoadPlugin(s);
00024                 }
00025             }
00026         }
00027                 
00028                 private void saveToolStripMenuItem_Click(object sender, EventArgs e) {
00029                 
00030                 }
00031 
00032                 private void saveAsToolStripMenuItem_Click(object sender, EventArgs e) {
00033             // if(PluginTree.SelectedNode==null) {
00034                 // MessageBox.Show("No plugin selected to save","Error");
00035                 // return;
00036             // }
00037             // TreeNode tn=PluginTree.SelectedNode;
00038             // while(!(tn.Tag is Plugin)) tn=tn.Parent;
00039             // Plugin p=(Plugin)tn.Tag;
00040             // if(SaveModDialog.ShowDialog()==DialogResult.OK) {
00041                 // p.Save(SaveModDialog.FileName);
00042             // }
00043         }
00044 
00045                 private void exitAppToolStripMenuItem_Click(object sender, EventArgs e) {
00046 
00047         }
00048 
00049                 private void helpToolStripMenuItem_Click(object sender, EventArgs e) {
00050                 
00051                 }
00052 
00053                 private void aboutToolStripMenuItem_Click(object sender, EventArgs e) {
00054                 
00055                 }
00056 
00057         }
00058 }

Generated on Fri Jun 23 21:50:04 2006 for OblivionModTranslator by  doxygen 1.4.6-NO