protected void ExecuteComponentFrame()
        {
            ProcessComponentFrame frame = new ProcessComponentFrame (_Model, _Context.AppForm ());
            frame.Refresh += new EventHandler(_Context.RefreshView);
            ProcessComponentFrameExecutionView view = new ProcessComponentFrameExecutionView ();
            view.Init (frame);
            StateDiagramView dv = _Context.ParentStateDiagramView;
            dv.SetExecutionWindow (view);
            view.Show ();

            foreach (DictionaryEntry de in frame.ComponentContexts)
            {
                ProcessComponentFrame.ComponentContext ctx = de.Value as ProcessComponentFrame.ComponentContext;
                ExecuteHsm (ctx.ComponentName, ctx.Hsm);
            }
        }
Exemplo n.º 2
0
        protected void ExecuteComponentFrame()
        {
            ProcessComponentFrame frame = new ProcessComponentFrame(_Model, _Context.AppForm());

            frame.Refresh += new EventHandler(_Context.RefreshView);
            ProcessComponentFrameExecutionView view = new ProcessComponentFrameExecutionView();

            view.Init(frame);
            StateDiagramView dv = _Context.ParentStateDiagramView;

            dv.SetExecutionWindow(view);
            view.Show();

            foreach (DictionaryEntry de in frame.ComponentContexts)
            {
                ProcessComponentFrame.ComponentContext ctx = de.Value as ProcessComponentFrame.ComponentContext;
                ExecuteHsm(ctx.ComponentName, ctx.Hsm);
            }
        }