private void ValidatePlan() { WeblScript scripter = new WeblScript(); string modPlan; if (!scripter.ValidatePlan(this.FightPlanText, out modPlan, "#!")) { MessageBox.Show("Plan invalid - invalid lines marked with #!"); this.FightPlanText = modPlan; } }
public bool Validate() { return(WeblScript.ValidatePlan(FightPlanText)); }