protected override void OnActivated(EventArgs e)
 {
     if (!_loaded)
     {
         _loaded = true;
         actionListControl1.LoadData(_actions, _method, _project);
         actionListControl1.SetLoaded();
     }
     FormProgress.HideProgress();
     base.OnActivated(e);
 }
        void miEdit_Click(object sender, EventArgs e)
        {
            FormProgress.ShowProgress("Loading action editor, please wait ...");
#if DEBUG
            MathNode.Trace("Loading action editor");
#endif
            InitializeInput();
#if DEBUG
            MathNode.Trace("End of InitializeInput");
#endif
            //
            OnEditAction();
            FormProgress.HideProgress();
        }
        protected override void OnEditAction()
        {
            MethodDiagramViewer mv = this.DiagramViewer;

            if (mv != null)
            {
                ILimnorDesignerLoader loader = mv.DesignerHolder.Designer as ILimnorDesignerLoader;
                ISingleAction         av     = this.ActionObject as ISingleAction;
                string name = av.ActionData.ActionName;
                FormProgress.HideProgress();
                if (av.ActionData.Edit(loader.Writer, mv.Method, this.FindForm(), false))
                {
                    if (name != av.ActionData.ActionName)
                    {
                        IMethodDiagram p = this.Parent as IMethodDiagram;
                        if (p != null)
                        {
                            p.OnActionNameChanged(av.ActionData.ActionName, av.ActionId.WholeTaskId);
                        }
                    }
                    mv.Changed = true;
                }
            }
        }
 protected override void OnActivated(EventArgs e)
 {
     FormProgress.HideProgress();
     base.OnActivated(e);
 }