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); }
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); }