コード例 #1
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;
 }
コード例 #2
0
ファイル: TabsFactory.cs プロジェクト: LadaVarga/OrionSDK-1
        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;
        }