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;
 }
示例#2
0
        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);
        }
示例#3
0
        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;
        }