public void Init(ProcessComponentFrame componentFrame) { _ComponentFrame = componentFrame; ArrayList list = new ArrayList (); foreach (DictionaryEntry de in _ComponentFrame.ComponentContexts) { list.Add (de.Key.ToString ()); } hsmListInput.DataSource = list; }
public void Init(ProcessComponentFrame componentFrame) { _ComponentFrame = componentFrame; ArrayList list = new ArrayList(); foreach (DictionaryEntry de in _ComponentFrame.ComponentContexts) { list.Add(de.Key.ToString()); } hsmListInput.DataSource = list; }
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); } }
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); } }