public void ShowOpsView() { if (opsWindow == null) { WBISciLabOpsView opsView = this.part.FindModuleImplementing <WBISciLabOpsView>(); if (opsView == null) { ScreenMessages.PostScreenMessage("WBISciLabOpsView required in config file to show the window.", 5.0f, ScreenMessageStyle.UPPER_CENTER); opsWindow.converter.SetGuiVisible(true); Events["ShowOpsView"].guiActive = false; return; } } opsWindow.SetVisible(true); }