/// <summary> /// Creates a new (different) maze. /// Every item will be created with the same parameters. /// </summary> /// <param name="sender"></param> /// <param name="e"></param> public override void OnNew(object sender, EventArgs e) { base.OnNew(sender, e); OnLayout(); #region Setup one item and use its parameters for all other items. TemplateItem.Setup(true); DistributeTemplateParameters(); #endregion // Now that we have created all mazes, refresh the parameter display. this.UpdateCaption(); this.UpdateStatusLine(); }