public mainForm(IControlCenter host) { InitializeComponent(); _Host = host; dataGridView1.CellMouseClick += dataGridView1_MouseDown; load_ScriptData(); }
public void Setup() { _commandResult = Substitute.For <ICommandResult>(); _roboman = Substitute.For <IRobot>(); _controlCenter = new RoboControlCenter(_roboman, _commandResult); }
public void Initialize(LabTech.Interfaces.IControlCenter host) { try { controlCenterHost = host; } catch (Exception ex) { controlCenterHost.LogMessage(string.Format("Plugin {0} was unable to initialize {1}.", Name, ex.Message)); } }
/// <summary> /// Called when the Control Center is closed. /// </summary> public void Decommision() { this.objHost = (IControlCenter)null; return; }
/// <summary> /// Called when the Control Center is opened. /// </summary> /// <param name="Host">The IControlCenter object.</param> public void Initialize(IControlCenter Host) { this.objHost = Host; }
public bool Remove(IControlCenter host) { return(true); }
public bool IsLicensed(IControlCenter host) { return(true); }
public bool IsCompatible(IControlCenter host) { return(true); }
public bool Install(IControlCenter host) { return(true); }
void LabTech.Interfaces.ITabs.Initialize(LabTech.Interfaces.IControlCenter Host) { objHost = Host; return; }
public void Decommision() { controlCenterHost = null; }
public void Initialize(IControlCenter host) { this.controlCenter = host; }
/// <summary> /// Initializes a new instance of the <see cref="ToolsForm"/> class, initializes control components, and sets IControlCenter object. /// </summary> /// <param name="objHost">The IControlCenter object.</param> public ToolsForm(IControlCenter objHost) { InitializeComponent(); this.objHost = objHost; }
/// <summary> /// Initializes a new instance of the <see cref="ComputerControl"/> class, initializes control components, and sets Computer ID and IControlCenter object. /// </summary> /// <param name="ID">The Computer ID integer.</param> /// <param name="objHost">The IControlCenter object.</param> public ComputerControl(int ID, IControlCenter objHost) { InitializeComponent(); this.ID = ID; this.objHost = objHost; }