public void OpenInvokeTab(string title, ConnectionInfo info, Verb verb) { var tab = new TabPage(title) { BorderStyle = BorderStyle.None, Padding = new Padding(0) }; var invokeVerbTab = new InvokeVerbTab { ConnectionInfo = info, Dock = DockStyle.Fill, ApplicationService = this, Verb = verb }; tab.Controls.Add(invokeVerbTab); fileTabs.Controls.Add(tab); fileTabs.SelectedTab = tab; }
public void OpenInvokeTab(ConnectionInfo info, Verb verb) { var invokeVerbTab = new InvokeVerbTab { ConnectionInfo = info, Dock = DockStyle.Fill, Verb = verb }; string title = $"Invoke {verb.EntityName}.{verb.Name}"; AddNewTab(invokeVerbTab, title); }