/// <summary> /// The <see cref="StartCommand"/> s execution Action. The <see cref="PluginActivated"/> /// event is raised and the <see cref="IsActive"/> Property is set to true. /// </summary> /// <param name="parameter">unused</param> private void StartCommandExecute(object parameter) { this.IsActive = true; // create the new PlugInUI and add it to the forms host cDLSQIcontroller.ChangeGui(CDLSQIcontroller.GUIType.cDLSQIUserInterface); PluginActivated?.Invoke(this, EventArgs.Empty); }
/// <summary> /// The <see cref="StartCommand"/> s execution Action. The <see cref="PluginActivated"/> /// event is raised and the <see cref="IsActive"/> Property is set to true. /// </summary> /// <param name="parameter">unused</param> private void StartCommandExecute(object parameter) { this.IsActive = true; // create the new PlugInUI and add it to the forms host mWController.ChangeGui(MWController.MWGUIType.DeviceDescription); PluginActivated?.Invoke(this, EventArgs.Empty); }
/// <summary> /// The <see cref="StartCommand"/> s execution Action. The <see cref="PluginActivated"/> /// event is raised and the <see cref="IsActive"/> Property is set to true. /// </summary> /// <param name="parameter">unused</param> private void StartCommandExecute(object parameter) { this.IsActive = true; PlugInUI = new PlugInUI(); // create the new PlugInUI and add it to the forms host FormsHost.Child = PlugInUI; PluginActivated?.Invoke(this, EventArgs.Empty); }
/// <summary> /// The <see cref="StartCommand"/> s execution Action. The <see cref="PluginActivated"/> /// event is raised and the <see cref="IsActive"/> Property is set to true. /// </summary> /// <param name="parameter">unused</param> private void StartCommandExecute(object parameter) { this.IsActive = true; PluginActivated?.Invoke(this, EventArgs.Empty); }