private void addFile_Click(object sender, EventArgs e) { StringWindow strWindow = new StringWindow(); if (strWindow.ShowDialog() == DialogResult.OK) { archive.FileList.Add(strWindow.input); archive.StringList.Add(strWindow.input); fileList.Items.Add(strWindow.input); stringList.Items.Add(strWindow.input); } }
private void addScene_Click(object sender, EventArgs e) { StringWindow strWindow = new StringWindow(); if (strWindow.ShowDialog() == DialogResult.OK) { FDGH.Scene scene = new FDGH.Scene(); scene.Name = strWindow.input; scene.AssetGroup1 = new List <string>(); scene.AssetGroup2 = new List <string>(); archive.SceneList.Add(scene); sceneList.Items.Add(strWindow.input); } }