public override void Run(Altaxo.Graph.GUI.GraphController ctrl) { ctrl.EnsureValidityOfCurrentLayerNumber(); if (null != ctrl.ActiveLayer) { LayerController.ShowDialog(ctrl.ActiveLayer); } }
private void EhMenuGraphLayer_OnClick(object sender, System.EventArgs e) { EnsureValidityOfCurrentLayerNumber(); if (null != this.ActiveLayer) { LayerController.ShowDialog(this.ActiveLayer); } }