private void buIFFInvList_Click(object sender, EventArgs e) { myIffType = (IFFBuilderType)cbIFFBuilderType.SelectedItem; myIFFBuilder = new IFFBuilder(); myIFFBuilder.BuildFile(myIffType.sValue, textBox1.Text); }
public IFFBuilderAPP() { InitializeComponent(); myIFFBuilder = new IFFBuilder(); buIFFInvList.Name = "Build IFF Inventory List"; cbIFFBuilderType.Items.Add(myIFFBuilder.createType("Inventory Builder", "InvListBuild")); // curExcelApp.Workbooks.Add(buildIFFFile); }