private void setup(bool addSample, TreeView theTV, RichTextBox editArea) { this.currentArg = new Argument(); if (addSample) { currentArg.setupSample(); } this.theTV = theTV; this.editArea = editArea; }
private void loadRE3Map(string fileName) { Argument a = new Argument(); currentArg = null; if (a.openRE3(fileName)) { currentArg = a; } else { a.setupSample(); currentArg = a; } }