public FormDesigner() { this.UniqueID = "application" + projectCOunter; propertyWindow = new PropertyWindow(); projectExplorer = new ProjectExplorer(this); dataPatternExplorer = new DataPatternExlorer(this); displayNameExplorer = new DisplayNameExplorer(this); webServiceExplorer = new EIBFormDesigner.Designer.WebServiceExplorer.WebServiceExplorer(this); eventManager = getEventManagerInstance(); DragDropHandler.Initialize(eventManager, this); this.Disposed += new EventHandler(FormDesigner_Disposed); InitializeComponent(); ToolBoxWindow.form = this; toolBoxWindow = new ToolBoxWindow(); startupImage = new StartupHIC(); formulaEditor = new FormulaEditorWindow(this); workEditor = new WorkflowEditorWindow(this); buildtool = new EIBFormDesigner.Build.BuildTool(this); buildwindow = new BuildWindow(this); setFromPatternsForACL(); //UserAdmin.UserAdminConstants.CompanyId = company; //UserAdmin.UserAdminConstants.CompanyName = company; history = new UndoRedoHistory <ControlPool>(controlpool); this.SetStyle(ControlStyles.DoubleBuffer, true); this.SetStyle(ControlStyles.UserPaint, true); this.SetStyle(ControlStyles.AllPaintingInWmPaint, true); }
public FormDesigner() { this.UniqueID = "application" + projectCOunter; propertyWindow = new PropertyWindow(); projectExplorer = new ProjectExplorer(this); dataPatternExplorer = new DataPatternExlorer(this); displayNameExplorer = new DisplayNameExplorer(this); webServiceExplorer = new EIBFormDesigner.Designer.WebServiceExplorer.WebServiceExplorer(this); eventManager = getEventManagerInstance(); DragDropHandler.Initialize(eventManager, this); this.Disposed += new EventHandler(FormDesigner_Disposed); InitializeComponent(); ToolBoxWindow.form = this; toolBoxWindow = new ToolBoxWindow(); startupImage = new StartupHIC(); formulaEditor = new FormulaEditorWindow(this); workEditor = new WorkflowEditorWindow(this); buildtool = new EIBFormDesigner.Build.BuildTool(this); buildwindow = new BuildWindow(this); setFromPatternsForACL(); //UserAdmin.UserAdminConstants.CompanyId = company; //UserAdmin.UserAdminConstants.CompanyName = company; history = new UndoRedoHistory<ControlPool>(controlpool); this.SetStyle(ControlStyles.DoubleBuffer, true); this.SetStyle(ControlStyles.UserPaint, true); this.SetStyle(ControlStyles.AllPaintingInWmPaint, true); }
public void displayWorkFlowNodeProperties(WorkflowEditorWindow form, INodeControl controlObject) { try { INodeControl currentNode = controlObject; if (form.SelectedNode != null) { if (form.SelectedNode.Name.Trim().Equals(FormDesignerConstants.OnNode)) { form.formulaText.Text = currentNode.NodeValue; } if (form.SelectedNode.Name.Trim().Equals(FormDesignerConstants.EnterNode)) { form.formulaText.Text = currentNode.OnNodeEnterValue; } else if (form.SelectedNode.Name.Trim().Equals(FormDesignerConstants.ExitNode)) { form.formulaText.Text = currentNode.OnNodeExitClick; } } } catch (Exception exp) { Console.Write(exp.StackTrace); } }