ITpsViewLaunchServices Interface |
Namespace: ABB.Robotics.Tps.Taf
public interface ITpsViewLaunchServices
The ITpsViewLaunchServices type exposes the following members.
Name | Description | |
---|---|---|
CloseView |
Closes a view which has been launched with the method LaunchView.
| |
LaunchView(FpStandardView, Object, Boolean, Object) |
Launches a View in the FlexPendant.
| |
LaunchView(String, String, Object, Boolean, Object) |
Launches a View in the FlexPendant.
|
using System; using ABB.Robotics; using ABB.Robotics.Tps.Taf; using ABB.Robotics.Tps.Windows.Forms; Compliance Tool Info [assembly: TpsView("TpsViewApp", "tpu-Operator32.gif", "tpu-Operator16.gif", "TpsViewApp.dll", "TpsViewApp.TpsViewApp", StartPanelLocation.Left, TpsViewType.Dynamic)] namespace TpsViewApp { public class TpsViewApp : GTPUMasterDialog, ITpsViewSetup { private ABB.Robotics.Tps.Taf.ITpsViewLaunchServices _iTpsSite; public void Uninstall() { // TODO: Add TpsViewApp.Uninstall implementation } public bool Install(object sender, object data) { // Save the sender object for later use of the ITpsViewLaunchServices _iTpsSite = sender as ABB.Robotics.Tps.Taf.ITpsViewLaunchServices; // With _iTpsSite handler you can access _iTpsSite.LaunchView and _iTpsSite.CloseView return true; } } }