private void ExecuteAction(NettworkingTools action, string host) { switch (action) { case NettworkingTools.Ping: this.tabControl1.SelectedTab = this.tabControl1.TabPages[0]; this.ping1.ForcePing(host); break; case NettworkingTools.Dns: this.tabControl1.SelectedTab = this.tabControl1.TabPages[6]; this.dnsLookup1.ForceDNS(host); break; case NettworkingTools.Trace: this.tabControl1.SelectedTab = this.tabControl1.TabPages[1]; this.traceRoute1.ForceTrace(host); break; case NettworkingTools.TsAdmin: this.tabControl1.SelectedTab = this.tabControl1.TabPages[10]; this.terminalServerManager1.ForceTSAdmin(host); break; } }
private void ExecuteAction(NettworkingTools action, string host) { switch (action) { case NettworkingTools.Ping: this.tabControl1.SelectedTab = this.tabControl1.TabPages[0]; this.ping1.ForcePing(host); break; case NettworkingTools.Dns: this.tabControl1.SelectedTab = this.tabControl1.TabPages[6]; this.dnsLookup1.ForceDNS(host); break; case NettworkingTools.Trace: this.tabControl1.SelectedTab = this.tabControl1.TabPages[1]; this.traceRoute1.ForceTrace(host); break; case NettworkingTools.TsAdmin: this.tabControl1.SelectedTab = this.tabControl1.TabPages[10]; this.terminalServerManager1.ForceTSAdmin(host); break; } }
private void OpenNetworkingTool(NettworkingTools toolName) { IFavorite fav = this.GetSelectedFavorite(); if (fav != null) { this.ConnectionsUiFactory.OpenNetworkingTools(toolName, fav.ServerName); } }
internal void OpenNetworkingTools(NettworkingTools action, string host) { Action <NetworkingToolsLayout> executeExtra = control => { control.Execute(action, host, this.persistence); }; this.OpenTabControl("NetworkingTools", "NetworkingTools", "Open Networking Tools Failure", executeExtra); }
public void Execute(NettworkingTools action, string host, IPersistence persistence) { this.tabbedTools1.Execute(action, host, persistence); }
internal void Execute(NettworkingTools action, string host, IPersistence persistence) { this.networkingToolsLayout1.Execute(action, host, persistence); }
public void Execute(NettworkingTools action, string host, IPersistence persistence) { this.tabbedTools1.Execute(action, host, persistence); }
public void Execute(NettworkingTools action, string host, IPersistence persistence) { this.terminalServerManager1.AssignPersistence(persistence); this.ExecuteAction(action, host); }
public void Execute(NettworkingTools action, string host, IPersistence persistence) { this.terminalServerManager1.AssignPersistence(persistence); this.ExecuteAction(action, host); }
private void OpenNetworkingTool(NettworkingTools toolName) { IFavorite fav = this.GetSelectedFavorite(); if (fav != null) this.ConnectionsUiFactory.OpenNetworkingTools(toolName, fav.ServerName); }