示例#1
0
        private void userPatternToolStripMenuItem_Click(object sender, EventArgs e)
        {
            WorkflowUserPattern workflowUserPattern = WorkflowUserPattern.CreateInstance(false, (EIBNode)this);

            workflowUserPattern.CheckListofUserpatterns();
            workflowUserPattern.button3.Visible = true;
            workflowUserPattern.button4.Visible = true;
            workflowUserPattern.ShowDialog(this);
        }
示例#2
0
        public void InitializeWorkflowUserPatternTab(EIBNode node)
        {
            WorkflowUserPattern workflowuserpattern = WorkflowUserPattern.CreateInstance(true, node);

            workflowuserpattern.CheckListofUserpatterns();
            workflowuserpattern.Show(dockPanel, DockState.Document);
            workflowuserpattern.TabText = "WorkflowUserPattern";
            workflowuserpattern.PanelPane.AllowDockDragAndDrop = false;
            workflowuserpattern.button3.Visible = false;
            workflowuserpattern.button4.Visible = false;
            listofTabs.Add(workflowuserpattern);
        }